| 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
|
|
|