Examples of TableEditor


Examples of org.eclipse.swt.custom.TableEditor

  private void createTableItems(Table table, String key) {

    TableItem item = new TableItem(table, SWT.NONE);
    String labelText = FoldingPlugin.getMessage(key);

    TableEditor foldEditor = new TableEditor(table);
    final Button foldCheckBox = new Button(table, SWT.CHECK);
    foldCheckBox.pack();
    foldEditor.minimumWidth = foldCheckBox.getSize().x;
    foldEditor.horizontalAlignment = SWT.CENTER;
    foldEditor.setEditor(foldCheckBox, item, 0);

    TableEditor collapseEditor = new TableEditor(table);
    final Button initialCheckBox = new Button(table, SWT.CHECK);
    initialCheckBox.pack();
    collapseEditor.minimumWidth = initialCheckBox.getSize().x;
    collapseEditor.horizontalAlignment = SWT.CENTER;
    collapseEditor.setEditor(initialCheckBox, item, 1);

    item.setText(2, labelText);

    foldCheckBox.addListener(SWT.Selection, new Listener() {
View Full Code Here

Examples of org.enhydra.jawe.base.editor.TableEditor

                    });
            loggingManager.info("JaWEManager -> Working with '" + teClass + "' implementation of Table Editor ");
        } catch (Throwable ex) {
            //CUSTOM
            try {
                tableEditor = new TableEditor(new TableEditorSettings());
            } catch (HeadlessException e) {
                // ignore
            }
            //END CUSTOM
            if (JaWE.getJaWEVersion() != JaWE.COMMUNITY_VERSION) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.