Ticket #376 (accepted enhancement)

Opened 14 months ago

Last modified 7 weeks ago

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:1 Changed 13 months ago by curtis

  • Milestone set to imagej-2.0-alpha3

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:3 Changed 12 months ago by curtis

Initial support in r2938. Still needs work.

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:6 Changed 10 months ago by curtis

  • Priority changed from minor to critical

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:9 Changed 7 months ago by curtis

  • Status changed from new to accepted

comment:10 Changed 3 months ago by curtis

  • Blocking 11 added

comment:11 Changed 3 months ago by curtis

  • Blocking 1054 added; 11 removed

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).

comment:13 Changed 7 weeks ago by curtis

  • Blocking 1051 added; 1054 removed
Note: See TracTickets for help on using tickets.