Old GMF application confilicting with Papyrus [message #1702301] |
Tue, 21 July 2015 08:45  |
Eclipse User |
|
|
|
I have a GMF-based eclipse plug-in I have been developing in Kepler. I recently upgraded to Mars. I needed to edit the ecore model, but the old graphical editor from Kepler is not part of the Mars release. So I installed the papyrus-based editor.
Everything was fine until I went to launch my plug-in in the debugger and use it to place a node on the diagram (this is all GMF-generated code). I started getting errors relating to CSSDiagram (which apparently is part of Papyrus).
I then uninstalled Papyrus from my Mars environment, cleaned up both my development workspace and my target workspace, and re-launched the debugger with my plug-in. Same problem.
I then did a fresh install of the Mars Modeling release, adding GMF and OCL (which my plug-in needs). It now works fine.
Can anyone explain to me:
a) How the installation of Papyrus altered the execution of my plug-in by using CSS Diagram instead of Diagram as the root?
b) How to avoid this conflict?
c) Why the uninstall of Papyrus did not fix the problem?
|
|
|
Re: Old GMF application confilicting with Papyrus [message #1702556 is a reply to message #1702301] |
Thu, 23 July 2015 04:18   |
Eclipse User |
|
|
|
Hi Paul C. Brown,
I can't not response to your question a) and c) exactly, because I don't use Papyrus actually but If you have problems with the Ecore Diagram Editor, is posible that you don't have selected the correct editor for your ecore_diagram file in your Package Explorer.
Check this doing right click over the *.ecore_diagram file -> Open With -> and select always by default "Ecore GMF Editor" to avoid use editors from other frameworks or plug-ins, This editor is the official Ecore Graphical Editor from the GMF Framework.
Maybe the uninstall of Papyrus Plug-ins might return inconsistent your Eclipse Installation. This situation if possible, if you erase the plug-ins of Papyrus directly from the eclipse plug-ins folder. I don't know if u do this.
In Eclipse exist a helper to remove plug-ins, from Help-> Installation Details -> Installation History. In the Previous configurations, we can review all installations of our Eclipse and come back to a stable installation, clicking in Revert.
Regards,
[Updated on: Thu, 23 July 2015 04:22] by Moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02948 seconds