NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

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.

Change History

comment:1 Changed 2012-09-14T10:03:13-05:00 by curtis

  • Description modified

comment:2 Changed 2013-01-18T13:34:00-06:00 by curtis

  • Blocking 1357 added

comment:3 Changed 2013-03-19T10:50:54-05:00 by curtis

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

comment:4 Changed 2013-03-19T10:52:37-05:00 by curtis

  • Component changed from Core to UI Framework

comment:5 Changed 2013-03-19T11:06:21-05:00 by curtis

  • Blocking 1697 added; 1357 removed

comment:6 Changed 2014-09-01T08:19:08-05:00 by curtis

  • Status changed from accepted to closed
  • Resolution set to moved