Bug 507491 - [SequenceDiagram] Display numbers on message labels for identification
Summary: [SequenceDiagram] Display numbers on message labels for identification
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: newSDReq
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 11:32 EST by Mathilde Arnaud CLA
Modified: 2017-09-14 08:50 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathilde Arnaud CLA 2016-11-14 11:32:52 EST
In some instance, it is useful to be able to identify messages, but their label may not always allow differentiation.
The possibility to display numbers on message labels is already present in the communication diagram. 
CSS should be used to obtain the desired behavior.

This functionality must be optional and may be activated or deactivated through preferences.
Comment 1 Peter Cigehn CLA 2016-11-14 12:08:19 EST
What kind of numbering scheme is considered here? Compare with the legacy tooling where you have a preference to either select a complete decimal separated number, such as 1.2.3, or a single number. The former numbering scheme is based on the execution specifications and how messages triggers execution specification which in its turn triggers the sending of new messages. Thus the numbering scheme then gives an indication how messages triggers other messages. The latter numbering scheme is simply numbering the messages from top to bottom.

I guess the latter numbering scheme is simpler, but the former can give some additional overview of the diagram (but can also become rather complex and cluttered). As in the legacy tooling a preference could then be used depending on what numbering scheme is wanted.
Comment 2 Mathilde Arnaud CLA 2016-11-30 10:09:08 EST
A simple numbering scheme from top to bottom will be provided by default. Other numbering schemes may be defined by the user.
An appearance property should allow to activate or deactivate the numbering scheme.
A CSS should allow to define the numbering scheme to be used and its activation.