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 #376 (closed enhancement: moved)

Opened 2011-03-17T12:36:26-05:00

Last modified 2013-03-19T11:03:54-05:00

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 2011-04-28T16:25:48-05:00 by curtis

  • Milestone set to imagej-2.0-alpha3

comment:2 Changed 2011-04-28T16:26:50-05:00 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 2011-05-23T15:34:31-05:00 by curtis

Initial support in fb1be849c54b4ef6e86b62399e98432e6ccf799c. Still needs work.

comment:4 Changed 2011-05-24T12:37:42-05:00 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 2011-08-01T08:10:18-05:00 by curtis

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

comment:6 Changed 2011-08-01T08:11:19-05:00 by curtis

  • Priority changed from minor to critical

comment:7 Changed 2011-08-01T12:10:32-05:00 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 2011-10-18T14:44:31-05:00 by curtis

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

comment:9 Changed 2011-11-01T10:30:45-05:00 by curtis

  • Status changed from new to accepted

comment:10 Changed 2012-02-26T20:30:34-06:00 by curtis

  • Blocking 11 added

comment:11 Changed 2012-03-05T14:43:57-06:00 by curtis

  • Blocking 1054 added; 11 removed

comment:12 Changed 2012-04-03T17:49:55-05:00 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 2012-04-03T17:50:42-05:00 by curtis

  • Blocking 1051 added; 1054 removed

comment:14 Changed 2012-06-08T12:47:31-05:00 by curtis

  • Blocking 629 added

comment:15 Changed 2012-07-03T13:07:30-05:00 by curtis

  • Blocking 1162 added

comment:16 Changed 2012-07-12T11:13:45-05:00 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 2012-08-03T10:21:06-05:00 by curtis

  • Blocking 1356 added

comment:18 Changed 2012-08-03T10:22:25-05:00 by curtis

  • Blocking 1291 removed

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

comment:19 Changed 2012-08-03T10:22:42-05:00 by curtis

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

comment:20 Changed 2012-08-03T10:40:27-05:00 by curtis

  • Blocking 1357 added

comment:21 Changed 2012-08-03T10:41:04-05:00 by curtis

  • Blocking 1052 removed

comment:22 Changed 2013-03-19T10:57:15-05:00 by curtis

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

comment:23 Changed 2013-03-19T11:03:54-05:00 by curtis

  • Blocking 1696 added; 1357 removed

comment:10 Changed 2014-05-01T05:42:00-05:00 by curtis

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