Bug 323501 - Implementation of Emfatic based on Xtext
Summary: Implementation of Emfatic based on Xtext
Status: NEW
Alias: None
Product: EMFT
Classification: Modeling
Component: Emfatic (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Miguel Garcia CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 10:23 EDT by Andy Carpenter CLA
Modified: 2011-06-12 10:50 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.