Hello all,

It would be nice if a org.scijava.widget.Button could
be disabled (e.g. grayed out) and enabled in the UI parameter
harvesting dialog (from within some @Parameter callback) if the
current parameters do not allow its action.

This seems different from the problems associated with dynamically
changing parameter number and/or properties [1], as no reconfiguration
of the UI is required beyond a redraw. The widget should still be
displayed, only its status toggled (one could e.g. add the enabling
condition to the description/tooltip to give the user a hint).

Does this sound reasonable or should such a feature be included in tracker issue 42 [1]?

cheers,
Adrian

[1] https://github.com/scijava/scijava-common/issues/42
"Allow plugin parameters to be hidden"

_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to