Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:08
Kanwal Gill is currently offline Kanwal GillFriend
Messages: 16
Registered: February 2017
Junior Member
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:selecting one Node (along with inside edges) from CSSDiagramImpl file and saving it in a new file
Next Topic: Solution for exceeding the 65535 bytes limit error
Goto Forum:
  


Current Time: Tue Dec 12 16:15:59 GMT 2017

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

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