Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Adding Tools to HIPE | ||||||||
Line: 82 to 82 | ||||||||
The system generates a default input dialog for all registered tasks within the software. As the system does not know the intent of your task, it can only provide a dry-listing of all requested parameters; such a dialog may not be suitable for your purposes. | ||||||||
Added: | ||||||||
> > | * The default dialog: ![]() | |||||||
As for instance you may want to have more control over how the input parameters are presented to the user:
| ||||||||
Line: 96 to 99 | ||||||||
Parameter Modifiers | ||||||||
Changed: | ||||||||
< < | The system provides a default dialog displaying an input area for setting the values of the parameter. Based on the type of the value of the Task Parameter the input area dinamically load the most appropriated (and registered) component satisfying the contract of the | |||||||
> > | The system provides a default dialog displaying an input area for setting the values of the parameter. Based on the type of the value of the Task Parameter the input area dinamically loads the most appropriated (and registered) component satisfying the contract of the | |||||||
Modifier![]() | ||||||||
Changed: | ||||||||
< < | Currently the system contains basic implementation for the simple types![]() | |||||||
> > | Currently the system contains basic implementation for the simple types![]() | |||||||
Added: | ||||||||
> > | If your Task Parameter doesn't follow into the mentioned types you need to:
Implement a ModifierThe modifier interface consists of two explicit contracts Register a ModifierThe registration of the Modifier is done again in the | |||||||
Signature Components | ||||||||
Added: | ||||||||
> > | ||||||||
For that you can implement a herschel.ia.task.gui.dialog.SignatureComponent and register it as follows (again in the __init__.py ):
REGISTRY.register(COMPONENT,Extension( | ||||||||
Line: 128 to 161 | ||||||||
See also the Extension Registry documentation for more details. Note that your GUI component must have a default constructor! | ||||||||
Added: | ||||||||
> > | ||||||||
Task DialogsThe default dialog provided by the system is result of the composition of a main input area (TaskSignatureComponent) and a panel containing the buttons (JTaskButtonsPanel). The main panel is based | ||||||||
Line: 142 to 177 | ||||||||
<-- Author: JorgoBakker - 21 Dec 2007 --> | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|