Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Import sample model => family members aren't imported(Trying to import the sample model as described in the Sirius 4Min tutorial)
Import sample model => family members aren't imported [message #1402812] Thu, 17 July 2014 14:45 Go to next message
Eric B is currently offline Eric BFriend
Messages: 3
Registered: July 2014
Junior Member
Hi

I'm going thru the Sirius tutorial with Sirius 1.0.0 in Eclipse luna
https://wiki.eclipse.org/Sirius/Tutorials/4MinTutorial#Import_a_sample_model
When I import example.basicfamily from the file system, it doesn't get displayed as in the tutorial. The family members aren't imported.

I've read the thread https://www.eclipse.org/forums/index.php/t/616751/
but did not find an answer.

I've installed:
Ecore Diagram Editor (SDK) 2.0.0.201406112035
OCL Classic SDK: Ecore/UML Parsers,Evaluator,Edit 5.0.0.v20140609-1739

Do I have to install the "Sirius samples" feature?
What am I missing?

Thanks,
Eric
  • Attachment: Capture.PNG
    (Size: 40.93KB, Downloaded 192 times)
Re: Import sample model => family members aren't imported [message #1402821 is a reply to message #1402812] Thu, 17 July 2014 15:36 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 508
Registered: May 2011
Senior Member
Hello,

