Skip to main content


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:Disable Palette Element
Next Topic: Solution for exceeding the 65535 bytes limit error
Goto Forum:
  


Current Time: Sat Apr 27 18:05:34 GMT 2024

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

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

Back to the top