Class diagram Editor with GMF [message #651508] |
Mon, 31 January 2011 08:37  |
Eclipse User |
|
|
|
Hi,
i want to build a class diagram editor on top of the UML2 Metamodel provided by Eclipse. I chose GMF for this task. However, i'm running in some problems now:
1. i want to display attributes in the following form: "attribute name : attribute type". My idea was to use only one label to display both attributes. But it seems the problem is, that only attributes of the corresponding domain element can be chosen from the dialog. In the UML2 Metamodel, the type of a Property is realized by a EReference to the corresponding Element. So my question is: Is there a way to display both attributes using GMF only? Or do i need manual "customization" of the generated code to achieve this?
2. In the UML2 Metamodel, an association has 2 properties that define the ends of the association (memberEnds, navigableEnds). In the concrete Syntax, an association is drawn between to Classes. How can i model this in GMF?
Thanks for an answer.
Regards,
Thomas
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03656 seconds