Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » get business object from editpart
get business object from editpart [message #987423] Mon, 26 November 2012 14:50 Go to next message
Eclipse UserFriend
Hi,

this may be a very simple question for you.

How can I get the business object of an EditPart ?!

I tried in XXXEditPart.java

... = (BusinessObject) this.getModel();


however it does not work...

Thanks
Re: get business object from editpart [message #987424 is a reply to message #987423] Mon, 26 November 2012 14:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

use resolveSemanticElement().

Regards,
Re: get business object from editpart [message #987426 is a reply to message #987424] Mon, 26 November 2012 14:57 Go to previous message
Eclipse UserFriend
Great, this is I was looking for

Thanks!
Previous Topic:set decorators without validation
Next Topic:Notify associated element
Goto Forum:
  


Current Time: Tue Feb 11 09:36:08 GMT 2025

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

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

Back to the top