View placement problem [message #443890] |
Mon, 06 February 2006 18:03 |
Dhiresh Patel Messages: 86 Registered: July 2009 |
Member |
|
|
I am trying to place a view called Category View on the right side of the
screen just like outline view in eclipse ide. I have a standalone view
called MOdel View on left side. VehicleDetails on top right hand side.
Transmission and Engine view on bottom right side. When I open Category
view it opens on bottom right together with transmission and Engine view.
Like I said before I would like to open category on top right just like
outline view in eclipse.
Here is the code I am using:
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(false);
layout.addStandaloneView(ModelsView.ID, false, IPageLayout.LEFT,
30f, layout.getEditorArea());
IPlaceholderFolderLayout flTop =
layout.createPlaceholderFolder("FolderID1",IPageLayout.TOP,
55f,layout.getEditorArea());
flTop.addPlaceholder(VehicleDetailsView.ID);
IPlaceholderFolderLayout flRight =
layout.createPlaceholderFolder("FolderID2",IPageLayout.RIGHT,
33f,layout.getEditorArea());
flRight.addPlaceholder(CategoryView.ID);
IPlaceholderFolderLayout flBottom =
layout.createPlaceholderFolder("FolderID3",IPageLayout.BOTTOM,
53f,layout.getEditorArea());
flBottom.addPlaceholder(EngineView.ID);
flBottom.addPlaceholder(TransmissionView.ID);
}
I would appreciate any help,
Dhiresh
|
|
|
|
Powered by
FUDForum. Page generated in 0.02519 seconds