invisible placeholders [message #328129] |
Wed, 14 May 2008 17:16  |
Eclipse User |
|
|
|
I need the ability to open multiple instances of the same view within the
same perspective, but have them not be visible initially.
When the perspective first opens, ViewA should occupy the entire screen.
In response to user activity, multiple instances of ViewB should open, and
stack on the bottom half of the screen.
Here's what I've tried (in the perspective factory):
IFolderLayout folder = layout.createFolder("MyViews",
IPageLayout.BOTTOM,0.5f, layout.getEditorArea());
folder.addPlaceholder("ViewB:*");
This creates a grayed out portion (with maximize and minimize buttons) on
the bottom half of the screen, even though no instance of ViewB has been
shown. I do not want this to be there.
Could you please help?
I'm using Eclipse 3.2.
Thanks,
Chad
|
|
|
Re: invisible placeholders [message #328239 is a reply to message #328129] |
Mon, 19 May 2008 13:45   |
Eclipse User |
|
|
|
Can anyone help with this?
Thanks,
Chad
//////////////////////////////////////////////
I need the ability to open multiple instances of the same view within the
same perspective, but have them not be visible initially.
When the perspective first opens, ViewA should occupy the entire screen.
In response to user activity, multiple instances of ViewB should open, and
stack on the bottom half of the screen. Here's what I've tried (in the
perspective factory):
IFolderLayout folder = layout.createFolder("MyViews",
IPageLayout.BOTTOM,0.5f, layout.getEditorArea());
folder.addPlaceholder("ViewB:*");
This creates a grayed out portion (with maximize and minimize buttons) on
the bottom half of the screen, even though no instance of ViewB has been
shown. I do not want this to be there.
Could you please help?
I'm using Eclipse 3.2.
Thanks,
Chad
|
|
|
Re: invisible placeholders [message #328542 is a reply to message #328239] |
Tue, 27 May 2008 09:54   |
Eclipse User |
|
|
|
Is it possible to do what I'm trying to do here? I'd be glad for any
feedback, and I'll be glad to clarify the question if necessary.
Chad
////////////////////////////////////////////
Can anyone help with this?
Thanks,
Chad
//////////////////////////////////////////////
I need the ability to open multiple instances of the same view within the
same perspective, but have them not be visible initially.
When the perspective first opens, ViewA should occupy the entire screen.
In response to user activity, multiple instances of ViewB should open, and
stack on the bottom half of the screen. Here's what I've tried (in the
perspective factory):
IFolderLayout folder = layout.createFolder("MyViews",
IPageLayout.BOTTOM,0.5f, layout.getEditorArea());
folder.addPlaceholder("ViewB:*");
This creates a grayed out portion (with maximize and minimize buttons) on
the bottom half of the screen, even though no instance of ViewB has been
shown. I do not want this to be there.
Could you please help?
I'm using Eclipse 3.2.
Thanks,
Chad
|
|
|
|
|
Custom Perspective [message #329017 is a reply to message #328988] |
Tue, 10 June 2008 11:30  |
Eclipse User |
|
|
|
Hi,
Is is possible to add multiple editors in the custom perspective? e.g.
I've got a table and tree editor and i want to add both in the perspective
where one should appear in the normal editor area and the other should
appear in right so that i can see the properties of both at the same
time.I can achieve this by dragging one of the editor but i want to
include in the perspective so that it appears by default.
I could not find any method in IPageLayout for this and it is supporting
to add views in context of editor area. Also while trying to use the other
editor id it is throwing exception.Am i missing something here?
Any help is appreciated.
Thanks and regards,
Alok
|
|
|
Powered by
FUDForum. Page generated in 0.07392 seconds