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: 14
Registered: June 2018
Junior 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 90 times)
Re: Container drop and container creation [message #1791427 is a reply to message #1790908] Fri, 29 June 2018 08:33 Go to previous message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 134
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
Previous Topic:Cannot use "Unset" operation on attributes
Next Topic:[ANN] Sirius 6.0.0
Goto Forum:
  


Current Time: Sat Sep 22 03:03:45 GMT 2018

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

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

Back to the top