Ticket #1481 (closed enhancement: moved)
Opened 2012-09-14T09:44:19-05:00
Last modified 2013-03-19T11:06:21-05:00
Make an editable combobox widget
Reported by: | bdezonia | Owned by: | curtis |
---|---|---|---|
Priority: | major | Milestone: | imagej2-b10-compatibility |
Component: | UI Framework | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1697 |
Description (last modified by curtis)
In Add Axis or Edit Axes plugins it would be nice if user could type their own name for an axis. This would require a input widget that is a list that can be modified by user and is represented with an editable combo box.
To do this, we should improve the parameter infrastructure to support combo boxes; i.e., data with multiple choice, but where you can also enter your own value. In Swing, this is a JComboBox with isEditable=true.
We could use a boolean toggle in @Parameter called e.g. allowCustomChoices, false by default, and if set to true, the ChoiceWidget would also function as a freeform text field.