Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Forcing an element to be created/ or placed within a specific container.
Forcing an element to be created/ or placed within a specific container. [message #1505875] Wed, 10 December 2014 11:34 Go to next message
MG Gharib is currently offline MG GharibFriend
Messages: 30
Registered: September 2014
Member
Hi all,
I'm trying to create a model, in which I need to group diffrent modeling constructs in a specific container. Yet I couldn't find much in the forum about that.
Anyone knows how this can be done?

Best regards
Re: Forcing an element to be created/ or placed within a specific container. [message #1506080 is a reply to message #1505875] Wed, 10 December 2014 15:05 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

By modeling constructs do you mean that you want to represent elements
from different "Domain Classes" in the same container? In that case, you
just need to add as many Node/Container Mapping as you want in your
specific container.

Regards,
Steve

Le 10/12/2014 12:34, MG Gharib a écrit :
> Hi all,
> I'm trying to create a model, in which I need to group diffrent modeling
> constructs in a specific container. Yet I couldn't find much in the
> forum about that. Anyone knows how this can be done?
>
> Best regards


--
Steve Monnier - Obeo

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


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Forcing an element to be created/ or placed within a specific container. [message #1506114 is a reply to message #1506080] Wed, 10 December 2014 15:43 Go to previous messageGo to next message
MG Gharib is currently offline MG GharibFriend
Messages: 30
Registered: September 2014
Member
Thanks for reply, but where can I find tutorial or examples about container.
Sirius tutorial / the example they provide has no examples about containers.

Best regards
Re: Forcing an element to be created/ or placed within a specific container. [message #1506141 is a reply to message #1506114] Wed, 10 December 2014 16:07 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

There is a documentation about Container mapping in the Eclipse Help at
the following location: Sirius/Sirius Specifier Manual/Diagrams/Layers
and Graphical Elements/Containers. It is also accessible at
https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#containers

Regards,
Steve

Le 10/12/2014 16:43, MG Gharib a écrit :
> Thanks for reply, but where can I find tutorial or examples about
> container. Sirius tutorial / the example they provide has no examples
> about containers.
>
> Best regards


--
Steve Monnier - Obeo

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


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Forcing an element to be created/ or placed within a specific container. [message #1506198 is a reply to message #1506141] Wed, 10 December 2014 17:08 Go to previous messageGo to next message
MG Gharib is currently offline MG GharibFriend
Messages: 30
Registered: September 2014
Member
I already read this, but it was not clear for me how I can implement it.

Best regards

[Updated on: Wed, 10 December 2014 17:17]

Report message to a moderator

Re: Forcing an element to be created/ or placed within a specific container. [message #1506230 is a reply to message #1506198] Wed, 10 December 2014 17:37 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
If you have Ecore Tools 2 (which is Sirius based), you can find an
exemple by importing the plugin "org.eclipse.emf.ecoretools.design".
Otherwise, you can look into the samples in the sirius tests plugins or
in the plugin org.eclipse.sirius.sample.ecore.design (previous version
of Ecore Tools 2).

Regards,
Steve

Le 10/12/2014 18:08, MG Gharib a écrit :
> I already read this, but it was not clear for me how I can implementing it.
>
> Best regards


--
Steve Monnier - Obeo

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


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Forcing an element to be created/ or placed within a specific container. [message #1506937 is a reply to message #1506230] Thu, 11 December 2014 07:18 Go to previous message
MG Gharib is currently offline MG GharibFriend
Messages: 30
Registered: September 2014
Member
I will check right away.
Thank you very much
Previous Topic:[Table] Lines with incompatible feature columns
Next Topic:Automatically create diagram on instance creation
Goto Forum:
  


Current Time: Sat Apr 20 01:50:16 GMT 2024

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

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

Back to the top