Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Adding Tools to HIPE | ||||||||
Line: 77 to 77 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Task Input Dialog | |||||||
> > | Tools dialog | |||||||
Deleted: | ||||||||
< < | Default dialog, drag-and-drop features, dedicated dialogs The application is generating 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. | |||||||
Changed: | ||||||||
< < | However, you may want to have more control over how the input parameters are presented to the user: | |||||||
> > | 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. As for instance you may want to have more control over how the input parameters are presented to the user: | |||||||
| ||||||||
Added: | ||||||||
> > | To adapt to these scenarios and more, the system provides three ways for customizing you Task dialogs:
Parameter ModifiersThe 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 Modifier Signature Components | |||||||
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: 112 to 128 | ||||||||
See also the Extension Registry documentation for more details. Note that your GUI component must have a default constructor! | ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < | Parameter ModifiersTODO: Default modifiers, specialized modifiers | |||||||
> > | 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 | |||||||
Task compliance |