Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to manipulate the contents of a GMF diagram programmatically?
How to manipulate the contents of a GMF diagram programmatically? [message #1753747] Thu, 09 February 2017 10:08
Eclipse UserFriend
EObject eobj = diagramResource.getContents().get(0);
CSSDiagramImpl cssdiagram = (CSSDiagramImpl) eobj;
Node n1 = (Node) cssdiagram.getChildren().get(0);

Now I want to get all the connectors and edges of n1 and save it in res (Resource).


How can I do that? kindly help!
Previous Topic:Disable Palette Element
Next Topic: Solution for exceeding the 65535 bytes limit error
Goto Forum:
  


Current Time: Thu May 15 06:50:00 EDT 2025

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

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

Back to the top