use of org.talend.commons.ui.swt.formtools.LabelledText in project tbd-studio-se by Talend.
the class AbstractConnectionForm method createAuthenticationFields.
protected void createAuthenticationFields(Composite parent) {
useAuthBtn = new Button(parent, SWT.CHECK);
// $NON-NLS-1$
useAuthBtn.setText(Messages.getString("HadoopImportRemoteOptionPage.auth.check2"));
GridData useAuthGD = new GridData();
useAuthGD.horizontalSpan = 3;
useAuthBtn.setLayoutData(useAuthGD);
trustStoreTypeCombo = new // $NON-NLS-1$
LabelledCombo(// $NON-NLS-1$
parent, // $NON-NLS-1$
Messages.getString("HadoopImportRemoteOptionPage.auth.type"), null, ETrustStoreType.getAllTrustStoreTypeNames().toArray(new String[0]), 2, true);
trustStoreTypeCombo.select(0);
// $NON-NLS-1$
trustStorePasswordText = new LabelledText(parent, Messages.getString("HadoopImportRemoteOptionPage.auth.pwd"), 2);
trustStorePasswordText.getTextControl().setEchoChar('*');
trustStoreFileText = new // $NON-NLS-1$
LabelledFileField(// $NON-NLS-1$
parent, // $NON-NLS-1$
Messages.getString("HadoopImportRemoteOptionPage.auth.file"), // $NON-NLS-1$
new String[] { "*.*" });
updateAuthFieldsState(false);
}
Aggregations