Ticket #1481 (closed enhancement: moved)

Opened 8 years ago

Last modified 7 years ago

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) (diff)

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.

Change History

comment:1 Changed 8 years ago by curtis

  • Description modified (diff)

comment:2 Changed 7 years ago by curtis

  • Blocking 1357 added

comment:3 Changed 7 years ago by curtis

  • Status changed from new to accepted
  • Milestone changed from imagej2-b7-ndim-data to imagej2-b10-compatibility

comment:4 Changed 7 years ago by curtis

  • Component changed from Core to UI Framework

comment:5 Changed 7 years ago by curtis

  • Blocking 1697 added; 1357 removed

comment:6 Changed 6 years ago by curtis

  • Status changed from accepted to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.