Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » User defined attributes for the graphical elements on the canvas
User defined attributes for the graphical elements on the canvas [message #901056] Thu, 09 August 2012 10:39 Go to previous message
Amneris T is currently offline Amneris T
Messages: 15
Registered: June 2012
Junior Member
Hi graphiti community,

I am currently trying to implement a graphiti editor which supports something like user defined attributes for the graphical elements on the canvas.
I have searched for examples in the documentation and on the web, but havent found anything. In GMF it was very easy to achieve that the user could drag and drop attributes from the palette to an existing diagram element which would be displayed eg with a small graphical icon and a textfield at a fixed position in the parent element. Can you perhaps give me a hint on how something similar is possible in graphiti?
For a start it would also be helpful to know how to display attributes of the metamodel classes in the graphical elements.
Eg if my metamodel class has an attribute of type String, I would like to have a section in the rectangle shape which displays this text, and which allows the editing of this text.
Any help would be appreciated! Thanks,
Amneris
 
Read Message
Read Message
Previous Topic:DirectEdit checkbox
Next Topic:Resizing Support
Goto Forum:
  


Current Time: Sun May 26 00:40:32 EDT 2013

Powered by FUDForum. Page generated in 0.01550 seconds