use of org.talend.commons.ui.swt.formtools.LabelledText in project tbd-studio-se by Talend.
the class SynapseInfoForm method addSynapseFields.
private void addSynapseFields() {
Group synapseGroup = Form.createGroup(this, 2, Messages.getString("SynapseInfoForm.synapseSettings"), 110);
synapseGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
synapseHostnameText = new LabelledText(synapseGroup, Messages.getString("SynapseInfoForm.text.synapse.hostname"), 1);
synapseSparkPoolsText = new LabelledText(synapseGroup, Messages.getString("SynapseInfoForm.text.synapse.sparkPools"), 1);
synapseTokenText = new LabelledText(synapseGroup, Messages.getString("SynapseInfoForm.text.synapse.token"), 1, SWT.PASSWORD | SWT.BORDER | SWT.SINGLE);
synapseTokenText.getTextControl().setEchoChar('*');
}
use of org.talend.commons.ui.swt.formtools.LabelledText in project tbd-studio-se by Talend.
the class StandardHCInfoForm method addDatabricksField.
private void addDatabricksField() {
// $NON-NLS-1$
dataBricksGroup = Form.createGroup(bigComposite, 2, Messages.getString("DataBricksInfoForm.text.configuration"), 110);
dataBricksGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
runSubmitCombo = new // $NON-NLS-1$ $NON-NLS-2$
LabelledCombo(// $NON-NLS-1$ $NON-NLS-2$
dataBricksGroup, // $NON-NLS-1$ $NON-NLS-2$
Messages.getString("DataBricksInfoForm.text.runSubmitMode"), // $NON-NLS-1$ $NON-NLS-2$
"", getRunSubmitModes());
cloudProviderCombo = new // $NON-NLS-1$ $NON-NLS-2$
LabelledCombo(// $NON-NLS-1$ $NON-NLS-2$
dataBricksGroup, // $NON-NLS-1$ $NON-NLS-2$
Messages.getString("DataBricksInfoForm.text.cloudProvider"), // $NON-NLS-1$ $NON-NLS-2$
"", getProviders());
// $NON-NLS-1$
endpointText = new LabelledText(dataBricksGroup, Messages.getString("DataBricksInfoForm.text.endPoint"), 1);
// $NON-NLS-1$
clusterIDText = new LabelledText(dataBricksGroup, Messages.getString("DataBricksInfoForm.text.clusterID"), 1);
tokenText = new // $NON-NLS-1$
LabelledText(// $NON-NLS-1$
dataBricksGroup, // $NON-NLS-1$
Messages.getString("DataBricksInfoForm.text.token"), // $NON-NLS-1$
1, SWT.PASSWORD | SWT.BORDER | SWT.SINGLE);
// $NON-NLS-1$
dbfsDepFolderText = new LabelledText(dataBricksGroup, Messages.getString("DataBricksInfoForm.text.dbfsDepFolder"), 1);
}
use of org.talend.commons.ui.swt.formtools.LabelledText in project tbd-studio-se by Talend.
the class CMConnectionForm method createControl.
@Override
protected void createControl() {
Composite connectionGroup = createParentGroup(Messages.getString("HadoopImportRemoteOptionPage.group.connection.cm"), this, // $NON-NLS-1$
3);
// $NON-NLS-1$
connURLText = new LabelledText(connectionGroup, Messages.getString("HadoopImportRemoteOptionPage.text.connURL.cm"), 2);
// $NON-NLS-1$
usernameText = new LabelledText(connectionGroup, Messages.getString("HadoopImportRemoteOptionPage.text.username"), 2);
// $NON-NLS-1$
passwordText = new LabelledText(connectionGroup, Messages.getString("HadoopImportRemoteOptionPage.text.password"), 2);
passwordText.getTextControl().setEchoChar('*');
createAuthenticationFields(connectionGroup);
boolean createResult = createRetieveMetaFields(connectionGroup);
connButton = new Button(connectionGroup, SWT.PUSH);
GridData connBtnGD = new GridData(SWT.END, SWT.CENTER, false, false);
if (createResult) {
connBtnGD.horizontalSpan = 1;
} else {
connBtnGD.horizontalSpan = 3;
}
connButton.setLayoutData(connBtnGD);
// $NON-NLS-1$
connButton.setText(Messages.getString("HadoopImportRemoteOptionPage.button.connect"));
}
use of org.talend.commons.ui.swt.formtools.LabelledText in project tbd-studio-se by Talend.
the class ABRConnectionForm method createControl.
@Override
protected void createControl() {
Composite connectionGroup = createParentGroup(Messages.getString("HadoopImportRemoteOptionPage.group.connection.abr"), this, // $NON-NLS-1$
3);
// $NON-NLS-1$
connURLText = new LabelledText(connectionGroup, Messages.getString("HadoopImportRemoteOptionPage.text.connURL.abr"), 2);
// $NON-NLS-1$
usernameText = new LabelledText(connectionGroup, Messages.getString("HadoopImportRemoteOptionPage.text.username"), 2);
// $NON-NLS-1$
passwordText = new LabelledText(connectionGroup, Messages.getString("HadoopImportRemoteOptionPage.text.password"), 2);
passwordText.getTextControl().setEchoChar('*');
createAuthenticationFields(connectionGroup);
boolean createResult = createRetieveMetaFields(connectionGroup);
connButton = new Button(connectionGroup, SWT.PUSH);
GridData connBtnGD = new GridData(SWT.END, SWT.CENTER, false, false);
if (createResult) {
connBtnGD.horizontalSpan = 1;
} else {
connBtnGD.horizontalSpan = 3;
}
connButton.setLayoutData(connBtnGD);
// $NON-NLS-1$
connButton.setText(Messages.getString("HadoopImportRemoteOptionPage.button.connect"));
}
use of org.talend.commons.ui.swt.formtools.LabelledText in project tbd-studio-se by Talend.
the class HDIInfoForm method addWebHCatFields.
private void addWebHCatFields() {
// $NON-NLS-1$
Group whcGroup = Form.createGroup(this, 4, Messages.getString("HadoopClusterForm.webHCatSettings"), 110);
whcGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
// $NON-NLS-1$
whcHostnameText = new LabelledText(whcGroup, Messages.getString("HadoopClusterForm.text.webHCat.hostname"), 1);
// $NON-NLS-1$
whcPortText = new LabelledText(whcGroup, Messages.getString("HadoopClusterForm.text.webHCat.port"), 1);
// $NON-NLS-1$
whcUsernameText = new LabelledText(whcGroup, Messages.getString("HadoopClusterForm.text.webHCat.username"), 1);
whcJobResultFolderText = new // $NON-NLS-1$
LabelledText(// $NON-NLS-1$
whcGroup, // $NON-NLS-1$
Messages.getString("HadoopClusterForm.text.webHCat.jobResultFolder"), 1);
}
Aggregations