Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Node Outside the base package
Node Outside the base package [message #1712392] Fri, 23 October 2015 14:53 Go to next message
Vladimir Ilievski is currently offline Vladimir IlievskiFriend
Messages: 8
Registered: October 2015
Junior Member
Hello everyone,

I am a beginner using Sirius. I've created a Modeling project, where the base package is called bip2.ujf.verimag.bip.packaging and I want to make a Node in a Diagram Representation which Domain Class is outside of this base package, but it is still in the same *.ecore file, namely the package of the node is bip2.ujv.verimag.bip.types and the class is AtomClass.

Is there a way to do this?
Re: Node Outside the base package [message #1712542 is a reply to message #1712392] Mon, 26 October 2015 10:22 Go to previous message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 270
Registered: July 2009
Senior Member
Le 23/10/2015 21:24, Vladimir Ilievski a écrit :
> Hello everyone,
>
Hi Vladimir,

> I am a beginner using Sirius. I've created a Modeling project, where the
> base package is called bip2.ujf.verimag.bip.packaging and I want to make
> a Node in a Diagram Representation which Domain Class is outside of this
> base package, but it is still in the same *.ecore file, namely the
> package of the node is bip2.ujv.verimag.bip.types and the class is
> AtomClass.
> Is there a way to do this?

I don't know if this completely answers to your question but in
EcoreTools [1], there is the capability to display classes of an other
package. In the joined screenshot, the class C1ofp1 is displayed in the
diagram of package p2 (but C1ofp1 is a class of package 1). For that, it
uses a "not synchronized mapping" [2] and a "selection wizard" tool [3].

Best regards,

[1] https://www.eclipse.org/ecoretools/
[2]
http://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/tree/org.eclipse.emf.ecoretools.design/description/ecore.odesign#n149
[3]
http://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/tree/org.eclipse.emf.ecoretools.design/description/ecore.odesign#n262

--
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
Previous Topic:How Sirius finds the corresponding metamodel?
Next Topic:Translating element names
Goto Forum:
  


Current Time: Mon Mar 08 17:30:16 GMT 2021

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

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

Back to the top