Ticket #376 (closed enhancement: moved)

Opened 9 years ago

Last modified 7 years ago

Support for checkbox menu items

Reported by: curtis Owned by: curtis
Priority: critical Milestone: imagej2-b10-compatibility
Component: Plugin Framework Version:
Severity: non-issue Keywords:
Cc: bene.schmid@… Blocked By:
Blocking: #629, #1356, #1696

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 8 years ago by curtis

  • Milestone set to imagej-2.0-alpha3

comment:2 Changed 8 years 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 8 years ago by curtis

Initial support in fb1be849c54b4ef6e86b62399e98432e6ccf799c. Still needs work.

comment:4 Changed 8 years ago by curtis

Support improved in e4db96afbda530c14dbb148724d33635d087a687. 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 8 years ago by curtis

  • Milestone changed from imagej-2.0-beta1 to biweekly-2011: Aug-01 to Aug-12

comment:6 Changed 8 years ago by curtis

  • Priority changed from minor to critical

comment:7 Changed 8 years 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 8 years ago by curtis

This ticket is waiting on some display refactoring. See ticket #828.

comment:9 Changed 8 years ago by curtis

  • Status changed from new to accepted

comment:10 Changed 8 years ago by curtis

  • Blocking 11 added

comment:11 Changed 8 years ago by curtis

  • Blocking 1054 added; 11 removed

comment:12 Changed 8 years 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 552aa95548cc21d57d5d8caccfd2343686e9e7da).

comment:13 Changed 8 years ago by curtis

  • Blocking 1051 added; 1054 removed

comment:14 Changed 7 years ago by curtis

  • Blocking 629 added

comment:15 Changed 7 years ago by curtis

  • Blocking 1162 added

comment:16 Changed 7 years ago by curtis

  • Blocking 1052, 1291 added; 1051, 1162 removed
  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:17 Changed 7 years ago by curtis

  • Blocking 1356 added

comment:18 Changed 7 years ago by curtis

  • Blocking 1291 removed

(In #1291) Pushing some menuing tickets to 2.0.0-beta5; see #1356.

comment:19 Changed 7 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:20 Changed 7 years ago by curtis

  • Blocking 1357 added

comment:21 Changed 7 years ago by curtis

  • Blocking 1052 removed

comment:22 Changed 7 years ago by curtis

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

comment:23 Changed 7 years ago by curtis

  • Blocking 1696 added; 1357 removed

comment:10 Changed 5 years ago by curtis

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