Community
Participate
Working Groups
Created attachment 247911 [details] problematic dialog When working on the specification, the .odesign tree editor displays Labels, when those are explicitly specified. This is confusing to the developer. Labels are what should be displayed to the end-user. The ID of the element (in addition to the label) should be used in the specification. The problem arises because, it is often times the case that different elements will have the same label. In that case one can no longer distinguish between different mappings/tools. This is especially problematic when using the dialog for selecting Mappings (indicated in the attached picture).
Created attachment 247912 [details] button that opens problematic dialog
See the reused tools property section of a Layer (1.0.1): in the selection wizard, the candidates are displayed with the path to them: Viewpoint label > diag label > layer label > ... > tool id This is better than simply the label of each element but this does not seem to be the best way to present elements. We have several options to correct this: . show a tree . use the tooltip to show the containment path or some information to help the user . change the label: label (id) for example.
Agreed that showing the identifier would be better. Not sure we can fit such a change for 2.0.0 (which is planned for next week), but this would not change any API so it could come in a later 2.0.x. Proposal for later: * a tree with the same overall structure as the VSM itself (filtered with only the relevant elements), with a filter/search bar. Two problems with a tree: i) to give context we need to show the intermediate parent elements even if they can not be selected because they are not of the correct type; ii) the tree must be at least partially expanded when dialog opens so that at least some of the actually selectable elements are visible, but this can quick use a lot of screen space, making it necessary to scroll to find the element the user is looking for. * for each element, show the identifier, and if the element has a label which is different than its identifier, also show it in parentheses and/or greyed. We should also make sure we implement this in a way that is consistent across all similar elements in the VSM editors, and stays that way (i.e. with no need for manual tweaking when we add new elements in the metamodel).
This also true for Style selection dialog in the different style customizations properties.