|Can a label be associated with the canvas [message #516258]
||Tue, 23 February 2010 06:58
| Dennis Hendriks
Registered: January 2010
Location: Eindhoven, The Netherland...
in my ecore, the top-level class is Specification. This class has an attribute called 'annotations'. The 'Specification' class is mapped in GMF to the canvas itself. I would like to add a label to the canvas (upper-left corner of the canvas is fine), that shows the content of the annotations attribute. I couldn't figure out where to map in the gmfmap however, as it seems a 'Top Node Reference' is needed, but there I can not select the 'annotations' attribute as 'Containment feature'.
My question is: Is is possible to map an attribute of the top-level class to a label associated with the canvas itself? if so, how? If not, why not, and what are the alternatives?
Any help would be greatly appreciated.
Powered by FUDForum
. Page generated in 0.02473 seconds