Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Access Class which is outside the Model
Access Class which is outside the Model [message #1712439] Sat, 24 October 2015 19:58 Go to next message
Vladimir Ilievski is currently offline Vladimir IlievskiFriend
Messages: 8
Registered: October 2015
Junior Member
Hello everyone,

how can I access a class which is not in the same Model?
Re: Access Class which is outside the Model [message #1712546 is a reply to message #1712439] Mon, 26 October 2015 10:36 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 300
Registered: July 2009
Senior Member
Le 24/10/2015 21:58, Vladimir Ilievski a écrit :
> Hello everyone,

Hi,

>
> how can I access a class which is not in the same Model?

What do you mean by "access a class"?
All semantic models contained in a modeling project can be used in your
representations.
If the semantic model is not in your modeling project, you can add it by
using the contextual menu "Add model" on the "Project Dependencies" item
in the Model Explorer view.

Best regards,

--
Laurent Redor - Obeo

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


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Access Class which is outside the Model [message #1712602 is a reply to message #1712546] Mon, 26 October 2015 17:24 Go to previous message
Vladimir Ilievski is currently offline Vladimir IlievskiFriend
Messages: 8
Registered: October 2015
Junior Member
Hello,

I am a begineer using Sirus so I am sorry if I am using wrong expressions. Here is the point. In the atachment bip2.ecore.png there is my .ecore file, and I can't change this file, because it is already standardized. Then when I am creating new modeling project. After creating the project, I am adding new Packaging Model (see attachment selectModel.png) from the Example EMF Model Creation Wizards, and I choose as a Model Object, the class BipPackage (attachment BipPackage.png). This class is in the bip2.ujf.verimag.bip.packaging and it is containing a list of AtomType objects. The class AtomType is in the package bip2.ujf.verimag.bip.types and is not part of this model. Then, when I try to create new instance from AtomType using Node Creation tool and to save it in the list of AtomTypes in the BipPackage class, I am not able to do it. Is there a way to do this?
Previous Topic:Generating the Table Editor code
Next Topic:How to move endpoint of edges when Ends Centering configured as Both
Goto Forum:
  


Current Time: Thu Apr 25 15:28:21 GMT 2024

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

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

Back to the top