Properties view (or other "standard" view) in pure eclipse e4 perspective [message #1002431] |
Fri, 18 January 2013 10:08  |
Eclipse User |
|
|
|
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
|
|
|
|
Re: Properties view (or other "standard" view) in pure eclipse e4 perspective [message #1002923 is a reply to message #1002553] |
Sat, 19 January 2013 16:38  |
Eclipse User |
|
|
|
Thanks for replying. I've another question, will these views be supported in the future, when compatability layer doesn't exist.
There will be a way to reference properties, markers, project explorer, etc.
Will they be contributed by extension points as well?
I'm asking because I'm starting up a new project, with graphiti plugins and I contribute to properties view, and I'm wondering if I should to define a custom properties view on my own.
Can anyone advise me bearing in mind that the project is suposed to be supported in future eclipse releases.
Thanks in advance
Rui
|
|
|
Powered by
FUDForum. Page generated in 0.04243 seconds