Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » newbie GMF question
newbie GMF question [message #154889] Thu, 11 October 2007 13:56 Go to next message
Eclipse UserFriend
Originally posted by: yatew.yahoo.com

With GMF, is it possible to have 2 display objects (in same or different
diagram files) pointing to the same EObject-derived object?
By display objects, I mean instances of a node class generated by GMF.

If it's possible, how to handle display object's instance-specific drawing
data?
Should it be made part of EMF's domain model, or there're some other ways?

What I want to do is to have 2 display objects getting the node name from
the same EObject-derived object, but each display object can have its own
display instance-specific data?

Hope someone understands my question.
I'm just starting to learn/eval EMF/GMF.

Thanks very much.
Re: newbie GMF question [message #155054 is a reply to message #154889] Fri, 12 October 2007 08:48 Go to previous message
Eclipse UserFriend
Hello YA,

You can play with "sortcuts" to the elements. In general. you can create
several "views" on the same domain model object. These "views" could hold
view-specific information (stored in a notation model).

-----------------
Alex Shatalin
Previous Topic:Properties don´t show up in properties view
Next Topic:Aggregation Container property
Goto Forum:
  


Current Time: Tue May 13 12:02:16 EDT 2025

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

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

Back to the top