Setting up Eclipse

Set up an Eclipse instance for GMF/EMF development and playing around with basic EMF stuff. These are the plug-ins needed:

Eclipse SDK
Delta Pack

EMF SDK (to get the EMF source code)
XSD SDK (for Schema modelling)
GEF SDK (to get the GEFsource code)
ECore Tools SDK (for ECore diagram generator)
GMF SDK

GMF Experimental SDK (for Graph and Map diagram editors) – download and unzip in “dropins” folder, do this last

Eclipse XML Editors and Tools (WST project for XSD graphical editor)

Used by the GMF examples:

EMF Validation Framework OCL Integration

I created an example RCP GMF Editor (“Shapes”) from here. Using the Dashboard I was also able to generate the RCP classes then all I had to do was add an application and a product entry to the plugin.xml and it launched! (Note – you don’t actually have to set up a product, launching as an application is fine).

Concerns:

  • How to do it without the Dashboard?
  • How to maintain and modify all this generated code without losing sync?
  • I wonder what will be our core ArchiMate model format? XSD, ECore, UML, Java?

XSD has advantages for persistence of the model and validation.

Code Punk | Muso | Archi Guy | Not a Thought Leader
Posts created 77

Begin typing your search term above and press enter to search. Press ESC to cancel.