use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class ElasticsearchOutputProperties method setupLayout.
@Override
public void setupLayout() {
super.setupLayout();
Form mainForm = new Form(this, Form.MAIN);
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class ElasticsearchDatastorePropertiesTest method testSetupLayout.
/**
* Checks {@link ElasticsearchDatastoreProperties} sets correctly initial layout
* properties
*/
@Test
public void testSetupLayout() {
Form main = properties.getForm(Form.MAIN);
Collection<Widget> mainWidgets = main.getWidgets();
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class BigQueryDatastoreProperties method setupLayout.
@Override
public void setupLayout() {
super.setupLayout();
Form mainForm = new Form(this, Form.MAIN);
mainForm.addRow(projectName);
// Temporarily disable file widgets since their JSON Schema representation is the contents,
// not the path
// mainForm.addRow(Widget.widget(serviceAccountFile).setWidgetType(Widget.FILE_WIDGET_TYPE));
mainForm.addRow(serviceAccountFile);
mainForm.addRow(tempGsFolder);
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class BigQueryInputProperties method setupLayout.
@Override
public void setupLayout() {
super.setupLayout();
Form mainForm = new Form(this, Form.MAIN);
}
use of org.talend.daikon.properties.presentation.Form in project components by Talend.
the class CouchbaseOutputPropertiesTest method testSetupLayout.
@Test
public void testSetupLayout() {
Assert.assertNull(properties.getForm(Form.MAIN));
properties.schema.setupLayout();
properties.setupLayout();
Form mainForm = properties.getForm(Form.MAIN);
Assert.assertNotNull(mainForm);
Assert.assertNotNull(mainForm.getWidget(properties.idFieldName));
}
Aggregations