|Adding a custom view to the RCP perspective [message #516821]
||Thu, 25 February 2010 09:52
Registered: September 2009
I want to add a view in my RCP application, including it at the main perspective by default.
I can include anything view in the perspective using the constants of 'IPageLayout'.
For example, for adding the problems view by default, next statements are included in my perspective class:
IFolderLayout bottonRight2 = layout.createFolder("bottonRight", IPageLayout.BOTTOM, (float)0.60, "right");
at the method "public void createInitialLayout(IPageLayout layout) ".
Now, the case is that I have a SampleView (which extends ViewPart) that I want to include in the same way that problems view was integrated in the perspective. I have checked that using addView, it does not work properly because the view does not appear.
How can I get that aim?
Have you got ant suggestion about this issue?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.02362 seconds