Ticket #682 (closed defect: moved)
Opened 2011-07-25T16:04:44-05:00
Last modified 2013-01-22T16:02:11-06:00
Allow parameter attribute changes besides value during callback methods
Reported by: | curtis | Owned by: | curtis |
---|---|---|---|
Priority: | minor | Milestone: | imagej2-unscheduled |
Component: | Plugin Framework | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1631 |
Description
A DynamicPlugin has the capability to update an input's attributes, such as minimum and maximum values, at runtime. This is useful e.g. if you want to set one parameter's min and max to match that of another input parameter (say a Dataset).
Currently though, callbacks only occur during input harvesting, which means that in a UI context there is a dialog onscreen. The dialog's components have already been built and would have to be updated to have the new min/max/etc. attributes.
We could have callbacks occur any time an input changes (and this would actually be much cleaner to have the module framework completely take care of it). However, that would not fully solve the problem of widget refreshes; it's easy to refresh the widget's value but harder to refresh its structure.
Change History
comment:2 Changed 2012-08-03T10:36:53-05:00 by curtis
- Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5
comment:5 Changed 2013-01-22T16:02:11-06:00 by bdezonia
- Blocking 1631 added; 1357 removed
- Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled
comment:6 Changed 2014-05-01T06:24:02-05:00 by curtis
- Status changed from new to closed
- Resolution set to moved