RCP - Howto - IPageLayout addView to a "Tab Group" ? [message #260306] |
Fri, 09 July 2004 18:42  |
Eclipse User |
|
|
|
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 #260460 is a reply to message #260414] |
Sun, 11 July 2004 17:28  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.05574 seconds