Problem with placeholders [message #252641] |
Tue, 15 June 2004 05:24 |
Eclipse User |
|
|
|
Originally posted by: nicolas.buttin.eurobios.com
I've got problems wtih placeholders.
In my perspective, there are two single views and two types of multiple
views.
I set the single views in the top left and in the bottom left corners of the
workbench.
I want to set the first type of multiple view in the top right corner and
the second in the bottom right corner.
But it doesn't work. Each instance of a multiple view goes in the bottom
right corner...
Here's the code :
IFolderLayout top = layout.createFolder("top", IPageLayout.TOP, 0.5f,
IPageLayout.ID_EDITOR_AREA);
IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM,
0.5f, IPageLayout.ID_EDITOR_AREA);
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT,
0.2f, "top");
IFolderLayout bottomLeft = layout.createFolder("bottomLeft",
IPageLayout.LEFT, 0.2f, "bottom");
//placeholders for the 2 types of multiple views
top.addPlaceholder(ResultsChartView.ID_VIEW);
bottom.addPlaceholder(ResultsObjectsTableView.ID_VIEW);
//single views
topLeft.addView(ResultsTreeView.ID_VIEW);
bottomLeft.addView(ResultsObjectsTreeView.ID_VIEW);
What's wrong ? Is there a bug with placeholders ?
Thanks
--
Nicolas
|
|
|
Powered by
FUDForum. Page generated in 0.03251 seconds