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 #208 (closed enhancement: fixed)

Opened 2010-09-19T22:56:17-05:00

Last modified 2012-02-24T13:55:06-06:00

Persisting Parameter Values in AbstractPlugins

Reported by: gharris Owned by: gharris
Priority: major Milestone: biweekly-2010: Sep-07 to Sep-17
Component: SCIFIO Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #11


Added an attribute to Parameter, String persist() default "".

If a field annotation includes @Parameter(… persist = "key"), the parameter’s initial value is gotten from Prefs based on the key (defaulting to the field’s assigned value) and when the InputDialog is completed, it puts the parameter’s new value into Prefs (Prefs.set(key, object)).

Change History

comment:1 Changed 2010-09-20T10:37:32-05:00 by gharris

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 2012-02-24T13:55:06-06:00 by curtis

  • Blocking 11 added