|Open DialectEditor programmatically outside of main editor area [message #1771657]
||Tue, 29 August 2017 08:04
| M V
Registered: July 2017
what I want to do:
In my RCP I have project and library based on sirius tree. The User can drag an drop item from the library tree to the project tree. This works fine and was no great problem to build in. So now I want to make the UI more usable. It should looks like this layout:
After application startup i open my library presentation with the DialectUIManager.
final DialectEditor editor = (DialectEditor) DialectUIManager.INSTANCE.openEditor(siriusSession, description, monitor);
Okay, this work also. But it open it in the editor in part market as org.eclipse.ui.editorss. This it not what I want
I want to show it in the "Library Part". I can move it manually after open the editor, but how can i tell DialectUIManager the to open it direct there?
I do a lot of google research but i don't found a solution. The only thing I found was a hint Pierre-Charles David
If you need is simply to show the editor outside of the main editor
area, this is possible since Eclipse 4.2 (e4 does not really treat the
main editor area as something special), so you can have your editor
"around" another editor in the middle of other views.
But at this step I stuck.
Thanks for help, code snippets or links to right part of manual.
[Updated on: Tue, 29 August 2017 08:06]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02096 seconds