Search in sources :

Example 1 with LabelledFileField

use of org.talend.commons.ui.swt.formtools.LabelledFileField in project tdi-studio-se by Talend.

the class JSONFileOutputStep1Form method createOutputSettingArea.

private void createOutputSettingArea() {
    Group group = Form.createGroup(this, 1, "Output Setting", 80);
    GridData data = new GridData(GridData.FILL_HORIZONTAL);
    data.heightHint = 150;
    group.setLayoutData(data);
    Composite compositeButton = Form.startNewDimensionnedGridLayout(group, 1, WIDTH_GRIDDATA_PIXEL, 20);
    noFileButton = new Button(compositeButton, SWT.RADIO);
    noFileButton.setText("Create manually");
    useFileButton = new Button(compositeButton, SWT.RADIO);
    useFileButton.setText("Create from a file");
    Composite compositeOutput = Form.startNewDimensionnedGridLayout(group, 3, WIDTH_GRIDDATA_PIXEL, 20);
    String[] extensions = new String[] { "*.JSON", "*.*", "*" };
    jsonFilePath = new LabelledFileField(compositeOutput, "JSON File", extensions);
    jsonFilePath.setText("");
    EMetadataEncoding[] values = EMetadataEncoding.values();
    String[] encodingData = new String[values.length];
    for (int j = 0; j < values.length; j++) {
        encodingData[j] = values[j].getName();
    }
    encodingCombo = new LabelledCombo(compositeOutput, "Encording", "Encording", encodingData, 1, true, SWT.NONE);
    encodingCombo.setText("");
    Composite limitation = new Composite(compositeOutput, SWT.NONE);
    limitation.setLayout(new GridLayout(2, false));
    labelLimitation = new Label(limitation, SWT.LEFT);
    labelLimitation.setText("Limit");
    commonNodesLimitation = new Text(limitation, SWT.BORDER);
    GridData gd = new GridData(18, 12);
    commonNodesLimitation.setLayoutData(gd);
    commonNodesLimitation.setText(String.valueOf(TreePopulator.getLimit()));
    labelLimitation.setToolTipText(MessageFormat.format(Messages.JSONLimitToolTip, commonNodesLimitation.getText()));
    if (!noFileButton.getSelection() && !useFileButton.getSelection()) {
        noFileButton.setSelection(true);
    }
}
Also used : LabelledCombo(org.talend.commons.ui.swt.formtools.LabelledCombo) Group(org.eclipse.swt.widgets.Group) Composite(org.eclipse.swt.widgets.Composite) Label(org.eclipse.swt.widgets.Label) LabelledFileField(org.talend.commons.ui.swt.formtools.LabelledFileField) Text(org.eclipse.swt.widgets.Text) GridLayout(org.eclipse.swt.layout.GridLayout) Button(org.eclipse.swt.widgets.Button) GridData(org.eclipse.swt.layout.GridData) EMetadataEncoding(org.talend.core.model.metadata.EMetadataEncoding)

Example 2 with LabelledFileField

use of org.talend.commons.ui.swt.formtools.LabelledFileField in project tdi-studio-se by Talend.

the class RepositoryWebService method ctrate.