By installing only the Ecore Diagram Editor feature, you can only use Sirius in the specific context of Ecore. That is why you see the family model in plain text instead of a model.
If you want to go through the Sirius tutorial you will need to install the whole framework. Check the Sirius features (like Ecore Diagram Editor it is in the category Modeling) or you can user the Eclipse Marketplace (see https://www.eclipse.org/sirius/download.html).

Regards,
Steve


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

[Updated on: Thu, 17 July 2014 15:38]

Report message to a moderator

Re: Import sample model => family members aren't imported [message #1402831 is a reply to message #1402821] Thu, 17 July 2014 16:50 Go to previous messageGo to next message
Eric B is currently offline Eric BFriend
Messages: 3
Registered: July 2014
Junior Member
Steve, Thanks for your reply.

To be more precise, I had installed Sirius and Acceleo via the Eclipse MarketPlace, and added the following new software :
Ecore Diagram Editor
EMF - Eclipse Modeling Framework SDK
In the mean time, I've added other software (see list below) but did not yet overcome my obstacle.

I've downloaded the sample model example.basicfamily
http://www.eclipse.org/forums/index.php/fa/17018/

I've imported this sample model in the new Modeling Project (menu File > Import > File System).

I'm in the Sirius perspective.
Unfortunately, double-clicking on this sample model DOES not open a tree editor generated by EMF, as shown by
https://wiki.eclipse.org/images/9/99/Sirius_4mtuto_05-2.png

Should the import trigger an automatic generation of the tree?
Or should it be generated when doing a Refresh F5 ?
A right-click on example.basicfamily in the model explorer does not provide a specific menu to generate a tree editor.
What am I missing?

Thanks !
Eric


Acceleo 3.5.0.201406101309 org.eclipse.acceleo.feature.group Eclipse Modeling Project
Eclipse Standard/SDK 4.4.0.20140612-0500 epp.package.standard null
Ecore Diagram Editor (SDK) 2.0.0.201406112035 org.eclipse.emf.ecoretools.sdk.feature.group Eclipse Modeling Project
EMF - Eclipse Modeling Framework SDK 2.10.0.v20140519-0339 org.eclipse.emf.sdk.feature.group Eclipse Modeling Project
EMF Compare Core 3.0.0.201406111328 org.eclipse.emf.compare.feature.group Eclipse Modeling Project
OCL Classic SDK: Ecore/UML Parsers,Evaluator,Edit 5.0.0.v20140609-1739 org.eclipse.ocl.all.sdk.feature.group Eclipse Modeling Project
OCL Examples and Editors SDK 3.4.0.v20140609-1739 org.eclipse.ocl.examples.feature.group Eclipse Modeling Project
Sirius Core Runtime 1.0.0.201406040902 org.eclipse.sirius.runtime.feature.group Eclipse Modeling Project
Sirius Documentation 1.0.0.201406040902 org.eclipse.sirius.doc.feature.feature.group Eclipse Modeling Project
Sirius IDE Support for Acceleo 1.0.0.201406040902 org.eclipse.sirius.runtime.ide.ui.acceleo.feature.group Eclipse Modeling Project
Sirius Runtime IDE 1.0.0.201406040902 org.eclipse.sirius.runtime.ide.ui.feature.group Eclipse Modeling Project
Sirius Runtime Support for Acceleo 3 1.0.0.201406040902 org.eclipse.sirius.runtime.acceleo.feature.group Eclipse Modeling Project
Sirius Runtime Support for OCL 1.0.0.201406040902 org.eclipse.sirius.runtime.ocl.feature.group Eclipse Modeling Project
Sirius Specification Editor Support for Acceleo 1.0.0.201406040902 org.eclipse.sirius.specifier.ide.ui.acceleo.feature.group Eclipse Modeling Project
Sirius Specification Environment 1.0.0.201406040902 org.eclipse.sirius.specifier.ide.ui.feature.group Eclipse Modeling Project
XSD - XML Schema Definition SDK 2.10.0.v20140519-0339 org.eclipse.xsd.sdk.feature.group Eclipse Modeling Project
Re: Import sample model => family members aren't imported [message #1402887 is a reply to message #1402831] Fri, 18 July 2014 08:28 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 508
Registered: May 2011
Senior Member
Hello,

In that case, I think that something is missing around the step
https://wiki.eclipse.org/Sirius/Tutorials/4MinTutorial#Import_the_projects_defining_the_sample_Domain_Model
.. Are you sure that you imported the 3 projects in your workspace, then
launched a new Eclipse runtime before creating a modeling project with
the basicfamily sample?

Regards,
Steve


Le 17/07/2014 18:50, Eric B a écrit :
> Steve, Thanks for your reply.
> To be more precise, I had installed Sirius and Acceleo via the Eclipse
> MarketPlace, and added the following new software : Ecore Diagram Editor
> EMF - Eclipse Modeling Framework SDK
> In the mean time, I've added other software (see list below) but did not
> yet overcome my obstacle.
> I've downloaded the sample model example.basicfamily
> http://www.eclipse.org/forums/index.php/fa/17018/
>
> I've imported this sample model in the new Modeling Project (menu File >
> Import > File System).
>
> I'm in the Sirius perspective. Unfortunately, double-clicking on this
> sample model DOES not open a tree editor generated by EMF, as shown by
> https://wiki.eclipse.org/images/9/99/Sirius_4mtuto_05-2.png
>
> Should the import trigger an automatic generation of the tree? Or should
> it be generated when doing a Refresh F5 ?
> A right-click on example.basicfamily in the model explorer does not
> provide a specific menu to generate a tree editor. What am I missing?
> Thanks !
> Eric
>
> Acceleo 3.5.0.201406101309 org.eclipse.acceleo.feature.group
> Eclipse Modeling Project
> Eclipse Standard/SDK 4.4.0.20140612-0500 epp.package.standard
> null
> Ecore Diagram Editor (SDK) 2.0.0.201406112035
> org.eclipse.emf.ecoretools.sdk.feature.group Eclipse Modeling Project
> EMF - Eclipse Modeling Framework SDK 2.10.0.v20140519-0339
> org.eclipse.emf.sdk.feature.group Eclipse Modeling Project
> EMF Compare Core 3.0.0.201406111328
> org.eclipse.emf.compare.feature.group Eclipse Modeling Project
> OCL Classic SDK: Ecore/UML Parsers,Evaluator,Edit
> 5.0.0.v20140609-1739 org.eclipse.ocl.all.sdk.feature.group Eclipse
> Modeling Project
> OCL Examples and Editors SDK 3.4.0.v20140609-1739
> org.eclipse.ocl.examples.feature.group Eclipse Modeling Project
> Sirius Core Runtime 1.0.0.201406040902
> org.eclipse.sirius.runtime.feature.group Eclipse Modeling Project
> Sirius Documentation 1.0.0.201406040902
> org.eclipse.sirius.doc.feature.feature.group Eclipse Modeling Project
> Sirius IDE Support for Acceleo 1.0.0.201406040902
> org.eclipse.sirius.runtime.ide.ui.acceleo.feature.group Eclipse
> Modeling Project
> Sirius Runtime IDE 1.0.0.201406040902
> org.eclipse.sirius.runtime.ide.ui.feature.group Eclipse Modeling Project
> Sirius Runtime Support for Acceleo 3 1.0.0.201406040902
> org.eclipse.sirius.runtime.acceleo.feature.group Eclipse Modeling
> Project
> Sirius Runtime Support for OCL 1.0.0.201406040902
> org.eclipse.sirius.runtime.ocl.feature.group Eclipse Modeling Project
> Sirius Specification Editor Support for Acceleo
> 1.0.0.201406040902
> org.eclipse.sirius.specifier.ide.ui.acceleo.feature.group Eclipse
> Modeling Project
> Sirius Specification Environment 1.0.0.201406040902
> org.eclipse.sirius.specifier.ide.ui.feature.group Eclipse Modeling
> Project
> XSD - XML Schema Definition SDK 2.10.0.v20140519-0339
> org.eclipse.xsd.sdk.feature.group Eclipse Modeling Project


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Import sample model => family members aren't imported [message #1403209 is a reply to message #1402887] Tue, 22 July 2014 11:18 Go to previous messageGo to next message
Eric B is currently offline Eric BFriend
Messages: 3
Registered: July 2014
Junior Member
Hi Steve

you're right: that was the missing element!
Now I'm able to go thru the tutorial. Smile

Thanks!
Eric
Re: Import sample model => family members aren't imported [message #1403862 is a reply to message #1402887] Mon, 28 July 2014 10:23 Go to previous message
Ming Huang is currently offline Ming HuangFriend
Messages: 1
Registered: July 2014
Junior Member
Much tks for your reply, I met the same problem. Right, it must run a new eclipse runtime to solve.
Previous Topic:[Usage] Is it wanted that the modeling distro doesn't embed Sirius specifier stuff
Next Topic:Style for the root diagram element?
Goto Forum:
  


Current Time: Sat Apr 10 11:34:41 GMT 2021

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

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

Back to the top