Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » What is the procedure to extend the editor gmfgen?
What is the procedure to extend the editor gmfgen? [message #214687] Wed, 07 January 2009 10:36 Go to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi,
I would like add new concepts in the gmfgen, in order to add information in
this model and not in custom code.
Can you advice the procedure to do that, if it exists?

Patrick
Re: What is the procedure to extend the editor gmfgen? [message #214768 is a reply to message #214687] Thu, 08 January 2009 12:38 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Patrick,

Check this presentation – you are trying to utilize “decorated model” approach.
So I suggest you to create “extension” .ecore model referencing gmfgen.ecore
elements. Then in .gmfgen model you’ll be able to create elements from “extension”
model referencing appropriate .gmfgen model elements. Then in a templates
you’ll be able to use xpt::EMFUtils::getReferencingObjects(ecore::EObject
target) query to find all “extension” model elements referencing this particular
..gmfgen model one.

-----------------
Alex Shatalin
Previous Topic:GMF diagram editor - class not found
Next Topic:Missing Xerces dependency when exporting plugins
Goto Forum:
  


Current Time: Fri Apr 26 08:19:39 GMT 2024

Powered by FUDForum. Page generated in 0.03049 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top