Ticket #682 (closed defect: moved)

Opened 9 years ago

Last modified 7 years ago

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


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

  • Blocking 1052 added

comment:2 Changed 8 years ago by curtis

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

comment:3 Changed 8 years ago by curtis

  • Blocking 1357 added

comment:4 Changed 8 years ago by curtis

  • Blocking 1052 removed

comment:5 Changed 7 years ago by bdezonia

  • Blocking 1631 added; 1357 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled

comment:6 Changed 6 years ago by curtis

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