Skip to content

Allow parameter attribute changes besides value during callback methods #52

@ctrueden

Description

@ctrueden

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.

Migrated-From: http://trac.imagej.net/ticket/682

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions