Interface Parameterizable
Each Java Operator has an object that implements the Paramaterizable interface that holds the Java Beans set/get methods. The Java Operator may implement the Parameterizable interface directly, or delegate it's user-visible parameters to another object that implements the Parameterizable interface.
Since 6.1.3, the object implementing this interface may provide methods to support enabling and disabling property controls:
After Studio applies all current values being edited by the user, Studio will,
for each property prop
, look for a method called shouldEnableProp
,
and invoke that method to determine if the widget representing that property should
be enabled or not in the user interface. (Eg. for the property myInt
,
Studio will look for a method called shouldEnableMyInt
.)
Note that Studio queries for enablement only if there are no typecheck errors after
all setters are called.