Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem with placeholders
Problem with placeholders [message #252641] Tue, 15 June 2004 05:24
Eclipse UserFriend
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
Previous Topic:book suggestions for Eclipse(especially for plugin development)
Next Topic:Wide Text control in JFace dialog
Goto Forum:
  


Current Time: Sun May 25 05:08:51 EDT 2025

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

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

Back to the top