Package org.eclipse.php.internal.ui.util

Examples of org.eclipse.php.internal.ui.util.TableLayoutComposite


        Table tableControl = fTable.getTable();

        fTableControl = tableControl;
        tableControl.setLayout(new TableLayout());
      } else {
        TableLayoutComposite composite = new TableLayoutComposite(
            parent, SWT.NONE);
        composite.setFont(parent.getFont());
        fTableControl = composite;

        fTable = createTableViewer(composite);
        Table tableControl = fTable.getTable();

        tableControl.setHeaderVisible(fTableColumns.headers != null);
        tableControl.setLinesVisible(fTableColumns.drawLines);
        ColumnLayoutData[] columns = fTableColumns.columns;
        for (int i = 0; i < columns.length; i++) {
          composite.addColumnData(columns[i]);
          TableColumn column = new TableColumn(tableControl, SWT.NONE);
          // tableLayout.addColumnData(columns[i]);
          if (fTableColumns.headers != null) {
            column.setText(fTableColumns.headers[i]);
          }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.util.TableLayoutComposite

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.