public void ctrate() {
    wsdlComposite = new Composite(uiParent, SWT.NONE);
    GridLayout layout = new GridLayout();
    layout.marginWidth = 20;
    layout.marginHeight = 20;
    wsdlComposite.setLayout(layout);
    wsdlComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
    // WSDL URL
    Composite wsdlUrlcomposite = new Composite(wsdlComposite, SWT.NONE);
    GridData layoutData = new GridData(GridData.FILL_HORIZONTAL);
    layoutData.verticalIndent = 2;
    layoutData.verticalSpan = 1;
    wsdlUrlcomposite.setLayoutData(layoutData);
    layout = new GridLayout(4, false);
    wsdlUrlcomposite.setLayout(layout);
    wsdlField = new LabelledFileField(wsdlUrlcomposite, ExternalWebServiceUIProperties.FILE_LABEL, ExternalWebServiceUIProperties.FILE_EXTENSIONS, 1, SWT.BORDER) {

        @Override
        protected void setFileFieldValue(String result) {
            if (result != null) {
                getTextControl().setText(TalendTextUtils.addQuotes(PathUtils.getPortablePath(result)));
                getDataFromNet();
                isFirst = false;
            }
        }
    };
    wsdlField.addModifyListener(new ModifyListener() {

        public void modifyText(ModifyEvent e) {
            // TODO Auto-generated method stub
            URLValue = wsdlField.getText();
            connection.setWSDL(URLValue);
        }
    });
    // add a listener for ctrl+space.
    TalendProposalUtils.installOn(wsdlField.getTextControl(), connector.getProcess(), connector);
    //$NON-NLS-1$
    String wsdlUrl = (String) connector.getElementParameter("ENDPOINT").getValue();
    if (wsdlUrl != null) {
        wsdlField.setText(wsdlUrl);
    }
    refreshbut = new Button(wsdlUrlcomposite, SWT.PUSH | SWT.CENTER);
    refreshbut.setImage(ImageProvider.getImage(EImage.REFRESH_ICON));
    GridData butData = new GridData();
    butData.verticalSpan = 1;
    refreshbut.setLayoutData(butData);
    // add port name UI
    Composite wsdlPortcomposite = new Composite(wsdlComposite, SWT.NONE);
    GridData portlayoutData = new GridData(GridData.FILL_HORIZONTAL);
    portlayoutData.verticalIndent = 2;
    portlayoutData.verticalSpan = 3;
    wsdlPortcomposite.setLayoutData(portlayoutData);
    layout = new GridLayout(2, false);
    layout.verticalSpacing = 1;
    wsdlPortcomposite.setLayout(layout);
    portNameLabel = new Label(wsdlPortcomposite, SWT.NONE);
    //$NON-NLS-1$
    portNameLabel.setText(Messages.getString("WebServiceUI.Port"));
    GridData portLabelGridData = new GridData();
    portLabelGridData.verticalAlignment = SWT.TOP;
    portNameLabel.setLayoutData(portLabelGridData);
    Composite portTabComposite = new Composite(wsdlPortcomposite, SWT.BORDER);
    portTabComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
    portTabComposite.setLayout(new FillLayout());
    //$NON-NLS-1$
    ExtendedTableModel<PortNames> portModel = new ExtendedTableModel<PortNames>("PORTNAMELIST", allPortNames);
    portListTableView = new AbstractDataTableEditorView<PortNames>(portTabComposite, SWT.NONE, portModel, false, true, false) {

        @Override
        protected void setTableViewerCreatorOptions(TableViewerCreator<PortNames> newTableViewerCreator) {
            super.setTableViewerCreatorOptions(newTableViewerCreator);
            newTableViewerCreator.setHeaderVisible(false);
            newTableViewerCreator.setVerticalScroll(true);
            newTableViewerCreator.setReadOnly(true);
        }

        @Override
        protected void createColumns(TableViewerCreator<PortNames> tableViewerCreator, Table table) {
            TableViewerCreatorColumn rowColumn = new TableViewerCreatorColumn(tableViewerCreator);
            //$NON-NLS-1$
            rowColumn.setTitle(Messages.getString("WebServiceUI.COLUMN"));
            rowColumn.setBeanPropertyAccessors(new IBeanPropertyAccessors<PortNames, String>() {

                public String get(PortNames bean) {
                    return bean.getPortName();
                }

                public void set(PortNames bean, String value) {
                    bean.setPortName(value);
                }
            });
            rowColumn.setWeight(60);
            rowColumn.setModifiable(true);
            rowColumn.setMinimumWidth(60);
            rowColumn.setCellEditor(new TextCellEditor(tableViewerCreator.getTable()));
        }
    };
    // WSDL Operation
    Composite wsdlOperationcomposite = new Composite(wsdlComposite, SWT.NONE);
    GridData operationlayoutData = new GridData(GridData.FILL_BOTH);
    operationlayoutData.verticalIndent = 2;
    operationlayoutData.verticalSpan = 5;
    wsdlOperationcomposite.setLayoutData(operationlayoutData);
    layout = new GridLayout(2, false);
    layout.verticalSpacing = 3;
    wsdlOperationcomposite.setLayout(layout);
    // wsdlOperationcomposite.setLayoutData(new GridData(GridData.FILL_BOTH));
    operationLabel = new Label(wsdlOperationcomposite, SWT.NONE);
    //$NON-NLS-1$
    operationLabel.setText(Messages.getString("WebServiceUI.Operation"));
    GridData opertionLabelGridData = new GridData();
    opertionLabelGridData.verticalAlignment = SWT.TOP;
    operationLabel.setLayoutData(opertionLabelGridData);
    Composite tabComposite = new Composite(wsdlOperationcomposite, SWT.BORDER);
    GridData tabGridData = new GridData(GridData.FILL_BOTH);
    // tabGridData.verticalSpan = 3;
    tabComposite.setLayoutData(tabGridData);
    tabComposite.setLayout(new FillLayout());
    //$NON-NLS-1$
    ExtendedTableModel<Function> funModel = new ExtendedTableModel<Function>("FUNCTIONLIST", allfunList);
    listTableView = new AbstractDataTableEditorView<Function>(tabComposite, SWT.NONE, funModel, false, true, false) {

        @Override
        protected void setTableViewerCreatorOptions(TableViewerCreator<Function> newTableViewerCreator) {
            super.setTableViewerCreatorOptions(newTableViewerCreator);
            newTableViewerCreator.setHeaderVisible(false);
            newTableViewerCreator.setVerticalScroll(true);
            newTableViewerCreator.setReadOnly(true);
        }

        @Override
        protected void createColumns(TableViewerCreator<Function> tableViewerCreator, Table table) {
            TableViewerCreatorColumn rowColumn = new TableViewerCreatorColumn(tableViewerCreator);
            //$NON-NLS-1$
            rowColumn.setTitle(Messages.getString("WebServiceUI.COLUMN"));
            rowColumn.setBeanPropertyAccessors(new IBeanPropertyAccessors<Function, String>() {

                public String get(Function bean) {
                    return bean.getName();
                }

                public void set(Function bean, String value) {
                    bean.setName(value);
                }
            });
            rowColumn.setWeight(60);
            rowColumn.setModifiable(true);
            rowColumn.setMinimumWidth(60);
            rowColumn.setCellEditor(new TextCellEditor(tableViewerCreator.getTable()));
        }
    };
    addListenerForWSDLCom();
}
Also used : Table(org.eclipse.swt.widgets.Table) Composite(org.eclipse.swt.widgets.Composite) ModifyListener(org.eclipse.swt.events.ModifyListener) Label(org.eclipse.swt.widgets.Label) LabelledFileField(org.talend.commons.ui.swt.formtools.LabelledFileField) FillLayout(org.eclipse.swt.layout.FillLayout) PortNames(org.talend.designer.webservice.ws.wsdlinfo.PortNames) Function(org.talend.designer.webservice.ws.wsdlinfo.Function) GridLayout(org.eclipse.swt.layout.GridLayout) ModifyEvent(org.eclipse.swt.events.ModifyEvent) Button(org.eclipse.swt.widgets.Button) GridData(org.eclipse.swt.layout.GridData) IBeanPropertyAccessors(org.talend.commons.utils.data.bean.IBeanPropertyAccessors) TextCellEditor(org.eclipse.jface.viewers.TextCellEditor) ExtendedTableModel(org.talend.commons.ui.swt.extended.table.ExtendedTableModel) TableViewerCreatorColumn(org.talend.commons.ui.swt.tableviewer.TableViewerCreatorColumn)

