Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Sequence Diagrams troubles
Sequence Diagrams troubles [message #1433981] Mon, 29 September 2014 13:56 Go to next message
O Bertrand is currently offline O BertrandFriend
Messages: 5
Registered: September 2014
Junior Member
I try to make some sequence diagrams with the joined model.
This model have objects and messages.
i reproduced some example in UML model without any success. When i open my representation, i have an error message : Faild to create the part's control and an exception in error log : IllegalArgumentException ...

I join my meta-model with the viewpoint project and a model.

Where is my my mistake ?
Regards,
O. Bertrand
Re: Sequence Diagrams troubles [message #1434036 is a reply to message #1433981] Mon, 29 September 2014 15:15 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi,

Le 29/09/2014 16:31, O Bertrand a écrit :
> I try to make some sequence diagrams with the joined model.
> This model have objects and messages.
> i reproduced some example in UML model without any success. When i open my representation, i have an error message : Faild to create the part's control and an exception in error log : IllegalArgumentException ...
>
> I join my meta-model with the viewpoint project and a model.
>
> Where is my my mistake ?

It seems you should review your Sequence specific properties:
. Sequence Diagram Description
. endsOrdering: "[self/]" : the global ordering of all your event
ends is expected: a sorted list containing the start/finish of each
element displayed on the diagram. This is required for the layout
computation.
. Sequence delimited mappings:
. startingEndFinderExpression="var:self": here we expect an element
representing the start of your event. The element must also be in the
endsOrdering list computed of the diagram description.
. finishingEndFinderExpression="var:self": here we expect an
element representing the finish of your event. The element must also be
in the endsOrdering list computed of the diagram description.

See [1] for the Sequence Diagrams documentation.

Regards,



> Regards,
> O. Bertrand
>


--
Maxime - Obeo

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

[1]
https://www.eclipse.org/sirius/doc/specifier/sequences/Sequence%20Diagrams.html


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Sequence Diagrams troubles [message #1434470 is a reply to message #1434036] Tue, 30 September 2014 06:06 Go to previous messageGo to next message
O Bertrand is currently offline O BertrandFriend
Messages: 5
Registered: September 2014
Junior Member
Thanks for your answer.
With some correction i can display a fist version of a diagram.
Re: Sequence Diagrams troubles [message #1713678 is a reply to message #1434470] Thu, 05 November 2015 21:53 Go to previous messageGo to next message
Nebojsa Tausan is currently offline Nebojsa TausanFriend
Messages: 2
Registered: January 2015
Junior Member
Hi Bertrand,
Is it possible for you to attach the meta-model and the .odesing file of the working example. I am struggling with sequence diagram and this would help me a lot.

Thanks
Nebojsa
Re: Sequence Diagrams troubles [message #1713992 is a reply to message #1713678] Mon, 09 November 2015 10:08 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi,

You might find usefull information on existing Sequence diagram
descriptions:

. in UML Designer :
.
http://www.umldesigner.org/ref-doc/implement-the-application.html#Sequence_Diagram
.
https://github.com/ObeoNetwork/UML-Designer/blob/master/plugins/org.obeonetwork.dsl.uml2.design/description/uml2.odesign

. in Sirius test Interation sample
. available in the org.eclipse.sirius.tests feature
.
http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.sample.interactions.design


Le 06/11/2015 17:37, Nebojsa Tausan a écrit :
> Hi Bertrand, Is it possible for you to attach the meta-model and the
> .odesing file of the working example. I am struggling with sequence
> diagram and this would help me a lot.
> Thanks
> Nebojsa


Regards

--
Maxime - Obeo

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


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Sequence Diagrams troubles [message #1714097 is a reply to message #1713992] Mon, 09 November 2015 21:15 Go to previous message
Nebojsa Tausan is currently offline Nebojsa TausanFriend
Messages: 2
Registered: January 2015
Junior Member
Hi Maxime,
thanks for your reply.
Links you sent are familiar to me, and I already studied them. Still, since I am a newcomer to Sirius, I have difficulties in grasping the underlying meta-model and how the meta-model elements are related with visual elements in .odesign file.
Bertrand's example (which is attached to previous post) seemed very simple and a good starting point for developing "the simplest version" of sequence diagram.
Anyhow, thanks for your help, I will keep on trying Smile
All the best....

N.
Previous Topic:ClassCastException when double-click on enum type column in edition table
Next Topic:Difficulty of the Java Service Usage
Goto Forum:
  


Current Time: Fri Apr 19 08:25:14 GMT 2024

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

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

Back to the top