|Re: 'Child Meta Feature' must reference 'Meta Class' or its sub-classes [message #988801 is a reply to message #987857]
||Mon, 03 December 2012 09:42
| Patrick Tessier
Registered: July 2009
The generation of diagram from scratch needs some clarification:
- because the gmf tooling is enough powerfull, we have modified the code generation.
We work directly from the gmfgen, never form gmffiag or gmftool.
we have added an extension of the gmfgen metamodel. So to open a gmfgen of papyrus, your need to have install org.eclipse.papyrus.gmfgenextension.
In the case of the class diagram, the validation of the gmfgen is not success, it is normal due to the limitation of the gmfgen.
After generating code, some specification has to be added manyally. this the reason that they are two src, generated and manual.
That's why designing papyrus diagram is not simple.
If i understanD you you want to extends UML. Papyrus is based on UML. So a lot oflibraries that we have developped is based of UML. So If you want to be not UML you can obtain some problems at runtime.
The best manner to extends UML is to use the mecanism of profil, see http://www.eclipse.org/modeling/mdt/papyrus/usersTutorials/resources/PapyrusUserGuideSeries_AboutUMLProfile_v1.0.0_d20120606.pdf
It is possible to extends existed diagram to give new shape, but for the moment it is quite complex. We would like to do that in the future with simple GUI.
Even if you want to generate a new diagram by extend UML ecore. You need to generated plugins to edit you ecore file, as EMF project.
Powered by FUDForum
. Page generated in 0.01796 seconds