Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 462393

Summary: [RSA] Appearance property "Show Stereotype" not handled for imported model elements in diagrams
Product: [Modeling] Papyrus Reporter: Toni Siljamäki <toni.siljamaki>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: CLOSED WONTFIX QA Contact: Camille Letavernier <cletavernier>
Severity: major    
Priority: P3 CC: papyrus-bugs, Patrick.Tessier
Version: 1.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: bbi deploy
Bug Depends on: 457024    
Bug Blocks:    

Description Toni Siljamäki CLA 2015-03-17 12:38:37 EDT
Testing imported Activity Diagrams.

In imported emx models there is a showStereotype property controlling
the display of decorator/element icon and stereotype text.

This property is not handled during model import.

The "Show Stereotype" property have the following UI options:
None, Text, Decoration, Decoration and text, and finally Shape Image.

In the emx file this translates to:
None, Text, no property = default, Label, and finally Image.

In the Activity Diagram, the property values Label and Image results in the
same appearance in the diagram = showing the element icon and stereotype text.
Comment 1 Remi Schnekenburger CLA 2015-04-09 05:53:05 EDT
The stereotype display from imported file should be handled as soon as the stereotype display is enhanced in Mars (Bug 457024).
Comment 2 Toni Siljamäki CLA 2015-06-15 05:06:09 EDT
Stereotype display is now improved in Bug 457024.
Comment 3 Camille Letavernier CLA 2015-06-30 11:09:50 EDT
Partial support introduced in e1175b3 (Master), 5569da7 (Mars):

Stereotypes for Nodes are now either "Displayed" or "Hidden" (Hidden if the source is "None", displayed otherwise). Stereotypes for Connectors are not handled, and specific display options are not handled either. There is no straightforward match to Papyrus: stereotypes are handled in very different ways, and proper support requires a much more accurate translation

Regarding Connectors, Papyrus has no generic mechanism to support them today: each Connector has its own Stereotype Label, so we also need an accurate translation (Which probably has to be generated from the Papyrus GMFGen model)

This task can't be closed yet, as further improvements are required (At least for Connector Stereotypes)
Comment 4 Patrick Tessier CLA 2019-03-15 11:31:09 EDT
It is not plan to fix completly this bug