Example 3 with LabelledFileField

use of org.talend.commons.ui.swt.formtools.LabelledFileField in project tdi-studio-se by Talend.

the class FTPForm method addFields.

/*
     * (non-Javadoc)
     *
     * @see org.talend.repository.ui.swt.utils.AbstractForm#addFields()
     */
@Override
protected void addFields() {
    Group ftpParameterGroup = new Group(this, SWT.NULL);
    //$NON-NLS-1$
    ftpParameterGroup.setText("Server");
    GridLayout ftpParameterLayout = new GridLayout();
    ftpParameterLayout.numColumns = 2;
    ftpParameterGroup.setLayout(ftpParameterLayout);
    GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
    ftpParameterGroup.setLayoutData(gridData);
    //$NON-NLS-1$
    ftpUsernameText = new LabelledText(ftpParameterGroup, Messages.getString("FTPForm_ftpUsernameText"), true);
    ftpPasswordText = new LabelledText(ftpParameterGroup, Messages.getString("FTPForm_ftpPasswordText"), 1, //$NON-NLS-1$
    SWT.BORDER | SWT.PASSWORD);
    //$NON-NLS-1$
    ftpHostText = new LabelledText(ftpParameterGroup, Messages.getString("FTPForm_ftpHostText"), true);
    //$NON-NLS-1$
    ftpPortText = new LabelledText(ftpParameterGroup, Messages.getString("FTPForm_ftpPortText"), true);
    encodingComp = new Composite(ftpParameterGroup, SWT.NONE);
    GridData encodingCompGD = new GridData(SWT.FILL, SWT.CENTER, true, false);
    encodingCompGD.horizontalSpan = 2;
    encodingComp.setLayoutData(encodingCompGD);
    GridLayout encodingCompLayout = new GridLayout(4, false);
    encodingCompLayout.marginWidth = 0;
    encodingComp.setLayout(encodingCompLayout);
    fnEncodingBtn = new Button(encodingComp, SWT.CHECK);
    //$NON-NLS-1$
    fnEncodingBtn.setText("Filename encoding");
    fnEncodingBtnGD = new GridData(SWT.BEGINNING, SWT.CENTER, false, false);
    fnEncodingBtn.setLayoutData(fnEncodingBtnGD);
    List<String> codeList = new ArrayList<String>();
    codeList.add(ENCODING);
    //$NON-NLS-1$
    codeList.add("UTF-8");
    codeList.add(CUSTOM);
    //$NON-NLS-1$ //$NON-NLS-2$
    encodeCombo = new LabelledCombo(encodingComp, "Encoding", "", codeList);
    if (getConnection().getEcoding() == null || "".equals(getConnection().getEcoding())) {
        //$NON-NLS-1$
        encodeCombo.setText(ENCODING);
        getConnection().setEcoding(encodeCombo.getText());
    }
    customText = new Text(encodingComp, SWT.BORDER | SWT.SINGLE);
    GridData gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
    gridData.horizontalSpan = 1;
    customText.setLayoutData(gd);
    List<String> connList = new ArrayList<String>();
    //$NON-NLS-1$
    connList.add("Passive");
    //$NON-NLS-1$
    connList.add("Active");
    //$NON-NLS-1$ //$NON-NLS-2$
    connModelCombo = new LabelledCombo(ftpParameterGroup, Messages.getString("FTPForm_conn_model"), "", connList);
    if (getConnection().getMode() == null || "".equals(getConnection().getMode())) {
        //$NON-NLS-1$
        //$NON-NLS-1$
        connModelCombo.setText(Messages.getString("FTPForm_passive"));
        getConnection().setMode(connModelCombo.getText());
    }
    buildGroup = new Group(this, SWT.NULL);
    //$NON-NLS-1$
    buildGroup.setText("Parameter");
    GridLayout layoutGroup = new GridLayout(1, false);
    buildGroup.setLayout(layoutGroup);
    gridData = new GridData(GridData.FILL_HORIZONTAL);
    buildGroup.setLayoutData(gridData);
    Composite checkButtonCom = new Composite(buildGroup, SWT.NONE);
    layoutGroup = new GridLayout(2, false);
    checkButtonCom.setLayout(layoutGroup);
    gridData = new GridData(GridData.FILL_HORIZONTAL);
    checkButtonCom.setLayoutData(gridData);
    sftpSuppBut = new Button(checkButtonCom, SWT.CHECK);
    //$NON-NLS-1$
    sftpSuppBut.setText(Messages.getString("FTPForm_sftp_suport"));
    ftpsSuppBut = new Button(checkButtonCom, SWT.CHECK);
    //$NON-NLS-1$
    ftpsSuppBut.setText(Messages.getString("FTPForm_ftps_support"));
    String[] methodComboStr = { PUBLIC_KEY, PASSWORD };
    tetsCom = new Composite(buildGroup, SWT.NONE);
    layoutGroup = new GridLayout(1, false);
    tetsCom.setLayout(layoutGroup);
    gridData = new GridData(GridData.FILL_HORIZONTAL);
    tetsCom.setLayoutData(gridData);
    sftpChildCom = new Composite(tetsCom, SWT.NONE);
    layoutGroup = new GridLayout(3, false);
    sftpChildCom.setLayout(layoutGroup);
    sftpChildComGridData = new GridData(GridData.FILL_HORIZONTAL);
    gridData.minimumWidth = 300;
    gridData.minimumHeight = 120;
    gridData.widthHint = 300;
    gridData.heightHint = 110;
    sftpChildCom.setLayoutData(sftpChildComGridData);
    methodCombo = new LabelledCombo(sftpChildCom, Messages.getString("FTPForm_authen_method"), "", methodComboStr, 2, false, //$NON-NLS-1$ //$NON-NLS-2$
    SWT.NONE);
    // file Field
    //$NON-NLS-1$
    String[] extensions = { "*.*" };
    //$NON-NLS-1$
    privatekeyText = new LabelledFileField(sftpChildCom, Messages.getString("FTPForm_privatekeyText"), extensions);
    passphraseText = new LabelledText(sftpChildCom, Messages.getString("FTPForm_passphraseText"), 1, //$NON-NLS-1$
    SWT.BORDER | SWT.PASSWORD);
    ftpsChildCom = new Composite(tetsCom, SWT.NONE);
    layoutGroup = new GridLayout(3, false);
    ftpsChildCom.setLayout(layoutGroup);
    ftpsChildComGridData = new GridData(GridData.FILL_HORIZONTAL);
    gridData.minimumWidth = 300;
    gridData.minimumHeight = 120;
    gridData.widthHint = 300;
    gridData.heightHint = 90;
    ftpsChildCom.setLayoutData(ftpsChildComGridData);
    //$NON-NLS-1$
    keyFileText = new LabelledFileField(ftpsChildCom, Messages.getString("FTPForm_keyFileText"), extensions);
    keyPasswordText = new LabelledText(ftpsChildCom, Messages.getString("FTPForm_keyPasswordText"), 1, //$NON-NLS-1$
    SWT.BORDER | SWT.PASSWORD);
    proxyCom = new Composite(buildGroup, SWT.NONE);
    layoutGroup = new GridLayout(1, false);
    proxyCom.setLayout(layoutGroup);
    gridData = new GridData(GridData.FILL_HORIZONTAL);
    proxyCom.setLayoutData(gridData);
    useSocksBut = new Button(proxyCom, SWT.CHECK);
    //$NON-NLS-1$
    useSocksBut.setText(Messages.getString("FTPForm_sccks_proxy"));
    proxyChildCom = new Composite(proxyCom, SWT.NONE);
    layoutGroup = new GridLayout(2, false);
    proxyChildCom.setLayout(layoutGroup);
    proxyChildComGridData = new GridData(GridData.FILL_HORIZONTAL);
    proxyChildCom.setLayoutData(proxyChildComGridData);
    //$NON-NLS-1$
    proxyHostText = new LabelledText(proxyChildCom, Messages.getString("FTPForm_proxyHostText"), true);
    //$NON-NLS-1$
    proxyPortText = new LabelledText(proxyChildCom, Messages.getString("FTPForm_proxyPortText"), true);
    //$NON-NLS-1$
    proxyUsernameText = new LabelledText(proxyChildCom, Messages.getString("FTPForm_proxyUsernameText"), true);
    proxyPasswordText = new LabelledText(proxyChildCom, Messages.getString("FTPForm_proxyPasswordText"), 1, //$NON-NLS-1$
    SWT.BORDER | SWT.PASSWORD);
    checkFieldsValue();
}
Also used : LabelledText(org.talend.commons.ui.swt.formtools.LabelledText) LabelledCombo(org.talend.commons.ui.swt.formtools.LabelledCombo) Group(org.eclipse.swt.widgets.Group) Composite(org.eclipse.swt.widgets.Composite) ArrayList(java.util.ArrayList) Text(org.eclipse.swt.widgets.Text) LabelledText(org.talend.commons.ui.swt.formtools.LabelledText) LabelledFileField(org.talend.commons.ui.swt.formtools.LabelledFileField) GridLayout(org.eclipse.swt.layout.GridLayout) Button(org.eclipse.swt.widgets.Button) GridData(org.eclipse.swt.layout.GridData)

