Search in sources :

Example 66 with TableColumn

use of org.eclipse.swt.widgets.TableColumn in project cubrid-manager by CUBRID.

the class MultiHostConnectionDialog method createDialogArea.

@Override
protected Control createDialogArea(Composite parent) {
    Composite parentComp = (Composite) super.createDialogArea(parent);
    Composite newComp = new Composite(parentComp, SWT.NONE);
    GridData data = new GridData(GridData.FILL_BOTH);
    setTitle(Messages.titleConnectionProgress);
    setMessage(Messages.msgClickToConnect, IMessageProvider.INFORMATION);
    GridLayout layout = new GridLayout();
    layout.numColumns = 1;
    layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN);
    layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN);
    layout.verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING);
    layout.horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING);
    newComp.setLayout(layout);
    data.grabExcessHorizontalSpace = true;
    data.grabExcessVerticalSpace = true;
    newComp.setLayoutData(data);
    viewer = new TableViewer(newComp, SWT.FULL_SELECTION | SWT.MULTI | SWT.BORDER);
    final GridData gdColumnsTable = new GridData(SWT.FILL, SWT.FILL, true, true);
    table = viewer.getTable();
    table.setLayoutData(gdColumnsTable);
    table.setHeaderVisible(true);
    table.setLinesVisible(true);
    {
        TableColumn icons = new TableColumn(table, SWT.CENTER, 0);
        icons.setText("");
        icons.setWidth(20);
        TableColumn taskName = new TableColumn(table, SWT.CENTER, 1);
        taskName.setText(Messages.colTaskName);
        taskName.setWidth(150);
        TableColumn taskProgress = new TableColumn(table, SWT.CENTER, 2);
        taskProgress.setText(Messages.colTaskProgress);
        taskProgress.setWidth(300);
        TableColumn details = new TableColumn(table, SWT.CENTER, 3);
        details.setText(Messages.colTaskDetails);
        details.setWidth(300);
    }
    initTask();
    Control control = super.createDialogArea(parent);
    return control;
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Control(org.eclipse.swt.widgets.Control) Composite(org.eclipse.swt.widgets.Composite) GridData(org.eclipse.swt.layout.GridData) TableViewer(org.eclipse.jface.viewers.TableViewer) TableColumn(org.eclipse.swt.widgets.TableColumn)

Example 67 with TableColumn

use of org.eclipse.swt.widgets.TableColumn in project cubrid-manager by CUBRID.

the class ImportExportConnectionDialog method createTable.

