Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Adding Tools to HIPE | ||||||||
Line: 108 to 108 | ||||||||
Modifier![]() | ||||||||
Changed: | ||||||||
< < | One of the Modifier in the input area for the crop task: | |||||||
> > | The first Modifier of the input area for the crop task: | |||||||
![]() ![]() | ||||||||
Changed: | ||||||||
< < | If your Task Parameter doesn't follow into the mentioned types you need to: | |||||||
> > | If your Task Parameter isn't one of the mentioned types you need to: | |||||||
Implement a Modifier | ||||||||
Changed: | ||||||||
< < | The modifier interface consists of two explicit contracts | |||||||
> > | The Modifier![]() | |||||||
| ||||||||
Line: 155 to 155 | ||||||||
Signature Components | ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | In case the default input area based on Modifiers doesn't fit your needs you can just replace it by your own implementation. | |||||||
Rotate Alternative Signature: ![]() | ||||||||
Changed: | ||||||||
< < | For that you can implement a herschel.ia.task.gui.dialog.SignatureComponent and register it as follows (again in the __init__.py ): | |||||||
> > | If this is the case you need to:
Implement a Task Signature ComponentThe TaskSignatureComponent Register a Task Signature Component
The registration of the Task Signature Component is done again in the | |||||||
REGISTRY.register(COMPONENT,Extension( | ||||||||
Changed: | ||||||||
< < | id, # string implSignatureComponent, # string "factory.editor.tool.task", implTask)); # string | |||||||
> > | "Rotate Signature", "herschel.ia.task.example.RotateSignatureComponent", "factory.editor.tool.task.signature", "herschel.ia.image.Rotate")) | |||||||
, where:
| ||||||||
Changed: | ||||||||
< < | An example (which you can find in the prototype): | |||||||
> > | See also the Extension Registry documentation for more details.
Task DialogsEventually, if the above options still do not accomodate you needs you can replace the the default Task Panel with your own implemetation If this is the case you need to:
Implement a Task PanelThe TaskPanel Register a Task Panel
The registration of the Task Panel Component is done again in the | |||||||
REGISTRY.register(COMPONENT,Extension( | ||||||||
Changed: | ||||||||
< < | "herschel.ia.gui.components.editor.tasks.RotateSignatureComponent", "herschel.ia.gui.components.editor.tasks.RotateSignatureComponent", | |||||||
> > | "Default Task Panel", "herschel.ia.task.gui.dialog.JTaskPanel", | |||||||
"factory.editor.tool.task", | ||||||||
Changed: | ||||||||
< < | "herschel.ia.image.Rotate")); | |||||||
> > | "herschel.ia.task.Task")); | |||||||
Added: | ||||||||
> > | , where:
| |||||||
See also the Extension Registry documentation for more details. | ||||||||
Deleted: | ||||||||
< < | Note that your GUI component must have a default constructor! | |||||||
Deleted: | ||||||||
< < | 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
|