Community
Participate
Working Groups
The UML specification states (UML spec 2013-09-05 section 15.4.4 subsection Activity Parameter Nodes) that the label of an ActivityParameterNode diagram symbol may be taken from the ActivityParameterNode's parameter. In current implementation the text "null" is shown as label if the name of the ActivityParameterNode is empty, independent on if there is a parameter defined that has a name or not. We need to discuss how this shall work. In RSARTE it work differently, there it is always the parameter name that is displayed. The somewhat unclear statement in the UML spec, may lead to that a preference is needed to distinguish between the different behaviors stated in the UML spec. If behavior is different we need to perform a proper maping during import of RSARTE models. Such a bugzilla should be written when the above problem is solved.
Just to be clear: The behavior in RSARTE is that if the activity parameter node is left unnamed, i.e. either has an unset name or an empty name, then the name label of the activity parameter node is taken from its related parameter's name. This is to avoid having to duplicate the name also for the activity parameter node. This can be discussed whether this is the criteria that shall be used when the name of the parameter shall be displayed or not. Other solutions are that this is based on preferences, either globally or locally per activity or activity parameter node, or both.
New Gerrit change created: https://git.eclipse.org/r/43745
New Gerrit change created: https://git.eclipse.org/r/43834
Gerrit change https://git.eclipse.org/r/43834 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=73fab8b8c06d9f31376124694ea9e395345a529a
> Gerrit change https://git.eclipse.org/r/43834 was merged to [master]. The name of the Parameter is now automatically displayed if the ActivityParameterNode is unnamed. Additionally, this contribution adds some customization options (Appearance-based, CSS-compatible) for ActivityParameterNode labels I close this task