|Re: GEF in RCP [short question] [message #243220 is a reply to message #243210]
||Thu, 29 May 2008 08:25
Originally posted by: bassman.gmx.at|
>What exactly is the problem you are facing?
Well: I have an existing RCP-Project. It contains a lot of views. To expand this project, I builded an editor with gef. The editor is just a small part of the whole project, and I want to add it as a plugin.
In the plugin.xml of MyEditor I added the following extensions:
1. an org.eclipse.ui.editors-extension for MyEditor
2. an org.eclipse.ui.actionSets-extension for adding an icon and a call action (because the MyEditor is not visible from startup)
run() of the action:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().openEditor(input, MyEditor.ID);
I need to open the properties-view (because it's not open).
This all works, but it looks awful an dwhen i cloase MyEditor, the editor is still visible and the properties-view too.
My problems with this:
I want MyEditor as a view, because it more easy to handle (position, visible, etc.) (I think so, out of an unadvanced perspective)
I want the property sheet to be closed automatically with MyEditor
Powered by FUDForum
. Page generated in 0.01752 seconds