Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Accessing EMF model for relations
Accessing EMF model for relations [message #128879] Wed, 23 May 2007 11:01
Eclipse UserFriend
Originally posted by: gritgop.pisem.net

I'm trying to access the underlying model of my GMF diagram. The way I'm
doing it right now works except for getting the model of the relations
between objects (which extend from ConnectionNodeEditPart).

How can I access those elements?

Code snippet
------------
for (EditPart ep : selectedParts) {
View view = (View)ep.getModel();
/* do stuff */
}

Thanks.
Previous Topic:RC1 problem: Diagram/Validate doesn't exist anymore
Next Topic:Custom ConnectionAnchor
Goto Forum:
  


Current Time: Tue Jul 15 03:48:47 EDT 2025

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

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

Back to the top