Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Proxy and external dialogs(Do you have to and maybe how do you resolve Proxies in external dialogs?)
Proxy and external dialogs [message #718099] Tue, 23 August 2011 09:02
Patrick  is currently offline Patrick Friend
Messages: 10
Registered: December 2010
Junior Member
Hi there Smile

I have an issue while working on an external dialog which seems to draw from unresolved proxies. As i have already tried some things, which didnt solve the problem, i would like to know if this is really a problem with proxies or what else could cause it.

I have an attribut of an element which is of the type EClassifier. In the property sheet in the emf editor i can select a classifier from a drop down list and the value is stored.

Now i wrote an action for the graphical editor which opens a dialog for this element which displays all attributes. I can access the classifier, but it doesnt contain values (e.g. .getName() returns null). The debugger shows, that the element is a proxy containing an URI to the real classifier element.

I tried to load the resource but this didnt help either. So i decided to try to access the element in the editor itself using a custom edit part, but even then i got null values.

Probably this is an easy thing, but i cant think of any other solution. i am stuck...

Thanks for reading Smile
Previous Topic:Create Node on existing domain element
Next Topic:Centering a label horizontally and vertically
Goto Forum:

Current Time: Fri Mar 05 20:42:24 GMT 2021

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

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

Back to the top