startup views [message #444772] |
Mon, 20 February 2006 12:16  |
Eclipse User |
|
|
|
Hi,
In an RCP app, I added:
- a new view in the plugin.xml (don't even know if it was really necessary)
- and at the createInitialLayout() of the class implementing
IPerspectiveFactory:
IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
(float)0.60, "left");
left.addView("library.editor.view1");
But I just cannot see the view in the RCP. Is there another further step to
accomplish this or I just messed things up?
Thanks in advance,
Cesar
|
|
|
|
Re: startup views [message #444775 is a reply to message #444773] |
Mon, 20 February 2006 13:34  |
Eclipse User |
|
|
|
Thanks Paul. It worked.
I was trying to mimic the piece of code below (that works):
IFolderLayout bottonRight = layout.createFolder("bottonRight",
IPageLayout.BOTTOM, (float)0.60, "right"); //see this last "right"
But I forgot to check that "right" (but not "left") was defined before as a
IFolderLayout.
Cesar
"Paul Webster" <pwebster@ca.ibm.com> a
|
|
|
Powered by
FUDForum. Page generated in 0.04217 seconds