|How to link to non modelelements [message #561974]
||Fri, 30 July 2010 10:20
| Jos Warmer
Registered: July 2009
I am trying to create a visual link between two elements that does not refer to a metaclass, but to a reference in the metamodel.|
Example: I have an ecore metamodel with metaclass "BusinessClass" and a reference from DomainClass to itself called "superclass".
I create feature providers to create and add a "BusinessClass" and link the shape to the model object representing the BusinessClass.
Now I would like to have featureproviders to create/add the "superclass" reference between two existing BusinessClasses. As there is no metaclass representing the "superclass" (it is just a reference from one businessclass to another in the metamodel) I wonder how I should setup the Graphiti link from the "superclass" shape (a polyline) to the 'superclass model object, because there is no such model object.
Any pointers on how to achieve this?
Powered by FUDForum
. Page generated in 0.05793 seconds