private void createTable(Composite composite) {
    hostListView = CheckboxTableViewer.newCheckList(composite, SWT.V_SCROLL | SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.FULL_SELECTION);
    hostListView.addCheckStateListener(new ICheckStateListener() {

        public void checkStateChanged(CheckStateChangedEvent event) {
            if (isExport) {
                valid();
            }
        }
    });
    final GridData gdColumnsTable = new GridData(SWT.FILL, SWT.FILL, true, true);
    gdColumnsTable.horizontalSpan = 3;
    gdColumnsTable.heightHint = 189;
    hostListView.getTable().setLayoutData(gdColumnsTable);
    hostListView.getTable().setLinesVisible(true);
    hostListView.getTable().setHeaderVisible(true);
    final TableColumn hostName = new TableColumn(hostListView.getTable(), SWT.NONE);
    hostName.setAlignment(SWT.LEFT);
    hostName.setWidth(WIDTH_NAME);
    hostName.setText(Messages.columnHeaderServerInfo);
    if (isExport) {
        hostName.setImage(CommonUIPlugin.getImage("icons/checked_green.png"));
    } else {
        hostName.setImage(CommonUIPlugin.getImage("icons/unchecked.gif"));
    }
    hostName.addListener(SWT.Selection, new Listener() {

        public void handleEvent(Event event) {
            selectAll = !selectAll;
            hostListView.setAllChecked(selectAll);
            Image image = selectAll ? CommonUIPlugin.getImage("icons/checked_green.png") : CommonUIPlugin.getImage("icons/unchecked.gif");
            hostName.setImage(image);
            hostListView.refresh();
            if (isExport) {
                valid();
            }
        }
    });
    final TableColumn hostAddress = new TableColumn(hostListView.getTable(), SWT.NONE);
    hostAddress.setAlignment(SWT.CENTER);
    hostAddress.setWidth(WIDTH_ADDRESS);
    hostAddress.setText(Messages.columnHeaderServerAddress);
    final TableColumn hostPort = new TableColumn(hostListView.getTable(), SWT.NONE);
    hostPort.setAlignment(SWT.CENTER);
    hostPort.setWidth(WIDTH_PORT);
    hostPort.setText(Messages.columnHeaderServerPort);
    final TableColumn jdbcVer = new TableColumn(hostListView.getTable(), SWT.NONE);
    jdbcVer.setAlignment(SWT.CENTER);
    jdbcVer.setWidth(WIDTH_JDBC);
    jdbcVer.setText(Messages.columnHeaderServerJdbcVersion);
    final TableColumn hostUser = new TableColumn(hostListView.getTable(), SWT.NONE);
    hostUser.setAlignment(SWT.CENTER);
    hostUser.setWidth(WIDTH_USER);
    hostUser.setText(Messages.columnHeaderServerUserName);
    //		final TableColumn savedPass = new TableColumn(hostListView.getTable(), SWT.NONE);
    //		savedPass.setAlignment(SWT.CENTER);
    //		savedPass.setWidth(WIDTH_SAVEPASS);
    //		savedPass.setText(Messages.columnHeaderServerAutoSave);
    hostListView.setContentProvider(new ServerInfoTableViewerContentProvider());
    hostListView.setLabelProvider(new ServerInfoTableViewerLabelProvider());
    if (isExport) {
        initExportTableData();
    }
}
Also used : ICheckStateListener(org.eclipse.jface.viewers.ICheckStateListener) Listener(org.eclipse.swt.widgets.Listener) ServerInfoTableViewerLabelProvider(com.cubrid.cubridmanager.ui.host.editor.ServerInfoTableViewerLabelProvider) ICheckStateListener(org.eclipse.jface.viewers.ICheckStateListener) GridData(org.eclipse.swt.layout.GridData) CheckStateChangedEvent(org.eclipse.jface.viewers.CheckStateChangedEvent) Event(org.eclipse.swt.widgets.Event) SelectionEvent(org.eclipse.swt.events.SelectionEvent) ServerInfoTableViewerContentProvider(com.cubrid.cubridmanager.ui.host.editor.ServerInfoTableViewerContentProvider) CheckStateChangedEvent(org.eclipse.jface.viewers.CheckStateChangedEvent) Image(org.eclipse.swt.graphics.Image) TableColumn(org.eclipse.swt.widgets.TableColumn)

Example 68 with TableColumn

use of org.eclipse.swt.widgets.TableColumn in project cubrid-manager by CUBRID.

the class DBSpaceLabelProvider method createBrokerInfoItem.

private void createBrokerInfoItem(ExpandBar bar, int index) {
    ExpandItem brokerInfoItem = new ExpandItem(bar, SWT.NONE, index);
    brokerInfoItem.setText(Messages.titleBrokerInfo);
    Composite brokerComposite = new Composite(bar, SWT.None);
    brokerComposite.setLayout(new FillLayout());
    brokerTableViewer = new TableViewer(brokerComposite, SWT.BORDER | SWT.FULL_SELECTION);
    brokerTableViewer.getTable().setHeaderVisible(true);
    brokerTableViewer.getTable().setLinesVisible(true);
    brokerTableViewer.setContentProvider(new BrokersStatusContentProvider());
    BrokersStatusLabelProvider brokersStatusLabelProvider = new BrokersStatusLabelProvider();
    brokersStatusLabelProvider.setServerInfo(serverInfo);
    brokerTableViewer.setLabelProvider(brokersStatusLabelProvider);
    TableColumn tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblBrokerName);
    tblColumn.setToolTipText(Messages.tipBrokerName);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.CENTER);
    tblColumn.setText(Messages.tblBrokerStatus);
    tblColumn.setToolTipText(Messages.tipBrokerStatus);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblBrokerProcess);
    tblColumn.setToolTipText(Messages.tipBrokerProcess);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblPort);
    tblColumn.setToolTipText(Messages.tipPort);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblServer);
    tblColumn.setToolTipText(Messages.tipServer);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblQueue);
    tblColumn.setToolTipText(Messages.tipQueue);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblRequest);
    tblColumn.setToolTipText(Messages.tipRequest);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblTps);
    tblColumn.setToolTipText(Messages.tipTps);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblQps);
    tblColumn.setToolTipText(Messages.tipQps);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblLongTran);
    tblColumn.setToolTipText(Messages.tipLongTran);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblLongQuery);
    tblColumn.setToolTipText(Messages.tipLongQuery);
    tblColumn = new TableColumn(brokerTableViewer.getTable(), SWT.LEFT);
    tblColumn.setText(Messages.tblErrQuery);
    tblColumn.setToolTipText(Messages.tipErrQuery);
    brokerInfoItem.setHeight(120);
    brokerInfoItem.setExpanded(true);
    brokerInfoItem.setControl(brokerComposite);
}
Also used : Composite(org.eclipse.swt.widgets.Composite) ExpandItem(org.eclipse.swt.widgets.ExpandItem) BrokersStatusContentProvider(com.cubrid.cubridmanager.ui.broker.editor.BrokersStatusContentProvider) FillLayout(org.eclipse.swt.layout.FillLayout) TableViewer(org.eclipse.jface.viewers.TableViewer) BrokersStatusLabelProvider(com.cubrid.cubridmanager.ui.broker.editor.BrokersStatusLabelProvider) TableColumn(org.eclipse.swt.widgets.TableColumn)

