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 05:34 Go to next message
akoeck is currently offline akoeck
Messages: 62
Registered: December 2010
Member
Ok, solved it on my own.

[Updated on: Wed, 16 March 2011 05: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 08:34 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 695
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 09:09 Go to previous message
Christophe Bouhier is currently offline Christophe Bouhier
Messages: 866
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: Sun Apr 20 19:47:11 EDT 2014

Powered by FUDForum. Page generated in 0.01637 seconds