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: |
|
Component: | SCIFIO | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #11 |
Description
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)).