Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Container drop and container creation(Container drop)
Container drop and container creation [message #1790908] Wed, 20 June 2018 05:58 Go to next message
Sharmila D is currently offline Sharmila DFriend
Messages: 81
Registered: June 2018
Member
1)Im new to sirius I went through the concepts of sirius I was not able to understand about Container drop. Can someone Please explain me about container drop using some example

2)I have to create the following
Elemets->computationMethod->feature(compuInternalToPhys)->compu
Elemets->computationMethod->feature(PhyscompuInternalTo)->compu

I need to create the container compu with different features.How to create compu in sirius.

Please help me in this

Attaching
  • Attachment: Capture.PNG
    (Size: 16.45KB, Downloaded 217 times)
Re: Container drop and container creation [message #1791427 is a reply to message #1790908] Fri, 29 June 2018 08:33 Go to previous messageGo to next message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 180
Registered: October 2014
Senior Member
Hello

Your purpose is to create instance of class so I make the supposition that you 've already defined the mapping and all what is needed to display your entities in a diagram.
Then you may use either ContainerCreation Tool to crate a new instance or Container Drop tool to display in your diagram an existing instance

You can read the documentation about container drop : https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#containers
Do not forget to add some model operations
For example, if your source selection is from the model explorer, just add a ChangeContext operation that do nothing (var:element)

You have some example of Container Drop tool here: https://github.com/eclipse/ecoretools/blob/master/org.eclipse.emf.ecoretools.design/description/ecore.odesign

Regards
Laurent


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Container drop and container creation [message #1841307 is a reply to message #1791427] Tue, 11 May 2021 18:34 Go to previous message
Thomas Chiang is currently offline Thomas ChiangFriend
Messages: 83
Registered: March 2020
Member
No Message Body

[Updated on: Tue, 11 May 2021 18:52]

Report message to a moderator

Previous Topic:How to check Ecore type of element using AQL?
Next Topic:Creating EOL services to be called from a Sirius model
Goto Forum:
  


Current Time: Tue Aug 09 08:15:08 GMT 2022

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

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

Back to the top