Ticket #376 (accepted enhancement)
Support for checkbox menu items
| Reported by: | curtis | Owned by: | curtis |
|---|---|---|---|
| Priority: | critical | Milestone: | imagej-2.0.0-beta3 |
| Component: | ij-ext | Version: | |
| Severity: | non-issue | Keywords: | |
| Cc: | bene.schmid@… | Blocked By: | |
| Blocking: | #1051 |
Description
The plugin framework needs a "boolean checkbox" field in @Parameter that transforms the (boolean only) parameter into a checkbox menu item. Rather than displaying this parameter in the input dialog, the value is automatically populated when the menu item is chosen/toggled.
Change History
comment:2 Changed 13 months ago by curtis
We should also support radio button menu items. And the @Plugin annotation probably needs to be aware of it, so the menu bar can continue to be generated without loading the actual plugin classes.
comment:4 Changed 12 months ago by curtis
Support improved in r2947. Still some outstanding issues:
- Initial toggle state does not reflect stored persist value.
- No way to update toggle state based on application context.
- Relatedly, separate menu bars for each image window are not kept in sync.
comment:5 Changed 10 months ago by curtis
- Milestone changed from imagej-2.0-beta1 to biweekly-2011: Aug-01 to Aug-12
comment:7 Changed 10 months ago by curtis
- Milestone changed from biweekly-2011: Aug-01 to Aug-12 to imagej-2.0-alpha5
Milestone biweekly-2011: Aug-01 to Aug-12 deleted
comment:8 Changed 7 months ago by curtis
This ticket is waiting on some display refactoring. See ticket #828.
comment:12 Changed 7 weeks ago by curtis
- Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2
For time reasons, this issue must wait till beta2 to be resolved. For beta1, we have disabled checkbox menu items (see r5249).
