Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.TableEditor


    GridData gridData;
    TableColumn tc;

    dataFileTable = new Table(cArea, SWT.BORDER | SWT.CHECK
        | SWT.FULL_SELECTION | SWT.VIRTUAL | SWT.MULTI);
    dataFileTableEditor = new TableEditor(dataFileTable);
    dataFileTableEditor.grabHorizontal = true;
    dataFileTableEditor.minimumWidth = 50;
   
    gridData = new GridData(GridData.FILL_BOTH);
    gridData.heightHint = 80;
View Full Code Here


    return delegate;
  }

  public static ControlEditor createTableOrTreeEditor(TableOrTreeSWT tableOrTree) {
    return (tableOrTree instanceof TreeDelegate) ? new TreeEditor(
        (Tree) tableOrTree.getComposite()) : new TableEditor(
        (Table) tableOrTree.getComposite());
  }
View Full Code Here

        // create dn link control
        dnLink = new Hyperlink( viewer.getTable(), SWT.NONE );
        dnLink.setLayoutData( new GridData( SWT.BOTTOM, SWT.LEFT, true, true ) );
        dnLink.setText( "" ); //$NON-NLS-1$
        dnLink.setMenu( viewer.getTable().getMenu() );
        tableEditor = new TableEditor( viewer.getTable() );
        tableEditor.horizontalAlignment = SWT.LEFT;
        tableEditor.verticalAlignment = SWT.BOTTOM;
        tableEditor.grabHorizontal = true;
        tableEditor.grabVertical = true;
View Full Code Here

      col.setText(Messages.ProjectPropertyPage_TableHtdocsFolder);
      colData = new ColumnWeightData(10, 100, true);
      tableLayout.addColumnData(colData);
      table.setLayout(tableLayout);
     
      this.tableEditor = new TableEditor(table);
      this.tableEditor.horizontalAlignment = SWT.LEFT;
      this.tableEditor.grabHorizontal = true;
      this.tableEditor.minimumWidth = 50;
     
      this.table.addSelectionListener(new SelectionAdapter() {
View Full Code Here

   */
  TableViewerEditor(TableViewer viewer, SWTFocusCellManager focusCellManager,
      ColumnViewerEditorActivationStrategy editorActivationStrategy,
      int feature) {
    super(viewer, editorActivationStrategy, feature);
    tableEditor = new TableEditor(viewer.getTable());
    this.focusCellManager = focusCellManager;
  }
View Full Code Here

        variableNameColumn.setWidth(150);
        TableColumn parameterNameColumn = new TableColumn(table, SWT.LEFT);
        parameterNameColumn.setText("Variable");
        parameterNameColumn.setWidth(225);
       
        editor = new TableEditor(table);
        text = new Text(table, SWT.NORMAL);
        text.setVisible(false);
        text.setText("");
        editor.minimumWidth = text.getSize().x;
        editor.horizontalAlignment = SWT.LEFT;
View Full Code Here

        variableNameColumn.setWidth(150);
        TableColumn parameterNameColumn = new TableColumn(table, SWT.LEFT);
        parameterNameColumn.setText("Sub Process Variable");
        parameterNameColumn.setWidth(225);
       
        editor = new TableEditor(table);
        text = new Text(table, SWT.NORMAL);
        text.setVisible(false);
        text.setText("");
        editor.minimumWidth = text.getSize().x;
        editor.horizontalAlignment = SWT.LEFT;
View Full Code Here

        variableNameColumn.setWidth(150);
        TableColumn parameterNameColumn = new TableColumn(table, SWT.LEFT);
        parameterNameColumn.setText("Process Variable");
        parameterNameColumn.setWidth(225);
       
        editor = new TableEditor(table);
        text = new Text(table, SWT.NORMAL);
        text.setVisible(false);
        text.setText("");
        editor.minimumWidth = text.getSize().x;
        editor.horizontalAlignment = SWT.LEFT;
View Full Code Here

        variableNameColumn.setWidth(150);
        TableColumn parameterNameColumn = new TableColumn(table, SWT.LEFT);
        parameterNameColumn.setText("Variable");
        parameterNameColumn.setWidth(225);
       
        editor = new TableEditor(table);
        text = new Text(table, SWT.NORMAL);
        text.setVisible(false);
        text.setText("");
        editor.minimumWidth = text.getSize().x;
        editor.horizontalAlignment = SWT.LEFT;
View Full Code Here

        variableNameColumn.setWidth(150);
        TableColumn parameterNameColumn = new TableColumn(table, SWT.LEFT);
        parameterNameColumn.setText("Result Parameter");
        parameterNameColumn.setWidth(225);
       
        editor = new TableEditor(table);
        text = new Text(table, SWT.NORMAL);
        text.setVisible(false);
        text.setText("");
        editor.minimumWidth = text.getSize().x;
        editor.horizontalAlignment = SWT.LEFT;
View Full Code Here

TOP

Related Classes of org.eclipse.swt.custom.TableEditor

Copyright © 2018 www.massapicom. 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.