Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Viewpoint Selection - no viewpoint available
Viewpoint Selection - no viewpoint available [message #1716522] Fri, 04 December 2015 14:11 Go to next message
Jannes Le is currently offline Jannes LeFriend
Messages: 4
Registered: November 2015
Junior Member
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:)
  • Attachment: siriusTuT.png
    (Size: 84.49KB, Downloaded 289 times)

[Updated on: Fri, 04 December 2015 14:14]

Report message to a moderator

Re: Viewpoint Selection - no viewpoint available [message #1716532 is a reply to message #1716522] Fri, 04 December 2015 15:50 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 432
Registered: May 2011
Senior Member
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


Steve Monnier - Obeo
Need training or 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 09:36 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 491
Registered: July 2009
Senior Member
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


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Viewpoint Selection - no viewpoint available [message #1716846 is a reply to message #1716654] Tue, 08 December 2015 14:21 Go to previous messageGo to next message
Jannes Le is currently offline Jannes LeFriend
Messages: 4
Registered: November 2015
Junior Member
Thanks for your help, steve and pierre.
I checked the advices you gave me and and started the tutorial again from the beginning. And i have a new problem. Because when i try to launch a new runtime from eclipse the option for that is missing. so if i go to Run / Run Configurations and i want to select eclipse Application, i cant. It just looks like the screenshot i uploaded.
Do I have to install a package or why does it not appear?

I'm sorry to bother you with such "stupid" questions. But i dont know where else to ask.

  • Attachment: Unbenannt.png
    (Size: 118.34KB, Downloaded 142 times)

[Updated on: Tue, 08 December 2015 14:24]

Report message to a moderator

Re: Viewpoint Selection - no viewpoint available [message #1717088 is a reply to message #1716846] Wed, 09 December 2015 21:07 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 491
Registered: July 2009
Senior Member
Le 08/12/2015 15:21, Jannes Le a écrit :
> Thanks for your help, steve and pierre.
> I checked the advices you gave me and and started the tutorial again from the beginning. And i have a new problem. Because when i try to launch a new runtime from eclipse the option for that is missing. so if i go to Run / Run Configurations it just looks like the screenshot i uploaded.
>
> I'm sorry to bother you with such "stupid" questions. But i dont know where else to ask.

From the screenshot, I'd say you are using an Eclipse installation
which does not contain PDE (the Eclipse Plug-in Development
Environment). Both metamodel projects and Sirius modeler definitions are
not just Java projects, but Eclipse plug-in project. You'll need the
corresponding tooling to work with them.

You can find it in the "General Purpose Tools" category of the main
Eclipse update-site (http://download.eclipse.org/releases/mars if you
are using Eclipse Mars). Or you can install the "Eclipse Modeling Tools"
package, which already contains it and also has some common modeling tools.

Once you have PDE installed, you'll see new types of "run
configurations" available, including "Eclipse Application" which will
launch a "slave" Eclipse from your development environment.

--
Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Viewpoint Selection - no viewpoint available [message #1717758 is a reply to message #1717088] Wed, 16 December 2015 14:30 Go to previous messageGo to next message
Jannes Le is currently offline Jannes LeFriend
Messages: 4
Registered: November 2015
Junior Member
Thanks for your help.
Some packages were missing, that was my mistake. Embarrassed Rolling Eyes
Re: Viewpoint Selection - no viewpoint available [message #1808782 is a reply to message #1717758] Mon, 01 July 2019 14:09 Go to previous message
gilbert groten is currently offline gilbert grotenFriend
Messages: 3
Registered: June 2019
Junior Member
Would you please specify which?

same issue
Previous Topic:Creating visual models other than component-connector style
Next Topic:EMF generated editor with Sirius Properties
Goto Forum:
  


Current Time: Tue Oct 22 06:00:34 GMT 2019

Powered by FUDForum. Page generated in 0.02359 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top