| Creating a new diagram in Papyrus [message #902764] |
Mon, 20 August 2012 06:44  |
Alexandra Bardiau Messages: 21 Registered: March 2012 |
Junior Member |
|
|
Hello,
I'm trying to create a new nested diagram in Papyrus (and generating a simple model editor for it), by following the tutorial I found here:
dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.papyrus/trunk/examples/others/org.eclipse.papyrus.example.diagram.simplediagram/docs/PapyrusDevelopperTutorial_OnDiagramCreating.odt
(Even if it's outdated, it seems to work until a certain point, and it is the only such tutorial I could find on the subject... the wiki page for Papyrus is incomplete on exactly this topic).
The error I get is when trying to generate the code for the new Papyrus diagram in an Eclipse Runtime Application (after completing all the previous steps and having a seemingly valid .gmfgen file) - right click on the .gmfgen file, and choose "Generate Papyrus Diagram":
Problems while generating code
Exception (No Definition xpt::preferences::NodePreferencePage::NodePreferencePage for GenTopLevelNode could be found!) while generating code
Does anyone have an idea on how to solve this problem, or maybe a link to some other tutorial on diagram creation, if maybe the diagram generation steps have changed?
Any help would be appreciated.
Regards,
Alexandra Bardiau
|
|
|
|
|
| Re: Creating a new diagram in Papyrus [message #986674 is a reply to message #902774] |
Wed, 21 November 2012 05:48   |
Alexandra Bardiau Messages: 21 Registered: March 2012 |
Junior Member |
|
|
Hi Camille,
Regarding the diagram creation, which version of Papyrus should I use with Eclipse Indigo in order for this to work? We have tried it with Papyrus 0.8.2, but the "Generate Papyrus Diagram" button doesn't appear in the menu.
Does Papyrus version 0.9.1 with Juno support the diagram generation process?
Regards,
Alexandra Bardiau
[Updated on: Wed, 21 November 2012 06:08] Report message to a moderator
|
|
|
|
| Re: Creating a new diagram in Papyrus [message #986686 is a reply to message #986677] |
Wed, 21 November 2012 06:15  |
Alexandra Bardiau Messages: 21 Registered: March 2012 |
Junior Member |
|
|
Thank you Camille for your prompt answer, I really appreciate it, this will help a lot.
And thanks to the Papyrus team for having fixed the issues in Juno, it's much better to be able to use the latest versions for such a task.
Regards,
Alexandra Bardiau
|
|
|
Powered by
FUDForum. Page generated in 0.04774 seconds