Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow parameter attribute changes besides value during callback methods #52

Open
ctrueden opened this Issue May 1, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@ctrueden
Copy link
Member

ctrueden commented May 1, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.