Disabling parts of custom component's UI in Clover designer

Discussion on developing CloverETL engine, transformation components etc.

ranger
Posts: 4
Joined: Tue Nov 08, 2011 1:10 pm

Disabling parts of custom component's UI in Clover designer

Postby ranger » Thu Jan 19, 2012 1:15 pm

Good afternoon,
i am trying to figure out, whether it is possible to change the dialog that show components properties according to number of input ports of this component.
For example, let's have custom component that has property join key. And i would like it to be enabled only if there are more input ports connected to the component. Because it is illogical to have this property when there is nothing join.

It is not important if property would be disabled (not editable) or it would not be there at all. Both of these options are fine.

In general, is it possible to change dialog that allows user to change properties of custom components according to state of component presents configuration?

kubosj
Posts: 372
Joined: Thu Jan 12, 2012 9:10 am

Re: Disabling parts of custom component's UI in Clover designer

Postby kubosj » Thu Jan 26, 2012 1:45 pm

Hello Ranger,

it seems that there is no support now for what you would like to achieve. What you can do is returning warning in method "checkConfig()" of custom component. Then you will be at least warned when join key will be selected and not enough inputs connected.

Best regards,

Jaroslav Kubos
support team
Jaroslav Kubos
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com


cron