Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an editable combobox widget #121

Open
ctrueden opened this Issue Sep 1, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@ctrueden
Copy link
Member

ctrueden commented Sep 1, 2014

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.

Migrated-From: http://trac.imagej.net/ticket/1481

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.