Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » New placeholders are rendering in wrong view parts
New placeholders are rendering in wrong view parts [message #696164] Wed, 13 July 2011 12:08 Go to next message
Swap  is currently offline Swap Friend
Messages: 30
Registered: March 2011
Member
I have 3 view parts in my rap application 1)topLeft 2)topCenter 3)topRight

IFolderLayout topLeft = layout.createFolder(FOLDER_ID_TOPLEFT,
IPageLayout.LEFT, 0.33f, IPageLayout.ID_EDITOR_AREA);
topLeft.addView(MCIFExplorerView.ID);
topLeft.addPlaceholder(BrowseComponentView.ID + ":" + BrowseComponentView.ID + "*");


IPlaceholderFolderLayout topCenter = layout.createPlaceholderFolder(FOLDER_ID_TOPCENTER,
IPageLayout.LEFT, 0.9f, IPageLayout.ID_EDITOR_AREA);
topCenter.addPlaceholder(EditorView.ID);



IPlaceholderFolderLayout topRight = layout.createPlaceholderFolder(FOLDER_ID_TOPRIGHT,
IPageLayout.RIGHT, 0.5f, IPageLayout.ID_EDITOR_AREA);
topRight.addPlaceholder(AppModelBrowserView.ID);



When I tried to add placeholder in topLeft & topCenter view
(e.g. BrowseComponentView, EditorView), It is shown in Right view.

What is the cause? What is solution to correct it?
Please reply
(no subject) [message #697378 is a reply to message #696164] Sat, 16 July 2011 13:02 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Swap,

Please try the RAP newsgroup.

Best regards,

Wim

> I have 3 view parts in my rap application 1)topLeft 2)topCenter 3)topRight
>
> IFolderLayout topLeft = layout.createFolder(FOLDER_ID_TOPLEFT,
> IPageLayout.LEFT, 0.33f, IPageLayout.ID_EDITOR_AREA);
> topLeft.addView(MCIFExplorerView.ID);
> topLeft.addPlaceholder(BrowseComponentView.ID + ":" +
BrowseComponentView.ID + "*");
>
>
> IPlaceholderFolderLayout topCenter =
layout.createPlaceholderFolder(FOLDER_ID_TOPCENTER,
> IPageLayout.LEFT, 0.9f, IPageLayout.ID_EDITOR_AREA);
> topCenter.addPlaceholder(EditorView.ID);
>
>
>
> IPlaceholderFolderLayout topRight =
layout.createPlaceholderFolder(FOLDER_ID_TOPRIGHT,
> IPageLayout.RIGHT, 0.5f, IPageLayout.ID_EDITOR_AREA);
> topRight.addPlaceholder(AppModelBrowserView.ID);
>
>
>
> When I tried to add placeholder in topLeft & topCenter view
> (e.g. BrowseComponentView, EditorView), It is shown in Right view.
>
> What is the cause? What is solution to correct it?
> Please reply
Previous Topic:Creating your own Launch configuration
Next Topic:One handler sees source provider, another doesn't
Goto Forum:
  


Current Time: Sat Apr 27 05:17:36 GMT 2024

Powered by FUDForum. Page generated in 0.02826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top