Example 4 with LabelledFileField

use of org.talend.commons.ui.swt.formtools.LabelledFileField in project tesb-studio-se by Talend.

the class WsdlFieldPart method createControl.

@Override
public Control createControl(Composite parent) {
    wsdlField = new LabelledFileField(parent, "WSDL:", new String[] { "*.wsdl", "*.*" }, 1, SWT.BORDER) {

        protected void setFileFieldValue(String result) {
            if (result != null) {
                setRawFieldValue(result);
            }
        }
    };
    wsdlField.getTextControl().addKeyListener(new KeyAdapter() {

        public void keyPressed(KeyEvent event) {
            switch(event.keyCode) {
                case SWT.CR:
                case SWT.KEYPAD_CR:
                    refreshTriggered();
            }
        }
    });
    return wsdlField.getTextControl();
}
Also used : KeyEvent(org.eclipse.swt.events.KeyEvent) KeyAdapter(org.eclipse.swt.events.KeyAdapter) LabelledFileField(org.talend.commons.ui.swt.formtools.LabelledFileField)

Example 5 with LabelledFileField

use of org.talend.commons.ui.swt.formtools.LabelledFileField in project tesb-studio-se by Talend.

the class OpenWSDLPage method createControl.

public void createControl(Composite parent) {
    Composite parentArea = new Composite(parent, SWT.NONE);
    parentArea.setLayout(new GridLayout());
    radioCreateWsdl = new Button(parentArea, SWT.RADIO);
    radioCreateWsdl.setText(Messages.AssignWsdlDialog_WsdlChoice_CreateNew);
    radioCreateWsdl.addSelectionListener(new SelectionAdapter() {

        @Override
        public void widgetSelected(SelectionEvent e) {
            switchRadio();
        }
    });
    radioCreateWsdl.setSelection(true);
    radioImportWsdl = new Button(parentArea, SWT.RADIO);
    radioImportWsdl.setText(Messages.AssignWsdlDialog_WsdlChoice_ImportExistent);
    radioImportWsdl.addSelectionListener(new SelectionAdapter() {

        @Override
        public void widgetSelected(SelectionEvent e) {
            switchRadio();
        }
    });
    Composite wsdlFileArea = new Composite(parentArea, SWT.NONE);
    wsdlFileArea.setLayoutData(new GridData(SWT.FILL, SWT.NONE, true, false));
    GridLayout layout = new GridLayout(3, false);
    //        layout.marginLeft = 15;
    //        layout.marginHeight = 0;
    wsdlFileArea.setLayout(layout);
    //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    String[] xmlExtensions = { "*.xml;*.xsd;*.wsdl", "*.*", "*" };
    wsdlText = new LabelledFileField(wsdlFileArea, Messages.AssignWsdlDialog_ExistentWsdlFilePath, xmlExtensions);
    final String initialPath = //$NON-NLS-1$
    null == item || null == item.getConnection() ? //$NON-NLS-1$
    "" : ((ServiceConnection) item.getConnection()).getWSDLPath();
    wsdlText.setText(initialPath);
    wsdlText.addModifyListener(new ModifyListener() {

        public void modifyText(ModifyEvent e) {
            path = wsdlText.getText().trim();
            setPageComplete(!path.isEmpty());
        }
    });
    new Label(wsdlFileArea, SWT.NONE);
    checkImport = new Button(wsdlFileArea, SWT.CHECK);
    checkImport.setText(Messages.AssignWsdlDialog_ImportWsdlSchemas);
    checkImport.setSelection(true);
    switchRadio();
    setControl(parentArea);
}
Also used : Composite(org.eclipse.swt.widgets.Composite) ModifyListener(org.eclipse.swt.events.ModifyListener) SelectionAdapter(org.eclipse.swt.events.SelectionAdapter) Label(org.eclipse.swt.widgets.Label) LabelledFileField(org.talend.commons.ui.swt.formtools.LabelledFileField) GridLayout(org.eclipse.swt.layout.GridLayout) ModifyEvent(org.eclipse.swt.events.ModifyEvent) Button(org.eclipse.swt.widgets.Button) SelectionEvent(org.eclipse.swt.events.SelectionEvent) GridData(org.eclipse.swt.layout.GridData)

