Package com.iizigo.vs

Class VSTableLabelProvider

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.CellLabelProvider
org.eclipse.jface.viewers.OwnerDrawLabelProvider
org.eclipse.jface.viewers.StyledCellLabelProvider
com.iizigo.vs.VSTableLabelProvider
All Implemented Interfaces:
EventListener, org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.IToolTipProvider

public class VSTableLabelProvider extends org.eclipse.jface.viewers.StyledCellLabelProvider implements EventListener
Label provider for a VirtualSpace Table.
Author:
Christopher Mindus
  • Field Summary

    Fields inherited from class org.eclipse.jface.viewers.StyledCellLabelProvider

    COLORS_ON_SELECTION, NO_FOCUS
  • Constructor Summary

    Constructors
    Constructor
    Description
    The VSTable being used for the table.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    assignViewer(org.eclipse.jface.viewers.TableViewer viewer)
    Assigns the viewer for updates.
    void
    Handles dispose.
    void
    onEvent(GEvent event)
    Called to process an event.
    void
    update(org.eclipse.jface.viewers.ViewerCell cell)
    Updates the cell contents.

    Methods inherited from class org.eclipse.jface.viewers.StyledCellLabelProvider

    erase, getColumn, getViewer, initialize, isOwnerDrawEnabled, measure, paint, prepareStyleRange, setOwnerDrawEnabled, styleDecoratedString

    Methods inherited from class org.eclipse.jface.viewers.OwnerDrawLabelProvider

    dispose, initialize, setOwnerDrawEnabled, setUpOwnerDraw

    Methods inherited from class org.eclipse.jface.viewers.CellLabelProvider

    getToolTipBackgroundColor, getToolTipDisplayDelayTime, getToolTipFont, getToolTipForegroundColor, getToolTipImage, getToolTipShift, getToolTipStyle, getToolTipText, getToolTipTimeDisplayed, useNativeToolTip

    Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider

    addListener, fireLabelProviderChanged, isLabelProperty, removeListener

    Methods inherited from class org.eclipse.core.commands.common.EventManager

    addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VSTableLabelProvider

      public VSTableLabelProvider(EditorVSTable table, ArrayList<IzFilter> filters)
      The VSTable being used for the table.
      Parameters:
      table - The table.
      filters - The filters, or null for none.
  • Method Details

    • assignViewer

      public void assignViewer(org.eclipse.jface.viewers.TableViewer viewer)
      Assigns the viewer for updates.
    • dispose

      public void dispose()
      Handles dispose.
      Specified by:
      dispose in interface org.eclipse.jface.viewers.IBaseLabelProvider
      Overrides:
      dispose in class org.eclipse.jface.viewers.StyledCellLabelProvider
    • onEvent

      public void onEvent(GEvent event)
      Called to process an event.
      Specified by:
      onEvent in interface EventListener
      Parameters:
      event - The event.
    • update

      public void update(org.eclipse.jface.viewers.ViewerCell cell)
      Updates the cell contents.
      Overrides:
      update in class org.eclipse.jface.viewers.StyledCellLabelProvider