Problems while integrating EMF and GMF [message #1044910] |
Fri, 19 April 2013 09:48  |
Eclipse User |
|
|
|
Hi,
I followed this article (http://www.eclipse.org/articles/article.php?file=Article-Integrating-EMF-GMF-Editors/index.html) to integrate the EMF and GMF Editor. After some problems at first, it's working now, but there are still some problems I can't resolve.
1. There seems to be a problem with conflicting ActionHandlers. As mentioned in the article, I tried to fix this, but it didn't worked. I get the following errors:
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.cut: {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalCutAction@7e5c83)} vs {ActionHandler(org.eclipse.emf.edit.ui.action.CutAction@1ebcdf3)}
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.copy: {ActionHandler(org.eclipse.emf.edit.ui.action.CopyAction@1eb0e13)} vs {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalCopyAction@e9222d)}
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.paste: {ActionHandler(org.eclipse.emf.edit.ui.action.PasteAction@1f91df3)} vs {ActionHandler(org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalPasteAction@1d6dbe)}
...
I'm not sure how to point to the my editor in the diagram plugin. Which path have I got to enter for my ViewId id ?
2. While modeling with the GMF Editor, all changes are directly visible in the EMF Editor. But when I add an element inside the EMF Editor (Selection), it's necessary to save the file before I can see the elements inside the GMF Editor. Any ideas about this?
Cheers,
Phil
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03209 seconds