Community
Participate
Working Groups
Created attachment 193031 [details] Screenshot of the behaviour When defining a new ValueType (Stereotype <<ValueType>>), for example in the block-definition diagram, it is possible to define an unit and a dimension with the ValueType. Unfortunately when adding an unit to the ValueType in the list, only the name "Unit" is displayed, leading to multiply entries of "Unit" instead of the actual name of the unit. I've tested this behaviour when I tryed to implement the baseline tutorial from the OMG [1]. You can find the diagram at page 71. In contrast to the example given in the tutorial I modeled the different units as entities with the Sterotype <<Unit>> (from the palette) and tryed to choose them in the <<ValueType>>. The same error (all the list entries say "Dimension" instead of "Unit") occurs when trying to apply a dimension to a value type. [1] http://www.omgsysml.org/SysML-Tutorial-Baseline-to-INCOSE-060524-low_res.pdf
Camille, can you check this. In the property view (SysML tab) for a ValueType, the Unit and Dimension ref selection dialogs don't show the name of stereotyped object but the label of the stereotype application.
Created attachment 197093 [details] Bug fix This patch changes the label provider for Stereotype objects.
(In reply to comment #2) > Created attachment 197093 [details] > Bug fix > > This patch changes the label provider for Stereotype objects. I, Camille Letavernier, wrote 100% of the code I've provided. This code contains no cryptography I have the right to contribute the code to Eclipse. I contribute the content under the EPL.
Patch applied in r4823 (fixed in RC4).