use of org.talend.dataprofiler.core.ui.wizard.indicator.forms.AbstractIndicatorForm in project tdq-studio-se by Talend.
the class DynamicIndicatorOptionsPage method createForm.
public AbstractIndicatorForm[] createForm(Composite parent, ICheckListener listener, FormEnum[] formTypes) {
IndicatorParameters parameters = indicatorUnit.getIndicator().getParameters();
if (parameters == null) {
parameters = IndicatorsFactory.eINSTANCE.createIndicatorParameters();
indicatorUnit.getIndicator().setParameters(parameters);
}
AbstractIndicatorForm[] froms = new AbstractIndicatorForm[formTypes.length];
for (int i = 0; i < formTypes.length; i++) {
AbstractIndicatorForm form = IndicatorFormFactory.createForm(parent, formTypes[i], parameters);
form.setListener(listener);
froms[i] = form;
}
return froms;
}
Aggregations