Neon Modeling Tools | No ecore_diagram [message #1743290] |
Wed, 14 September 2016 01:54  |
Eclipse User |
|
|
|
Hello,
I just installed the Neon Modeling Tools. Then I opened with Neon my workspace, that I originally created in Mars. A dialog opened about the compatibility of the Mars and Neon. I clicked ok. (If the information is necessary: I did not delete Mars Modeling Tools)
The problem in Neon is, that my ".ecore_diagram" file is not presented as a diagram, but as a XML file.
When I click on my folder model > New > Other > (and look for Ecore Diagram) the option of choosing Ecore Diagram does not show up.
When I enter Help>Eclipse Marketplace, it marks EcoreTools: Ecore Diagram Editor 3.1 as installed. At Help>Installation Detailles, it also says Ecore Diagram Editor is installed.
What am I missing, any ideas? I would really appreciate it!
Thank you,
Xing
|
|
|
|
|
|
|
|
|
Re: Neon Modeling Tools | No ecore_diagram [message #1819615 is a reply to message #1743624] |
Sat, 18 January 2020 08:40  |
Eclipse User |
|
|
|
Hi
The new Sirius-based Ecore Tools is certainly current and much prettier, but its determination to make me fight with Perspectives and View point selections before bundling everything up in *.aird file before I can do anything has driven me to distraction.
In contrast the old Ecore Tools had a simple *.ecore completed by a *.ecorediagram per sheet, each created by the Initilalize Ecore Diagram menu entry. A delight.
My use case, is that
- as a developer I find Sirius imposes too much baggage and so I use the Sample Ecore Model Editor for almost all my Ecore development. Occasionally OCLinEcore.
- as a contributor to various conferences I write papers in which I want a nice diagram of my latest example Ecore metamodel
So I develop a small (often very small) example *.ecore and then want to draw a picture. The old Ecore Tools did that very adequately.
For my latest paper, I decided that the time has come to try and resurrect the old Ecore Tools, which is what you need anyway to view any org.eclipse.emf.ecore/model/*.ecorediagram.
Installing Ecore Tools 1.2 on Eclipse 4.3.1 did not allow *.ecorediagrams to be viewed.
Installing 1.1 on Eclipse 4.3.1 did allow *.ecorediagrams to be viewed, but did not provide the Initialize Ecore Diagram menu entry.
It appears that "Initialize Ecore Diagram" did not survive the Eclipse 3.x to 4.x transition.
Installing 0.10 on Eclipse 3.6.2 (Helios) (2010) gave 'full' functionality.
NB The org.eclipse.emf.ecore/model/*.ecorediagram were created in 2008, which is therefore perhaps the heyday of the old Ecore Tools. 0.10 is one/two releases later, but seems to predate the evolution that led to the inadequacy of 1.1/1.2
In conclusion. If you want a simple old-style Ecore Tools
Install Java 5
Install Eclipse Helios
Install New Software from the Helios update site to provide at least Ecore Tools. (You almost certainly want all of EMF rather than just the default cherry pick).
(Helios seems to be clever enough to find Java 5 all by itself - no need for any manual -vm path help.)
To co-exist with normal work in a modern Eclipse, import your diagram-containing project into your Helios Ecore Tools workspace (without copying). You should be good to go.
On no account try to install from the Helios update site into a modern Eclipse. I tried with 4.10 (2018-12) resulting in a hang when the 'improved' Eclipse restarts.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.24440 seconds