Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [Solved] How To get the model from the EditPart?
[Solved] How To get the model from the EditPart? [message #659940] Wed, 16 March 2011 09:34 Go to next message
akoeck is currently offline akoeckFriend
Messages: 62
Registered: December 2010
Member
Ok, solved it on my own.

[Updated on: Wed, 16 March 2011 09:40]

Report message to a moderator

Re: [Solved] How To get the model from the EditPart? [message #659969 is a reply to message #659940] Wed, 16 March 2011 12:34 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

it would be helpful for others if you post your solutions here. Did you use resolveSemanticItem()?

Ralph
Re: How To get the model from the EditPart? [message #659978 is a reply to message #659940] Wed, 16 March 2011 13:09 Go to previous message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
On 16-03-11 10:34, akoeck@gmx.de wrote:
> I want to get my model from the EditPart.
>
> When I use the getModel() method I get for a ConnectionEditPart a
> ConnectorImpl but I want to get my model wich is mapped to the figure.
>
> How can I do this?
>

EditPart.getModel()-> Notation Object.element()-> Semantic Object
Previous Topic:Change element's attributes from a popup action
Next Topic:[solved]org.eclipse.emf.validation.ocl missing
Goto Forum:
  


Current Time: Wed Apr 24 16:46:57 GMT 2024

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

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

Back to the top