|User defined attributes for the graphical elements on the canvas [message #901056]
||Thu, 09 August 2012 10:39
| Amneris T
Registered: June 2012
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,
Powered by FUDForum
. Page generated in 0.01579 seconds