Example 69 with TableColumn

use of org.eclipse.swt.widgets.TableColumn in project MonjaDB by Kanatoko.

the class MActionView method init2.

//--------------------------------------------------------------------------------
public void init2() {
    parent.setLayout(new FormLayout());
    sashForm = new SashForm(parent, SWT.SMOOTH | SWT.VERTICAL);
    FormData fd_sashForm1 = new FormData();
    fd_sashForm1.top = new FormAttachment(0, 1);
    fd_sashForm1.left = new FormAttachment(0, 1);
    fd_sashForm1.right = new FormAttachment(100, -1);
    fd_sashForm1.bottom = new FormAttachment(100, -1);
    sashForm.setLayoutData(fd_sashForm1);
    table = new Table(sashForm, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI);
    table.addSelectionListener(new SelectionAdapter() {

        public void widgetSelected(SelectionEvent e) {
            onTableStateChange();
        }
    });
    table.addKeyListener(new KeyAdapter() {

        public void keyPressed(KeyEvent e) {
            if (e.keyCode == 13) {
                e.doit = false;
                if (//Shift + Enter
                (e.stateMask & SWT.SHIFT) != 0) {
                    repeatActionsOnTable();
                } else {
                    editActions();
                }
            }
        }
    });
    FormData fd_table = new FormData();
    fd_table.top = new FormAttachment(0, 0);
    fd_table.bottom = new FormAttachment(100, 0);
    fd_table.left = new FormAttachment(0, 0);
    fd_table.right = new FormAttachment(100, 0);
    table.setLayoutData(fd_table);
    table.setHeaderVisible(true);
    table.setLinesVisible(true);
    TableColumn actionColumn = new TableColumn(table, SWT.NONE);
    actionColumn.setWidth(100);
    actionColumn.setText("Action");
    TableColumn dateColumn = new TableColumn(table, SWT.NONE);
    dateColumn.setWidth(100);
    dateColumn.setText("Date");
    editorComposite = new Composite(sashForm, SWT.BORDER);
    editorComposite.setLayout(new FormLayout());
    text = new Text(editorComposite, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.CANCEL | SWT.MULTI);
    text.addModifyListener(new ModifyListener() {

        public void modifyText(ModifyEvent e) {
            onTextStateChange();
        }
    });
    FormData fd_text = new FormData();
    fd_text.bottom = new FormAttachment(100, -40);
    fd_text.right = new FormAttachment(100);
    fd_text.top = new FormAttachment(0);
    fd_text.left = new FormAttachment(0);
    text.setLayoutData(fd_text);
    executeButton = new Button(editorComposite, SWT.NONE);
    executeButton.addSelectionListener(new SelectionAdapter() {

        public void widgetSelected(SelectionEvent e) {
            executeActionsOnText();
        }
    });
    executeButton.setEnabled(false);
    FormData fd_executeButton = new FormData();
    fd_executeButton.top = new FormAttachment(text, 6);
    fd_executeButton.left = new FormAttachment(text, -120, SWT.RIGHT);
    fd_executeButton.right = new FormAttachment(100, -10);
    executeButton.setLayoutData(fd_executeButton);
    executeButton.setText("Execute");
    editorComposite.addControlListener(new ControlAdapter() {

        public void controlResized(ControlEvent e) {
            onSashResize();
        }
    });
    MSwtUtil.getTableColumnWidthFromProperties("actionListTable", table, prop, new int[] { 200, 100 });
    MSwtUtil.addListenerToTableColumns2(table, this);
    //table.addListener( SWT.KeyDown, this );
    table.addListener(SWT.MouseDoubleClick, this);
    menuManager = new MenuManager();
    Menu contextMenu = menuManager.createContextMenu(table);
    table.setMenu(contextMenu);
    //executeTableAction
    {
        redoAction = new Action() {

            public void run() {
                //------------
                repeatActionsOnTable();
            }
        };
        //------------
        redoAction.setToolTipText("Redo Selected Actions");
        redoAction.setText("Redo\tShift+Enter");
        initAction(redoAction, "table_go.png", menuManager);
        redoAction.setEnabled(false);
    }
    //editAction
    {
        editAction = new Action() {

            public void run() {
                //------------
                editActions();
            }
        };
        //------------
        editAction.setToolTipText("Edit Actions on The Text Editor");
        editAction.setText("Edit\tEnter");
        initAction(editAction, "pencil.png", menuManager);
        editAction.setEnabled(false);
    }
    dropDownMenu.add(new Separator());
    menuManager.add(new Separator());
    //executeAction
    {
        executeAction = new Action() {

            public void run() {
                //------------
                executeActionsOnText();
            }
        };
        //------------
        executeAction.setToolTipText("Execute Actions on the Textarea");
        executeAction.setText("Execute");
        setActionImage(executeAction, "bullet_go.png");
        addActionToToolBar(executeAction);
        executeAction.setEnabled(false);
        dropDownMenu.add(executeAction);
    }
    dropDownMenu.add(new Separator());
    menuManager.add(new Separator());
    //copyAction
    {
        copyAction = new Action() {

            public void run() {
                //------------
                copyActions();
            }
        };
        //------------
        copyAction.setToolTipText("Copy Actions to Clipboard");
        copyAction.setText("Copy");
        setActionImage(copyAction, "page_copy.png");
        addActionToToolBar(copyAction);
        copyAction.setEnabled(false);
        dropDownMenu.add(copyAction);
        menuManager.add(copyAction);
    }
    dropDownMenu.add(new Separator());
    menuManager.add(new Separator());
    //clearAction
    {
        clearAction = new Action() {

            public void run() {
                //------------
                clearActions();
            }
        };
        //------------
        clearAction.setToolTipText("Clear All");
        clearAction.setText("Clear All");
        initAction(clearAction, "table_delete.png", menuManager);
        clearAction.setEnabled(false);
    }
    //saveAction
    {
        saveAction = new Action() {

            public void run() {
                //------------
                saveActions();
            }
        };
        //------------
        saveAction.setToolTipText("Save Action");
        saveAction.setText("Save");
        initAction(saveAction, "cog_add.png", menuManager);
        saveAction.setEnabled(false);
    }
    //load actionLogList
    if (prop.containsKey(ACTION_LOG_LIST)) {
        String savedStr = prop.getProperty(ACTION_LOG_LIST);
        actionLogList = (java.util.List) JSON.parse(savedStr);
        for (int i = 0; i < actionLogList.size(); ++i) {
            Map actionLog = (Map) actionLogList.get(i);
            addActionToTable(actionLog);
        }
    } else {
        actionLogList = new LinkedList();
    }
    if (prop.containsKey(ACTIONLOG_COMPOSITE_WEIGHT)) {
        (new Thread() {

            public void run() {
                MSystemUtil.sleep(0);
                shell.getDisplay().asyncExec(new Runnable() {

                    public void run() {
                        //----
                        sashForm.setWeights(prop.getIntArrayProperty(ACTIONLOG_COMPOSITE_WEIGHT));
                    }
                });
            //----
            }
        }).start();
    } else {
        sashForm.setWeights(new int[] { 70, 30 });
    }
    initializedTime = System.currentTimeMillis();
}
Also used : MEditAction(net.jumperz.app.MMonjaDBCore.action.mj.MEditAction) Action(org.eclipse.jface.action.Action) ModifyListener(org.eclipse.swt.events.ModifyListener) ControlAdapter(org.eclipse.swt.events.ControlAdapter) KeyAdapter(org.eclipse.swt.events.KeyAdapter) KeyEvent(org.eclipse.swt.events.KeyEvent) ModifyEvent(org.eclipse.swt.events.ModifyEvent) Button(org.eclipse.swt.widgets.Button) SelectionEvent(org.eclipse.swt.events.SelectionEvent) Menu(org.eclipse.swt.widgets.Menu) Table(org.eclipse.swt.widgets.Table) Composite(org.eclipse.swt.widgets.Composite) SelectionAdapter(org.eclipse.swt.events.SelectionAdapter) Text(org.eclipse.swt.widgets.Text) TableColumn(org.eclipse.swt.widgets.TableColumn) SashForm(org.eclipse.swt.custom.SashForm) java.util(java.util) MenuManager(org.eclipse.jface.action.MenuManager) ControlEvent(org.eclipse.swt.events.ControlEvent) Separator(org.eclipse.jface.action.Separator)

