Opened 10 years ago

Last modified 10 years ago

#2906 closed enhancement

Enumeration parameter input by drop-down menu — at Version 1

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: critical Milestone: 1.9.2
Component: OMEdit Version: trunk
Keywords: Cc:

Description (last modified by Francesco Casella)

The values of enumeration-type parameters have to be typed in manually, but unfortunately there is no indication of what are the legal values that can be used. Either one knows them by heart, or one needs to switch to the textual view, find out the type name, then look for its definition (hardly an easy task, in particular for beginners).

Enumeration types are used ubiquitously in the MSL, so we need to support this unless people are always happy with the defaults.

Suggestion 1: use a drop-down menu

Suggestion 2: make sure there is a way to remove any value and get back to the default (i.e., no modifier in the source code)

Suggestion 3: leave an option to input the value manually (e.g. as a complex expression)

Suggestion 4: we could do the same for booleans, though everybody knows the values true/false for booleans

Change History (1)

comment:1 by Francesco Casella, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.