Package org.eclipse.jface.layout

Examples of org.eclipse.jface.layout.TableColumnLayout


      @Override
      public void handleEvent(Event event) {
        handleTableMouseDown(event, tableViewer);
      }
    });
    final TableColumnLayout layout = new TableColumnLayout();
    createDataColumn(tableViewer, layout);
    createRemoveColumn(tableViewer, layout);
    tableComposite.setLayout(layout);
    final GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
    gd.horizontalSpan = 2;
View Full Code Here


    return rootControl;
  }

  private Composite createItemsTable(Composite parent, GridData gd, int heightInRows) {
    final Composite rootControl = new Composite(parent, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    macroItemTableViewer = new TableViewer(rootControl, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
    macroItemTableViewer.setContentProvider(new MacroItemTableContentProvider());
    macroItemTableViewer.addSelectionChangedListener(createMacroItemTableSelectionChangedListener());
View Full Code Here

    return rootControl;
  }

  private Composite createParamsTable(Composite parent, GridData gd, int heightInRows) {
    final Composite rootControl = new Composite(parent, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    paramsTableViewer = new TableViewer(rootControl, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
    paramsTableViewer.setContentProvider(new MacroItemParamsTableContentProvider());
    paramsTableViewer.addSelectionChangedListener(createParamsTableSelectionChangedListener());
View Full Code Here

    // nothing to do: headers are modified in table
  }

  private Composite createHeaderTable(Composite parent, GridData gd, int heightInRows) {
    final Composite rootControl = new Composite(parent, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    tableViewerHeaders = new TableViewer(rootControl, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
    tableViewerHeaders.setContentProvider(new HeaderTableContentProvider());
    tableViewerHeaders.addSelectionChangedListener(createSelectionChangedListener());
View Full Code Here

    return rootControl;
  }
 
  private Composite createInterceptQueueTable(Composite parent) {
    final Composite rootControl = new Composite(parent, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    interceptQueueTableViewer = new TableViewer(rootControl, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
    interceptQueueTableViewer.setContentProvider(new InterceptQueueTableContentProvider());
    createInterceptQueueTableColumns(interceptQueueTableViewer, tcl);
View Full Code Here

    return rootControl;
  }

  private Composite createRequestStatusTable(Composite parent) {
    final Composite rootControl = new Composite(parent, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    requestStatusTableViewer = new TableViewer(rootControl, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
    requestStatusTableViewer.setContentProvider(new RequestStatusTableContentProvider());
    createRequestStatusTableColumns(requestStatusTableViewer, tcl);
View Full Code Here

  private void createColumns(int dataColumnCount) {
    tableViewer.getTable().dispose();
    tableViewer = createTableViewer();
    tableViewer.setContentProvider(new HexEditContentProvider(tableViewer));
    final TableColumnLayout layout = new TableColumnLayout();
    createOffsetColumn(layout);
    for(int i = 0; i < dataColumnCount; i++)
      createDataColumn(layout, i);
    createAsciiColumn(layout);
    setLayout(layout);
View Full Code Here

    return rootControl;
  }

  private Composite createListenerTable(Composite parent) {
    final Composite rootControl = new Composite(parent, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    listenersTableViewer = new TableViewer(rootControl, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
    listenersTableViewer.setContentProvider(new ListenerTableContentProvider());
    listenersTableViewer.addSelectionChangedListener(createSelectionChangedListener());
View Full Code Here

 
 
  private Composite createTable(GridData gd) {
    final Composite rootControl = new Composite(this, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    tableViewer = new TableViewer(rootControl, SWT.MULTI| SWT.VIRTUAL | SWT.FULL_SELECTION);
    createColumns(tableViewer, tcl);
    final Color activeFilterColor = new Color(tableViewer.getControl().getDisplay(), ACTIVE_FILTER_COLOR);
View Full Code Here

    return rootControl;
  }
 
  private Composite createTableBreakpoints(Composite parent, GridData gd, int heightInRows) {
    final Composite rootControl = new Composite(parent, SWT.NONE);
    final TableColumnLayout tcl = new TableColumnLayout();
    rootControl.setLayout(tcl);

    tableViewerBreakpoints = new TableViewer(rootControl, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);
    createTableBreakpointsColumns(tableViewerBreakpoints, tcl);
    tableViewerBreakpoints.setContentProvider(new ArrayContentProvider());
View Full Code Here

TOP

Related Classes of org.eclipse.jface.layout.TableColumnLayout

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.