Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323501

Summary: Implementation of Emfatic based on Xtext
Product: [Modeling] EMFT Reporter: Andy Carpenter <Andy.Carpenter>
Component: EmfaticAssignee: Miguel Garcia <miguel.garcia>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: aac513, ed, sebastian.zarnekow, sven.efftinge
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Andy Carpenter CLA 2010-08-24 10:23:21 EDT
Build Identifier: 20100617-1415

Implementation of Emfatic that is based on Xtext. When an *.emf file is opened, it is delivered as an Ecore resource. A model importer is included that allows an EMF Generator Model to be directly based on an Ecore model expressed in Emfatic syntax. There is also an extension point that can be used to contribute validators for different annotation sources. A sample validator is included that validates OCL delegate annotations live in the editor.

Reproducible: Always
Comment 1 Andy Carpenter CLA 2010-08-24 10:27:56 EDT
As the source zip is too large to add as an attachment, it is available at http://www.cs.man.ac.uk/~andy/emfatic.zip
Comment 2 Ed Willink CLA 2010-08-26 03:12:23 EDT
Hi Andy.

I'm not sure if you're aware of http://wiki.eclipse.org/MDT/OCLinEcore, in which I initially tried to use emfatic syntax, but found it clunky for annotations and not sensibly extensible to OCL.

EMFatic and OCLinEcore (which is currently evolving to support class-like UML too) are very similar, so it would be helpful to try to share technology, particularly refactorings, model reloading and comment persistence in Ecore.