Viewpoint Selection - no viewpoint available [message #1716522] |
Fri, 04 December 2015 09:11  |
Eclipse User |
|
|
|
Hi,
I like to learn how to use sirius, so i started with this Tutorial( https://wiki.eclipse.org/Sirius/Tutorials/StarterTutorial#Start_creating_a_diagram_editor_with_Sirius ) I followed the instructions but could not manage to get it to work.
As you can see, in th escreenshot, i can not select a Viewpoint. Even though the VSM ist placed in my workspace. and as far as i understood, thats the only reqieremnt for showing up in the viewpoint selection screen.
Any idea how i could fix it? if you need more information about my installtion, dont hesitate to ask, because im not sure what information you need to help me:)
And on another Note my basifamily.sample does not show up in the model explorer as it does in the tutoiral. I can just open it with the texteditor. How can i make it look like in the tutorial?
Thanks for your answers:)
[Updated on: Fri, 04 December 2015 09:14] by Moderator
|
|
|
Re: Viewpoint Selection - no viewpoint available [message #1716532 is a reply to message #1716522] |
Fri, 04 December 2015 10:50   |
Eclipse User |
|
|
|
Hi,
Can you check in your VSM (odesign file) if on the viewpoint element,
the field "Model File Extension" is properly to "basicfamily" like on
this picture https://wiki.eclipse.org/images/c/c2/Sirius_4mtuto_17.png .
In your sample, the example.basicfamily icon file does not have the "M"
decorator. I think that your modeling project is not referencing
example.basicfamily as a semantic model. Can you right click on the
Project Dependencies/Add model/Browse Workspace and select it?
How did you create the basicfamily sample? Did you use the creation wizard?
Regards,
Steve
Le 04/12/2015 15:11, Jannes Le a écrit :
> Hi,
>
> I like to learn how to use sirius, so i started with this Tutorial( https://wiki.eclipse.org/Sirius/Tutorials/StarterTutorial#Start_creating_a_diagram_editor_with_Sirius ) I followed the instructions but could not manage to get it to work.
> As you can see, in th escreenshot, i can not select a Viewpoint. Even though the VSM ist placed in my workspace. and as far as i understood, thats the only reqieremnt for showing up in the viewpoint selection screen.
> Any idea how i could fix it? if you need more information about my installtion, dont hesitate to ask, because im not sure what information you need to help me:)
> And on another Note my basifamily.sample does not show up in the model explorer as it does in the tutoiral. I can just open it with the texteditor. How can i make it look like in the tutorial?
>
> Thanks for your answers:)
>
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: Viewpoint Selection - no viewpoint available [message #1716654 is a reply to message #1716522] |
Mon, 07 December 2015 04:36   |
Eclipse User |
|
|
|
Le 04/12/2015 15:11, Jannes Le a écrit :
> Hi,
Hi.
> I like to learn how to use sirius, so i started with this Tutorial( https://wiki.eclipse.org/Sirius/Tutorials/StarterTutorial#Start_creating_a_diagram_editor_with_Sirius ) I followed the instructions but could not manage to get it to work.
> As you can see, in th escreenshot, i can not select a Viewpoint. Even though the VSM ist placed in my workspace. and as far as i understood, thats the only reqieremnt for showing up in the viewpoint selection screen.
> Any idea how i could fix it? if you need more information about my installtion, dont hesitate to ask, because im not sure what information you need to help me:)
> And on another Note my basifamily.sample does not show up in the model explorer as it does in the tutoiral. I can just open it with the texteditor. How can i make it look like in the tutorial?
The plug-ins which implement the metamodel must be *installed* in the
running Eclipse for Sirius to work. From the look of your screenshot,
you have imported the sources of these plug-ins into your workspace, but
that is not enough.
EMF (and thus Sirius) can not make sense of the contents of
"example.basicfamly" if the metamodel plug-ins are not
deployed/installed in the running Eclipse.
In the tutorial, once you have imported the metamodel plug-ins, the next
step is to launch a separate Eclipse runtime
(https://wiki.eclipse.org/Sirius/Tutorials/StarterTutorial#Launch_a_new_runtime_from_your_Eclipse)
from which the rest of the tutorial is done. In that "slave instance" of
Eclipse, the metamodel plug-ins are available and "example.basicfamly"
can be recognized as an EMF model and loaded as such.
Note that this step (launching a secondary Eclipse) is only needed when
testing/developing your Sirius-based modelers for a metamodel not
already installed. End-users of a Sirius-based modeler do not have to go
through this.
Regards,
Pierre-Charles
--
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09827 seconds