|
Re: how get the "impl" class from an "editPart" [message #220721 is a reply to message #220715] |
Sun, 08 March 2009 13:10 |
Eclipse User |
|
|
|
Originally posted by: Erazerx.gmx.de
Hi,
i think the edit parts have a "public EObject resolveSemanticElement()"
Method. I guess this is what you are looking for
daniele schrieb:
> Hello,
>
> I'm Daniele. I would change property of a class specified in my model of
> Ecore from the graphic editor generated. The idea is add a new action in
> the menu clicking on a graphical item. That is to say, i want
> right-click on a item and choose an action that I added with an
> extention point. That action I added will change property of that object.
>
> But there is a problem. For example, let me modify the object "box"
> specified in my ecore.
> If I add an extention poin to add a new submenu in the right-click menu,
> in the class that specify the action I get the boxEditPart. But property
> and method are specified in the boxImpl. How can i reach the impl from
> the editpart? how they are related??
>
> hope to explained quite well..
>
> many thanks
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06249 seconds