Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » RCP - Howto - IPageLayout addView to a "Tab Group" ?
RCP - Howto - IPageLayout addView to a "Tab Group" ? [message #260306] Fri, 09 July 2004 18:42 Go to next message
Eclipse UserFriend
Originally posted by: itheg.hotmail.com

hi:
I added the Eclipse outline and the properties view in my perspective's
createInitialLayout() as follows

layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.BOTTOM,
0.8f, IPageLayout.ID_EDITOR_AREA);
layout.addView(IPageLayout.ID_PROP_SHEET, IPageLayout.RIGHT ,
0.5f, IPageLayout.ID_OUTLINE);

the problem is they both appear in their separate spaces (take 50% space
each) in the bottom of the editor...it tends to get cluttered when I add
more views (custom views)

is there anyway to specify a "tab group" that the views can dock on to ?
similar to how you can manually drag a view and dock it into a "tab
group".

TIA,
sri
Re: RCP - Howto - IPageLayout addView to a "Tab Group" ? [message #260414 is a reply to message #260306] Sun, 11 July 2004 05:55 Go to previous messageGo to next message
Eclipse UserFriend
sri varadarajan schrieb:

> is there anyway to specify a "tab group" that the views can dock on to ?
> similar to how you can manually drag a view and dock it into a "tab
> group".

IPageLayout.createFolder(...) will create such a group to which you can
add your views afterwards.

Ciao, Michael.
Re: RCP - Howto - IPageLayout addView to a "Tab Group" ? [message #260460 is a reply to message #260414] Sun, 11 July 2004 17:28 Go to previous message
Eclipse UserFriend
Originally posted by: itheg.hotmail.com

works great!...thanks michael.

-sri

"Michael Keppler" <michael.keppler@gmx.de> wrote in message
news:ccr2oa$he$1@eclipse.org...
> sri varadarajan schrieb:
>
> > is there anyway to specify a "tab group" that the views can dock on to ?
> > similar to how you can manually drag a view and dock it into a "tab
> > group".
>
> IPageLayout.createFolder(...) will create such a group to which you can
> add your views afterwards.
>
> Ciao, Michael.
Previous Topic:Where is runtime-workspace?
Next Topic:Breakpoints Not Highlighted in Editor
Goto Forum:
  


Current Time: Tue Jul 22 13:06:16 EDT 2025

Powered by FUDForum. Page generated in 0.05574 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top