java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ViewData
Alle implementierten Schnittstellen:
IView
Bekannte direkte Unterklassen:
ViewDataInput, ViewDataOutput

public abstract class ViewData extends Object implements IView
A view on a Data object.
  • Felddetails

  • Konstruktordetails

    • ViewData

      public ViewData(org.eclipse.swt.widgets.Composite parent, Controller controller, String helpid, String title)
      Creates a new data view.
      Parameter:
      parent -
      controller -
      helpid -
      title -
  • Methodendetails

    • addScrollBarListener

      public void addScrollBarListener(org.eclipse.swt.widgets.Listener listener)
      Add a scrollbar listener to this view.
      Parameter:
      listener -
    • addSelectionListener

      public void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
      Adds a listener to the folder
      Parameter:
      listener -
    • createAdditionalItem

      public org.eclipse.swt.widgets.Composite createAdditionalItem(String title, String helpid)
      Adds an additional item to the folder
      Parameter:
      title -
      helpid -
      Gibt zurück:
    • dispose

      public void dispose()
      Beschreibung aus Schnittstelle kopiert: IView
      Disposes the view.
      Angegeben von:
      dispose in Schnittstelle IView
    • getSelectionIndex

      public int getSelectionIndex()
      Returns the selection index of the folder
      Gibt zurück:
    • getViewportLayer

      public org.eclipse.nebula.widgets.nattable.viewport.ViewportLayer getViewportLayer()
      Returns the NatTable viewport layer.
      Gibt zurück:
    • reset

      public void reset()
      Beschreibung aus Schnittstelle kopiert: IView
      Resets the view.
      Angegeben von:
      reset in Schnittstelle IView
    • setSelection

      public void setSelection(int index)
      Sets the selection index of the folder
      Parameter:
      index -
    • update

      public void update(ModelEvent event)
      Beschreibung aus Schnittstelle kopiert: IView
      Updates the view.
      Angegeben von:
      update in Schnittstelle IView
      Parameter:
      event -
    • actionCellSelected

      protected void actionCellSelected(org.eclipse.nebula.widgets.nattable.selection.event.CellSelectionEvent arg1)
      Cell selection event.
      Parameter:
      arg1 -
    • actionColumnSelected

      protected void actionColumnSelected(org.eclipse.nebula.widgets.nattable.selection.event.ColumnSelectionEvent arg1)
      Column selection event.
      Parameter:
      arg1 -
    • actionSort

      protected abstract void actionSort()
      Called when the sort button is pressed.
    • enableSorting

      protected void enableSorting()
      Enable sorting.
    • getDefinition

      protected abstract DataDefinition getDefinition()
      Returns the data definition.
      Gibt zurück:
    • getHandle

      protected abstract DataHandle getHandle()
      Returns the data definition.
      Gibt zurück:
    • updateHeaderImage

      protected void updateHeaderImage(int index, String attribute, DataDefinition def)
      Updates the header image in the table.
      Parameter:
      index -
      type -