Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connecting notes to EMF model
Connecting notes to EMF model [message #172293] Tue, 12 February 2008 06:51 Go to next message
Eclipse UserFriend
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 07:02 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 03:56:37 EDT 2025

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

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

Back to the top