Community
Participate
Working Groups
When an external label is selected, stereotype application does not impact the stereotype label. In addition, updating the stereotypes display in Properties>Appearance view has no effect. This bug impacts all diagrams using a node with an external label : - Class diagram : TimeObservation and DurationObservation - Communication diagram : TimeObservation and DurationObservation - Composite diagram : Parameter, Port, TimeObservation and DurationObservation - Sequence diagram : TimeConstraint, TimeObservation and DurationConstraint (still in development) Steps to reproduce : - Select the external label of an element (among the above list). - In Properties>Profile tab, apply a stereotype. - => the stereotype display is not refreshed by the org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy class, though the stereotype is applied on the UML element. - Select the parent node itself. - In Properties>Profile tab, apply another stereotype. - => Only the second applied stereotype is displayed. In Properties>Appearance tab, the old stereotype is marked as not displayed. - Select the external label. - In Properties>Appearance tab, update visibility of stereotypes or stereotypes' properties. - => the changes have no impact at all.
Apparently, this does not applies only to external label, but to any label. The profile representation should really be updated when a label is selected, even if it is not the main figure edit part. This bug will be a major problem for DurationObservation and DurationConstraint on messages in the sequence diagram, since their representation is only a label (contained in a node edit part which is almost invisible) (enhancement bug 322481)
In fact, papyrus try to display stereotype property in comportement of port duration observation. display is compartment for this element must not be possible
This works on Photon RC2.