Beginner-Unable to show Viewpoint in Viewpoints Selection [message #1489607] |
Thu, 27 November 2014 09:17  |
Eclipse User |
|
|
|
Hi all,
I am new to Sirius. I tried to create a new model designer from scratch but to no avail. Here is what I did.
-Downloaded Eclipse modeling for Luna.
-Installed "Sirius Specification Environment" from Luna update site.
-Created a blank workspace
-Created a new "Ecore Modeling Project" called "test.mymodel" and in "Design" Viewpoint draw a model called "mymodel". Mymodel has 3 classes "Model", "Entity" and "Field". Each one has a "name" attribute which is EString. Model has Entities and Entities have Fields. At this point I have mymodel.ecore and mymodel.genmodel.
-Created a new "Viewpoint Specification Project" called "test.designer" with "mymodel.odesign" file.
-Created a new "Viewpoint" under mymodel with id "My Viewpoint" and "mymodel" file extension.
-Created a new "Diagram Description" under "My Viewpoint" with id "My Diagram". At this point I couldn't see any of my ecore classes under "Domain Class". So I closed and re-opened eclipse.
-I could see "mymodel.Model" with auto-completion and assigned "mymodel.Model" to "Domain Class" field of "My Diagram" diagram description.
-Created a blank "Modeling Project" named "test.mymodel.testing" and I right clicked to project and selected "Viewpoint Selection" but Viewpoint Selection was empty.
Now at this point shouldn't I see the newly created "My Viewpoint"?
Thanks in advance for any help.
Edit: Typo
[Updated on: Thu, 27 November 2014 09:18] by Moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04346 seconds