Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problems while integrating EMF and GMF
Problems while integrating EMF and GMF [message #1044910] Fri, 19 April 2013 13:48 Go to next message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
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
Re: Problems while integrating EMF and GMF [message #1049484 is a reply to message #1044910] Thu, 25 April 2013 23:12 Go to previous messageGo to next message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
Any ideas on the first question?? I can't figure out what and where the problem is..
Re: Problems while integrating EMF and GMF [message #1050039 is a reply to message #1044910] Fri, 26 April 2013 15:57 Go to previous message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
Ok, it turns out that an update to eclipse 4.2.2 causes the problems...
Previous Topic:Error installing GMF Experimental
Next Topic:TextChangeHelper doesn't receive focus out events
Goto Forum:
  


Current Time: Sun Sep 21 10:20:38 GMT 2014

Powered by FUDForum. Page generated in 0.01601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software