Class FormTableViewer

All Implemented Interfaces:
IDomainSelectionProvider, IInputProvider, IInputSelectionProvider, IPostSelectionProvider, ISelectionProvider
Direct Known Subclasses:
FormCommandsTableViewer, FormParametersTableViewer

public class FormTableViewer extends TableViewer implements IDomainSelectionProvider
This TableViewer automatically exposes the selection. If an element adding on this view, set selection on it. If an element removal selection sets on the next suitable element.
  • Constructor Details

    • FormTableViewer

      public FormTableViewer(org.eclipse.swt.widgets.Composite parent)
      Creates a table viewer on a newly-created table control under the given parent. The table control is created using the SWT style bits MULTI, H_SCROLL, V_SCROLL, and BORDER. The viewer has no input, no content provider, a default label provider, no sorter, and no filters. The table has no columns.
      Parameters:
      parent - the parent control
    • FormTableViewer

      public FormTableViewer(org.eclipse.swt.widgets.Composite parent, int style)
      Creates a table viewer on a newly-created table control under the given parent. The table control is created using the given style bits. The viewer has no input, no content provider, a default label provider, no sorter, and no filters. The table has no columns.
      Parameters:
      parent - the parent control
      style - SWT style bits
    • FormTableViewer

      public FormTableViewer(org.eclipse.swt.widgets.Table table)
      Creates a table viewer on the given table control. The viewer has no input, no content provider, a default label provider, no sorter, and no filters.
      Parameters:
      table - the table control
  • Method Details