Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320515 - [Communication Diagram]Applied stereotypes for messages
Summary: [Communication Diagram]Applied stereotypes for messages
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 501313
Blocks:
  Show dependency tree
 
Reported: 2010-07-21 10:31 EDT by saadia dhouib CLA
Modified: 2016-09-13 05:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description saadia dhouib CLA 2010-07-21 10:31:56 EDT
We can not apply stereotypes for messages.
Comment 1 Vincent Lorenzo CLA 2010-07-21 11:11:38 EDT
S. Dhouib Contribution. 
Done in r2440
Comment 2 Vincent Hémery CLA 2011-06-29 11:02:59 EDT
In communication diagram, stereotypes on messages are not displayed in Indigo version (0.8.0).

There is a stereotype label edit part on the edge on which messages are drawn. This label does not display the messages stereotypes, but the interaction's stereotype (as the edge is linked to no element explicitly, it is linked to the diagram element).

Steps to reproduce (and to clarify my speach):
- Create a Communication diagram
- Draw lifeline A
- Draw lifeline B
- Draw a message Message0 from A to B :
 an edge is created from A to B,
 a message label is created on this edge.
- Draw a message Message1 from B to A :
 another message label is created on the same edge.
- Select alternatively the edge and the two labels :
 The edge is linked to the Interaction, each label to its corresponding message.
- Select the top interaction. Apply the SysML "ConstraintBlock" stereotype.
- Select Message0. Apply the SysML "RequirementRelated" stereotype.
- In appearance tab, choose to display "With brace" the stereotype and its properties :
 KO : stereotype not displayed.
- Select Message1. Apply the SysML "Allocated" stereotype.
- In appearance tab, choose to display "With brace" the stereotype and its properties :
 KO : stereotype not displayed.
- Select the axe on which messages are drawn.
- In appearance tab, choose to display "With brace" the stereotype and its properties :
 KO : the Interaction stereotype is displayed, whereas it should not be displayed on the axe which is only a support for messages.
Comment 3 Vincent Hémery CLA 2011-06-29 11:14:55 EDT
Just a few suggestions for retro-compatibility. Of course, you can discuss them if you disagree.

The current stereotype edit part should be kept (for not making old diagram crash), but marked as deprecated. All its behavior should be deactivated.

In order to keep current diagram working, we can not add a new edit part (plus I think it is difficult to create a label under a label). The best way for messages stereotype would be to print them in the message name edit part itself.
Comment 4 Vincent Lorenzo CLA 2016-09-13 05:08:31 EDT
We can apply stereotype on message, but not display them (bug 501313). I close this bug.