Escolar Documentos
Profissional Documentos
Cultura Documentos
Project:
Date:
Papyrus II
Version:
05/08/2008 0.1
Page:
1/14
Introduction
The aim of the following document is to describe the design of the UML2 Papyrus Sequence Diagram Editor.
Package Interaction Lifeline BehaviourExecutionSpecification MessageOccurrenceSpecification Message (call, Reply) CreationEvent DestructionEvent SendOperationEvent CallEvent (en lugar de ReceiveOperationEvent) SendSignalEvent SignalEvent (en lugar de ReceiveSignalEvent) GeneralOrdering CombinedFragment
There are no modified elements. There are no new elements added to the original metamodel.
Graphical representation
Papyrus II
Version:
05/08/2008 0.1
Page:
2/14
Part 1. Label
Shows the static value sd. Shows the name of the Interaction. It may contain any of the following elements.
Part 2. Label
Part 3. Canvas
Papyrus II
Version:
05/08/2008 0.1
Page:
3/14
It will appear within the part 3 of the Interaction element. Alternatively, if a DestructionEvent exists associated to a Lifeline through a MessageOccurrenceSpecification, then its graphical representation will be the following: 1 2
Part 1. Label
Shows the stereotypes applied to the Lifeline. Shows the name of the Lifeline. Over the central dashed line, the following elements may be drawn:
Part 2. Label
Part 3. Canvas
BehaviorExecutionSpecification
Papyrus II
Version:
05/08/2008 0.1
Page:
4/14
Part 1. Label
Shows the text of the InteractionOperator attribute (It is a enumerator. Each of the different values has an associated text). Rectangle
Part 2. Figure
Papyrus II
Version:
05/08/2008 0.1
Page:
5/14
SEQUENCE DIAGRAM DESIGN Element: Message Drawing Its representation will vary depending on the value of the MessageSort property. - Synchronous Call 1 2
- Reply
Part 1. Figure
Solid line with a closed arrow at the end OR Solid line with an open arrow at the end OR Dashed line with an open arrow at the end. Shows the name of the message.
Part 2. Label
Element: Comment 1 2
Drawing
Part 1. Figure
Rectangle with a decorator in the top-left corner side. Shows the content of the comment (value of the body attribute).
Part 2. Label
Papyrus II
Version:
05/08/2008 0.1
Page:
6/14
Part 1. Figure
Creation mechanisms
Note: The X character represents the number of existing elements of one same type belonging to the same parent at a specific time. 1. Palette
Groups
Interaction
Objects
It creates a Lifeline element with its default values. It creates an ExecutionBehaviorSpecification element with its default values. It creates a CombinedFragment element with its default values.
Messages
It creates the following elements and initializes their properties with the values shown below:
SendOperationEvent
CallEvent
mos1: MessageOccurrenceSpecification
mos2: MessageOccurrenceSpecification
Papyrus II
Version:
05/08/2008 0.1
Page:
7/14
name = MessageOccurrenceSpecificationX event = CallEvent MessageSort = MessageSort::synchCall ReceiveEvent = mos2 SentEvent = mos1
Message
It creates the following elements and initializes their properties with the values shown below:
SendOperationEvent
name = SendOperationEventX name = CallEventX name = MessageOccurrenceSpecificationX event = SendOperationEvent name = MessageOccurrenceSpecificationX event = CallEvent MessageSort = MessageSort::asynchCall ReceiveEvent = mos2 SentEvent = mos1
CallEvent
mos1: MessageOccurrenceSpecification
mos2: MessageOccurrenceSpecification
Message
It creates the following elements and initializes their properties with the values shown below:
mos1: MessageOccurrenceSpecification
name = MessageOccurrenceSpecificationX name = MessageOccurrenceSpecificationX MessageSort = MessageSort::reply ReceiveEvent = mos2 SentEvent = mos1
mos2: MessageOccurrenceSpecification
Message
Papyrus II
Version:
05/08/2008 0.1
Page:
8/14
It creates the following elements and initializes their properties with the values shown below:
SendSignalEvent
name = SendSignalEventX name = SignalEventX name = MessageOccurrenceSpecificationX event = SendSignalEvent name = MessageOccurrenceSpecificationX event = SignalEvent MessageSort = MessageSort::asynchSignal ReceiveEvent = mos2 SentEvent = mos1
SignalEvent
mos1: MessageOccurrenceSpecification
mos2: MessageOccurrenceSpecification
Message
It creates the following elements and initializes their properties with the values shown below:
CreationEvent
name = CreationEventX name = MessageOccurrenceSpecificationX name = MessageOccurrenceSpecificationX event = CreationEvent MessageSort = MessageSort::createMessage ReceiveEvent = mos2 SentEvent = mos1
mos1: MessageOccurrenceSpecification
mos2: MessageOccurrenceSpecification
Message
It creates the following elements and initializes their properties with the values shown below:
DestructionEvent
mos1: MessageOccurrenceSpecification
Papyrus II
Version:
05/08/2008 0.1
Page:
9/14
mos2: MessageOccurrenceSpecification
name = MessageOccurrenceSpecificationX event = DestructionEvent MessageSort = MessageSort::deleteMessage ReceiveEvent = mos2 SentEvent = mos1
Message
Comments
It creates a Comment element with its default values. It creates a CommentLink between an element and a comment or viceversa.
2. Shortcuts
Over an Interaction:
Over a Lifeline:
Papyrus II
Version:
05/08/2008 0.1
Page:
10/14
Basic
Diagram Name (text box) Name (text box) Visibility (drop-down list)
Basic
Name (text box) Visibility (drop-down list) Specification (selection button) isAbstract (checkbox)
Basic
Name (text box) Visibility (drop-down list) Represents (selection button + New button)
Basic
Papyrus II
Version:
05/08/2008 0.1
Page:
11/14
Basic
Basic
Name (text box) Visibility (drop-down list) messageSort (drop-down list) Signature (selection button + Remove button + Operation List)
Basic
Name (text box) Visibility (drop-down list) messageSort (drop-down list) Signature (selection button + Remove button + Operation List)
Basic
Papyrus II
Version:
05/08/2008 0.1
Page:
12/14
Basic
Basic
Basic
Basic
Basic
Papyrus II
Version:
05/08/2008 0.1
Page:
13/14
Basic
Basic
Basic
Basic
Other specification
Useful recipes
None at the moment.
Papyrus II
05/08/2008
Version: Page:
0.1
14/14
Index
Introduction..................................................................................................................1 Graphical Elements Design..............................................................................................1 Elements...................................................................................................................1 Graphical representation.............................................................................................1 Creation mechanisms..................................................................................................6 Element properties edition.........................................................................................10 Other specification....................................................................................................13 Useful recipes..........................................................................................................13
Version History
Version 0.1 Date 05/08/08 Author Gabriel Merin Comments Initial design.