Home » Eclipse Projects » Rich Client Platform (RCP) » Opening views in tabs
|
Re: Opening views in tabs [message #466065 is a reply to message #466063] |
Fri, 13 April 2007 07:07 |
Eclipse User |
|
|
|
Originally posted by: valere.fedronic.ext.streamezzo.com
hi,
>>I want them to be opened "on top of each other" in tabs
I don't understand what you mean by 'in tabs'.
Otherwise if you want them "on top of each other", try this layout:
layout.addPlaceholder("de.gebitms.geplan.ui.view.errorlog",IPageLayout.BOTTOM,
0.6f, layout.getEditorArea());
layout.addPlaceholder("de.gebitms.geplan.ui.views.ViewTabelleninhalt ",
IPageLayout.BOTTOM, 0.5f, "de.gebitms.geplan.ui.view.errorlog");
Is that what you want?
valere.
Christoph wrote:
> Hi, this is probably a simple question. I have two views that can be
> opened simultaneously. I want them to be opened "on top of each other"
> in tabs. But all i could find so far, is to define two placeholders in
> my perspective like this:
>
> // Einen Platzhalte für den Errorlog einblenden
> layout.addPlaceholder("de.gebitms.geplan.ui.view.errorlog",
> IPageLayout.BOTTOM, 0.6f, layout.getEditorArea());
> // Einen Platzhalte für die Anzeige der Tabelleninhalte einblenden
> layout.addPlaceholder("de.gebitms.geplan.ui.views.ViewTabelleninhalt ",
> IPageLayout.RIGHT, 0.6f, "de.gebitms.geplan.ui.view.errorlog");
>
> But this opens the views next to each other in different parts. How can
> i get these views to be opened in tabs?
> Thanks for any help.
> Christoph
>
|
|
|
Re: Opening views in tabs [message #466067 is a reply to message #466065] |
Fri, 13 April 2007 07:11 |
Eclipse User |
|
|
|
Originally posted by: valere.fedronic.ext.streamezzo.com
Sorry i think i understand what you want, try this
IFolderLayout myFolder=
layout.createFolder("folder",IPageLayout.BOTTOM,0.5f,layout.getEditorArea());
myFolder.addPlaceholder("de.gebitms.geplan.ui.view.errorlog ");
myFolder.addPlaceholder("de.gebitms.geplan.ui.views.ViewTabelleninhalt ");
valere fedronic wrote:
> hi,
>
> >>I want them to be opened "on top of each other" in tabs
>
> I don't understand what you mean by 'in tabs'.
>
> Otherwise if you want them "on top of each other", try this layout:
>
> layout.addPlaceholder("de.gebitms.geplan.ui.view.errorlog",IPageLayout.BOTTOM,
> 0.6f, layout.getEditorArea());
>
> layout.addPlaceholder("de.gebitms.geplan.ui.views.ViewTabelleninhalt ",
> IPageLayout.BOTTOM, 0.5f, "de.gebitms.geplan.ui.view.errorlog");
>
> Is that what you want?
>
> valere.
>
>
> Christoph wrote:
>> Hi, this is probably a simple question. I have two views that can be
>> opened simultaneously. I want them to be opened "on top of each other"
>> in tabs. But all i could find so far, is to define two placeholders in
>> my perspective like this:
>>
>> // Einen Platzhalte für den Errorlog einblenden
>> layout.addPlaceholder("de.gebitms.geplan.ui.view.errorlog",
>> IPageLayout.BOTTOM, 0.6f, layout.getEditorArea());
>> // Einen Platzhalte für die Anzeige der Tabelleninhalte einblenden
>> layout.addPlaceholder("de.gebitms.geplan.ui.views.ViewTabelleninhalt ",
>> IPageLayout.RIGHT, 0.6f, "de.gebitms.geplan.ui.view.errorlog");
>>
>> But this opens the views next to each other in different parts. How
>> can i get these views to be opened in tabs?
>> Thanks for any help.
>> Christoph
>>
|
|
| | |
Goto Forum:
Current Time: Thu Apr 25 05:12:54 GMT 2024
Powered by FUDForum. Page generated in 0.03144 seconds
|