Example 70 with TableColumn

use of org.eclipse.swt.widgets.TableColumn in project cubrid-manager by CUBRID.

the class BrokerStatusView method createBasicTable.

/**
	 * Create basic info table
	 * 
	 * @param comp the parent composite
	 * 
	 */
private void createBasicTable(Composite comp) {
    final Composite basicComposite = new Composite(comp, SWT.NONE);
    GridData gdBasic = new GridData(SWT.FILL, SWT.NONE, false, false);
    basicComposite.setLayoutData(gdBasic);
    basicComposite.setLayout(new GridLayout());
    basicTableViewer = new TableViewer(basicComposite, SWT.NO_SCROLL | SWT.BORDER);
    Table basicTable = basicTableViewer.getTable();
    basicTable.setHeaderVisible(true);
    basicTable.setLinesVisible(true);
    GridData tblBasic = new GridData(SWT.FILL, SWT.TOP, true, false);
    tblBasic.heightHint = CommonUITool.getHeightHintOfTable(basicTable);
    basicTable.setLayoutData(tblBasic);
    TableLayout basicLayout = new TableLayout();
    setBasicLayout(basicLayout);
    basicTable.setLayout(basicLayout);
    basicTable.setBackground(basicComposite.getBackground());
    TableColumn tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscPid);
    tblColumn.setToolTipText(Messages.tblBscPid);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscPort);
    tblColumn.setToolTipText(Messages.tblBscPort);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscJobQueue);
    tblColumn.setToolTipText(Messages.tblBscJobQueue);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscAutoAddAs);
    tblColumn.setToolTipText(Messages.tblBscAutoAddAs);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscSqlLogMode);
    tblColumn.setToolTipText(Messages.tblBscSqlLogMode);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscLongTranTime);
    tblColumn.setToolTipText(Messages.tblBscLongTranTime);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscLongQueryTime);
    tblColumn.setToolTipText(Messages.tblBscLongQueryTime);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscSessionTimeout);
    tblColumn.setToolTipText(Messages.tblBscSessionTimeout);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscKeepConn);
    tblColumn.setToolTipText(Messages.tblBscKeepConn);
    tblColumn = new TableColumn(basicTable, SWT.CENTER);
    tblColumn.setText(Messages.tblBscAccessMode);
    tblColumn.setToolTipText(Messages.tblBscAccessMode);
    basicTableViewer.setContentProvider(new BrokerBasicInfoContentProvider());
    ServerInfo serverInfo = cubridNode.getServer().getServerInfo();
    BrokerBasicInfoLabelProvider basicInfoLabelProvider = new BrokerBasicInfoLabelProvider();
    basicInfoLabelProvider.setServerInfo(serverInfo);
    basicTableViewer.setLabelProvider(basicInfoLabelProvider);
    basicTableViewer.setInput(basicInfoLst);
}
Also used : GridLayout(org.eclipse.swt.layout.GridLayout) Table(org.eclipse.swt.widgets.Table) Composite(org.eclipse.swt.widgets.Composite) ScrolledComposite(org.eclipse.swt.custom.ScrolledComposite) ServerInfo(com.cubrid.cubridmanager.core.common.model.ServerInfo) ApplyServerInfo(com.cubrid.cubridmanager.core.broker.model.ApplyServerInfo) GridData(org.eclipse.swt.layout.GridData) TableViewer(org.eclipse.jface.viewers.TableViewer) TableLayout(org.eclipse.jface.viewers.TableLayout) TableColumn(org.eclipse.swt.widgets.TableColumn)

Aggregations

TableColumn (org.eclipse.swt.widgets.TableColumn)305 Table (org.eclipse.swt.widgets.Table)151 GridData (org.eclipse.swt.layout.GridData)105 TableViewer (org.eclipse.jface.viewers.TableViewer)94 Composite (org.eclipse.swt.widgets.Composite)92 SelectionEvent (org.eclipse.swt.events.SelectionEvent)87 GridLayout (org.eclipse.swt.layout.GridLayout)76 TableItem (org.eclipse.swt.widgets.TableItem)76 Point (org.eclipse.swt.graphics.Point)57 Label (org.eclipse.swt.widgets.Label)55 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)52 Button (org.eclipse.swt.widgets.Button)48 TableViewerColumn (org.eclipse.jface.viewers.TableViewerColumn)41 FillLayout (org.eclipse.swt.layout.FillLayout)37 Listener (org.eclipse.swt.widgets.Listener)37 Event (org.eclipse.swt.widgets.Event)35 Shell (org.eclipse.swt.widgets.Shell)35 Test (org.junit.Test)33 SelectionListener (org.eclipse.swt.events.SelectionListener)32 Text (org.eclipse.swt.widgets.Text)30