public static class Application.ToolReady extends Object
JstacsTool via Parameter.hasDefaultOrIsSet().
Only if all parameters have been set, the provided "Run" button is activated.| Constructor and Description |
|---|
ToolReady(Button runButton,
ParameterSet toolParameters)
Creates a new test for the
JstacsTool with the specified "Run" button
and parameters. |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorLabel(Parameter par,
Label error)
Registers the label displaying the error message for a parameter.
|
void |
testReady()
Tests if all parameter values have been set.
|
public ToolReady(Button runButton, ParameterSet toolParameters)
JstacsTool with the specified "Run" button
and parameters.runButton - the "Run" button for the tool, activated if all parameter values have been settoolParameters - the parameters of the corresponding toolpublic void addErrorLabel(Parameter par, Label error)
par - the parametererror - the labelpublic void testReady()
Parameter.getErrorMessage().