Accessing model classes/objects from their Graphical Elements [message #197477] |
Wed, 16 July 2008 17:43 |
Eclipse User |
|
|
|
Originally posted by: wayneage.gmail.com
Hi,
I'm using GMF, and I would like to know how to access the underlying Model
class from the graphical element.
For example I have a UserEditPart object and would like to get UserImpl.
I've searched for solutions and found this
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg12739.html
but I am told I have an access restriction as follws:
The method resolveSemanticElement() from the type GraphicalEditPart is
not accessible due to restriction on required library C:\Program
Files\eclipse\plugins\org.eclipse.gmf.runtime.diagram.ui_1.1 .0.v20080610-1132.jar
I get a similar restriction when I try to use getModel()
Any help and/or feedback would be grrrreatly appriciated.
Thanks,
Wayne
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04235 seconds