Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Displaying custom EMF properties in GMF diagram
Displaying custom EMF properties in GMF diagram [message #787584] Tue, 31 January 2012 13:56 Go to next message
Eclipse UserFriend
Hello,

I have an EMF model element called "image" with a property "image-path" and the corresponding diagram element in my GMF diagram.

Now, I want to display this image defined in the "image-path" property in the diagram element. However, the user should have the option to change the "image-path" property in the properties view and the diagram element should update/change the image. How, I can realize this? Do you have any hints?

Thank you in advance.

Lukas
Re: Displaying custom EMF properties in GMF diagram [message #787595 is a reply to message #787584] Tue, 31 January 2012 14:15 Go to previous messageGo to next message
Eclipse UserFriend
Okay, I found the first hint in wiki:

wiki.eclipse.org/GMF_Newsgroup_Q_and_A#How_can_I_synchronize_my_custom_figures_with_the_model.3F

Any other experiences?
Re: Displaying custom EMF properties in GMF diagram [message #788049 is a reply to message #787584] Wed, 01 February 2012 04:37 Go to previous message
Eclipse UserFriend
Hi,

please also see this reference: http://wiki.eclipse.org/Graphical_Modeling_Framework/Tips#Making_figures_sensitive_to_attributes_of_semantic_elements

regards,
Previous Topic:[GMF] draw2d RelativeBendpoint computation changes from GMF Runtime 1.3.0
Next Topic:Cloning / Duplicating nodes
Goto Forum:
  


Current Time: Sat Nov 08 00:44:51 EST 2025

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

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

Back to the top