Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Sequence Diagram in Sirius(Creation of a Sequence Diagram in Sirius)
Sequence Diagram in Sirius [message #1797467] Wed, 31 October 2018 09:45 Go to next message
Romain Launay is currently offline Romain LaunayFriend
Messages: 9
Registered: October 2018
Junior Member
Hello everyone,

I have to create a diagram in sequence, to do this, I went on https://www.eclipse.org/sirius/doc and I consulted the two articles concerning the diagram in sequence. Nevertheless, I did not understand how to create a sequence diagram.

I still try creating a role instance but two error messages pop up:

- org.eclipse.swt.SWTException: Widget is disposed
- java.lang.IllegalArgumentException: The lower bounds must be less than the upper bounds.

Then, i go on the internet on Sirius's blog. Nevertheless, again I did not find an answer to my question.
the links deposited by Maxime Porhel (Obeo Designer's employee) such as this one "https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.sample.interactions.design/description/interaction.odesign " or this one https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins did not help me much either.

I do not really understand how the block diagram works.
For example, the using of 'End Ordering' or 'Instance Roles Ordering'

Someone would have an answer to my questions or if possible give me a simple example that works allowing me to correct my mistakes

The is my project in file attachments,

Thank you in advance

Romain
  • Attachment: placer.rar
    (Size: 329.73KB, Downloaded 10 times)

[Updated on: Wed, 31 October 2018 10:02]

Report message to a moderator

Re: Sequence Diagram in Sirius [message #1797487 is a reply to message #1797467] Wed, 31 October 2018 15:16 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 458
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Romain

The link you mention ( https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.sample.interactions.design ) is a working sample of Sequence diagram.

To use it, you should clone the Sirius git repository and import the following plugins in your workspace:

  • org.eclipse.sirius.sample.interactions.
  • org.eclipse.sirius.sample.interactions.design
  • org.eclipse.sirius.sample.interactions.edit
  • org.eclipse.sirius.sample.interactions.editor


Then you might look for existing sequence diagram and interaction models used in the Sirius Junit tests (plugins/org.eclipse.sirius.tests.junit/data/sequence/unit) or create your own interaction model.

Launch a Runtime and you will be able to test this Sequence diagram sample.

You might also find working Sequence diagrams in Capella or in UML Designer (https://github.com/ObeoNetwork/UML-Designer)

The 'orderings' are expressions in which you compute the global ordering of the "Sequence events", this is used by Sirius to do the layout of the Sequence diagram based on the model elements. See documentation in https://www.eclipse.org/sirius/doc/specifier/sequences/Sequence%20Diagrams.html

Regards,


Maxime Porhel - Obeo

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

Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
http://www.siriuscon.org/
Re: Sequence Diagram in Sirius [message #1797773 is a reply to message #1797487] Tue, 06 November 2018 09:58 Go to previous message
Romain Launay is currently offline Romain LaunayFriend
Messages: 9
Registered: October 2018
Junior Member
Hi Maxime,

When you say 'clone', does that mean that I copy all the contents of the different files to implement them in a new folder that I created. I understood it like that anyway.

So, I recovered the different files on ' https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.sample.interactions.design'. I tried it and except the creation of 'participant'. I did not manage to make it work. In addition, I did not understand the use of the class 'AbstractEnd' or so I understood it is an abstract class containing all instances of its associated lifeline.

What I just have to create is 'lifelines', a type of message and a type of execution.

Would you perhaps have another simpler example to understand that you can share me as a .rar file like the one I share.

Thank you in advance,

Romain

[Updated on: Tue, 06 November 2018 10:09]

Report message to a moderator

Previous Topic:Merge a memory leak defect from Sirius 6.0 to Sirius 4.1.3
Next Topic:Sirius based RCP creation
Goto Forum:
  


Current Time: Fri Aug 23 09:49:14 GMT 2019

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

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

Back to the top