|Multieditor with integrated GMF editors [message #1214323]
||Wed, 27 November 2013 11:49
| Raphael S.
Registered: September 2013
I'm trying to integrate 3 GMF generated graphical editors in one Multieditor. Multieditor. I wrote a wizard which creates the ecore and ecore_diagram files etc. Then the Multieditor opens and the editors are displayed. (I build it with CTabFolder). Now i had 2 problems with the outline view and the property view. I solved them by add listeners which update the views:
PropertySheet propertyView = (PropertySheet) getSite().getPage().findView("org.eclipse.ui.views.PropertySheet");
3 problems left:
1.) The gmf typically pop-up bars (this kind of speech bubbles) don't appear in my editor. I tried a lot of things but they didn't work. I don't now how to invoke them programmatically. I think the workbench only sees the outer Multieditor window and i don't know how to solve it.
2.) Also the context menu commands like delete etc are disabled.
3.) After creating the files i want to "connect" the 3 ecore instances. Normally i did it by right-click "Load resource...", but i don't know how to do it programmatically.
Can anybody help me or give me an impact?
Powered by FUDForum
. Page generated in 0.01779 seconds