Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to get the ShapeNodeEditPart linked to a model element?
How to get the ShapeNodeEditPart linked to a model element? [message #1228876] Wed, 08 January 2014 09:00 Go to next message
Epi Liptik is currently offline Epi LiptikFriend
Messages: 8
Registered: November 2013
Junior Member
Hi,

I can get my model element xxxImpl and i'm trying to find a way to get the corresponding ShapeNodeEditPart to update it manually.

How can i do that? any ideas?
Re: How to get the ShapeNodeEditPart linked to a model element? [message #1228883 is a reply to message #1228876] Wed, 08 January 2014 09:19 Go to previous message
Epi Liptik is currently offline Epi LiptikFriend
Messages: 8
Registered: November 2013
Junior Member
This works :
DiagramEditor d = (DiagramEditor) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
List<EditPart> children = d.getDiagramEditPart().getChildren();
Previous Topic:How can I use created editor by GMF in my java application
Next Topic:Fixed anchor points in old implemented diagrams
Goto Forum:
  


Current Time: Fri Apr 26 22:47:11 GMT 2024

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

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

Back to the top