use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class TestFormatProperties2Impl method setupLayout.
public void setupLayout() {
super.setupLayout();
Form mainForm = Form.create(this, Form.MAIN);
mainForm.addRow(someOtherProperty);
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class FullExampleProperties method setupLayout.
@Override
public void setupLayout() {
super.setupLayout();
Form mainForm = new Form(this, Form.MAIN);
mainForm.addRow(stringProp);
mainForm.addRow(widget(schema).setWidgetType(Widget.SCHEMA_EDITOR_WIDGET_TYPE));
mainForm.addRow(widget(schema).setWidgetType(Widget.SCHEMA_REFERENCE_WIDGET_TYPE));
mainForm.addRow(widget(datastoreRef).setWidgetType(COMPONENT_REFERENCE_WIDGET_TYPE));
mainForm.addRow(widget(multipleSelectionProp).setWidgetType(Widget.NAME_SELECTION_AREA_WIDGET_TYPE));
mainForm.addRow(widget(multipleSelectionProp).setWidgetType(Widget.NAME_SELECTION_REFERENCE_WIDGET_TYPE));
mainForm.addRow(widget(showNewForm).setWidgetType(Widget.BUTTON_WIDGET_TYPE));
Form popUpForm = new Form(this, POPUP_FORM_NAME);
showNewForm.setFormtoShow(popUpForm);
mainForm.addColumn(widget(tableProp).setWidgetType(Widget.TABLE_WIDGET_TYPE));
mainForm.addColumn(widget(hiddenTextProp).setWidgetType(Widget.HIDDEN_TEXT_WIDGET_TYPE));
mainForm.addColumn(widget(filepathProp).setWidgetType(Widget.FILE_WIDGET_TYPE));
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class TAzureStorageOutputTableProperties method setupLayout.
@Override
public void setupLayout() {
super.setupLayout();
Form mainForm = getForm(Form.MAIN);
mainForm.addColumn(Widget.widget(partitionKey).setWidgetType(Widget.ENUMERATION_WIDGET_TYPE));
mainForm.addColumn(Widget.widget(rowKey).setWidgetType(Widget.ENUMERATION_WIDGET_TYPE));
mainForm.addRow(actionOnData);
mainForm.addColumn(actionOnTable);
mainForm.addRow(processOperationInBatch);
mainForm.addRow(dieOnError);
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class TMarketoBulkExecProperties method setupLayout.
@Override
public void setupLayout() {
super.setupLayout();
Form mainForm = getForm(Form.MAIN);
mainForm.addRow(bulkImportTo);
mainForm.addColumn(bulkFileFormat);
mainForm.addRow(lookupField);
mainForm.addColumn(listId);
mainForm.addColumn(partitionName);
mainForm.addRow(customObjectName);
mainForm.addRow(widget(bulkFilePath).setWidgetType(Widget.FILE_WIDGET_TYPE));
mainForm.addRow(pollWaitTime);
mainForm.addRow(widget(logDownloadPath).setWidgetType(Widget.DIRECTORY_WIDGET_TYPE));
mainForm.addRow(dieOnError);
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class TMarketoConnectionProperties method setupLayout.
@Override
public void setupLayout() {
super.setupLayout();
Form mainForm = Form.create(this, Form.MAIN);
mainForm.addRow(endpoint);
mainForm.addRow(clientAccessId);
mainForm.addColumn(widget(secretKey).setWidgetType(Widget.HIDDEN_TEXT_WIDGET_TYPE));
// Advanced
Form advancedForm = Form.create(this, Form.ADVANCED);
advancedForm.addRow(apiMode);
advancedForm.addRow(timeout);
advancedForm.addColumn(maxReconnAttemps);
advancedForm.addColumn(attemptsIntervalTime);
// A form for a reference to a connection
Form refForm = Form.create(this, Form.REFERENCE);
Widget compListWidget = widget(referencedComponent).setWidgetType(Widget.COMPONENT_REFERENCE_WIDGET_TYPE);
refForm.addRow(compListWidget);
refForm.addRow(mainForm);
// Wizard
Form wizardForm = Form.create(this, FORM_WIZARD);
wizardForm.addRow(name);
wizardForm.addRow(endpoint);
wizardForm.addRow(clientAccessId);
wizardForm.addRow(widget(secretKey).setWidgetType(Widget.HIDDEN_TEXT_WIDGET_TYPE));
wizardForm.addRow(widget(testConnection).setLongRunning(true).setWidgetType(Widget.BUTTON_WIDGET_TYPE));
wizardForm.addRow(timeout);
wizardForm.addRow(maxReconnAttemps);
wizardForm.addRow(attemptsIntervalTime);
}
Aggregations