Difference: DpHipeTools (12 vs. 13)

Revision 132008-02-19 - NicolaDeCandussio

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"

Adding Tools to HIPE

Line: 93 to 93
 To adapt to these scenarios and more, the system provides three ways for customizing you Task dialogs:
  • Parameter Modifiers
  • Signature Components
Changed:
<
<
  • Task Dialogs.
>
>
  • Task Panels.
 

Parameter Modifiers

Changed:
<
<
The system provides a default dialog displaying an input area for setting the values of the parameter.
>
>
The system provides a default dialog displaying an input area for setting the values of the parameter based on a composition of Modifiers
  The input area for the crop task:
crop_input.jpg
Changed:
<
<
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.
>
>
The composition of Modifiers is created based on the types of the values of the Task Parameters of the Task Signature.
 
Changed:
<
<
The first Modifier of the input area for the crop task:
>
>
The Modifier for the first Parameter of the crop task:
  crop_modifier.jpg

Currently the system contains basic implementation for the simple types Integer, Float, Long, Double so there's still a lot of space for improvements and contribution.

Line: 132 to 130
 
The registration of the Modifier is done again in the __init__.py via theExtensionRegistry with the usual syntax (please note the name of the factory: factory.modifier).
Changed:
<
<
Be aware that the registration is system wise so the registration overrides any other registered modifier.
>
>
Be aware that the registration is system wise so the registration overrides any other registered modifier for that type.
 
 REGISTRY.register(COMPONENT,Extension(

Line: 201 to 199
 

Task Dialogs

Changed:
<
<
Eventually, if the above options still do not accomodate you needs you can replace the the default Task Panel with your own implemetation
>
>
Eventually, if the above options still do not accommodate you needs you can replace the the default Task Panel with your own implementation
  If this is the case you need to:
  • Implement a Task Panel
 
This site is powered by the TWiki collaboration platform Powered by Perl