Aggregations

LabelledFileField (org.talend.commons.ui.swt.formtools.LabelledFileField)9 GridData (org.eclipse.swt.layout.GridData)8 GridLayout (org.eclipse.swt.layout.GridLayout)7 Composite (org.eclipse.swt.widgets.Composite)7 Button (org.eclipse.swt.widgets.Button)5 Group (org.eclipse.swt.widgets.Group)4 Label (org.eclipse.swt.widgets.Label)4 ModifyEvent (org.eclipse.swt.events.ModifyEvent)2 ModifyListener (org.eclipse.swt.events.ModifyListener)2 Text (org.eclipse.swt.widgets.Text)2 LabelledCombo (org.talend.commons.ui.swt.formtools.LabelledCombo)2 LabelledText (org.talend.commons.ui.swt.formtools.LabelledText)2 ArrayList (java.util.ArrayList)1 TextCellEditor (org.eclipse.jface.viewers.TextCellEditor)1 KeyAdapter (org.eclipse.swt.events.KeyAdapter)1 KeyEvent (org.eclipse.swt.events.KeyEvent)1 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)1 SelectionEvent (org.eclipse.swt.events.SelectionEvent)1 FillLayout (org.eclipse.swt.layout.FillLayout)1 Table (org.eclipse.swt.widgets.Table)1