Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connecting notes to EMF model
Connecting notes to EMF model [message #172293] Tue, 12 February 2008 11:51 Go to next message
Andy Evans is currently offline Andy EvansFriend
Messages: 61
Registered: July 2009
Member
Hello,

Is it possible to to create a GMF mapping between a GMF Note and an EMF
model element, so that when you create notes in a diagram, they are are
serialised
with the EMF model, as well as the diagram model?

We have a requirement to be able to access the Note data as part of the EMF
model.

Thanks,

Andy
Re: Connecting notes to EMF model [message #172300 is a reply to message #172293] Tue, 12 February 2008 12:02 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello ase,

I suggest you to create corresponding element in your meta-model (EClass
with name "Note" + reference to a common super-class of all your diagram
elements == NotableElement)
Then should be able to create corresponding mappings in your .gmfmap model.

-----------------
Alex Shatalin
Previous Topic:Duplicate node bug
Next Topic:GMF Error Message
Goto Forum:
  


Current Time: Sat Apr 27 00:21:59 GMT 2024

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

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

Back to the top