|Re: Neon Modeling Tools | No ecore_diagram [message #1819615 is a reply to message #1743624]
||Sat, 18 January 2020 13:40
| Ed Willink
Registered: July 2009
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.
Powered by FUDForum
. Page generated in 0.04029 seconds