Properties view (or other "standard" view) in pure eclipse e4 perspective [message #1002431] |
Fri, 18 January 2013 15:08 |
Rui Domingues Messages: 194 Registered: October 2010 |
Senior Member |
|
|
I'm experiencing some problems to reproduce the behaviour I previously achieved with eclipse 3.x RCP.
How do I say in Application.e4xmi that my perspective should have navigator view on the left and eclipse properties on the bottom of an editor area.
For starters, I'm adding PartSashContainer, and a Part inside, however it requires us to define ClassURI, and I dont know it.
Previously I had something like this:
String editorArea = layout.getEditorArea();
// Top left: Project Explorer view and Bookmarks view placeholder
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.15f,
editorArea);
topLeft.addView(IPageLayout.ID_RES_NAV);
// Bottom left: Outline view and Property Sheet view
IFolderLayout bottomLeft = layout.createFolder("bottomLeft", IPageLayout.BOTTOM, 0.80f,editorArea);
bottomLeft.addView(IPageLayout.ID_PROP_SHEET);
bottomLeft.addView("com.sinfic.agora.editors.markers.customMarker");
bottomLeft.addView(IPageLayout.ID_PROBLEM_VIEW);
layout.getViewLayout(IPageLayout.ID_PROP_SHEET).setMoveable(true);
layout.getViewLayout(IPageLayout.ID_PROBLEM_VIEW).setMoveable(true);
layout.getViewLayout(IPageLayout.ID_RES_NAV).setMoveable(true);
// Bottom right: Task List vie
layout.setFixed(false);
How should I do it in eclipse e4?
Thanks in advance.
Rui Domingues
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03387 seconds