|How to create a new Papyrus diagram [message #988546]
||Fri, 30 November 2012 07:42
| Mary P.
Registered: November 2012
I am trying to follow the tutorial "How to create a new Papyrus UML diagram"
I use Eclipse MT Juno
I managed to complete the tutorial using uml.ecore, but I cannot create my diagram based on my own ecore file!
I modified the uml.ecore file. I added there a new class Student which is a successor of a class Class. It does not have any new features.
Then I tried to create a new diagram as it is described in the Tutorial *How to create a new UML Papyrus diagram*. And I wanted this diagram to contain only elements of my class Student (instead of class Component as in the Tutorial).
When I try to Validate my .gmfgen file everything is ok.
Then I run it as a new runtime application.
Then I import the project with this .gmfgen file (I do not copy it, just import) and three other plugins required for generation of a new Papyrus Diagram to this runtime application.
Then I try to validate the same .gmfgen file but in my runtime application.
And here I receive a lot of errors!
And when I look at the imported .gmfgen file it does not look like the original one!
But physically it is the same file!
Could anybody, please, explain me, why it happens like this?
Is it possible to create a new Papyrus diagrams that contains not only UML elements but also the new ones defined in .ecore file using Eclipse Juno???
Thanks in advance!
Powered by FUDForum
. Page generated in 0.01655 seconds