Class TestTreeLabelProvider

  • All Implemented Interfaces:
    org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.IToolTipProvider

    public class TestTreeLabelProvider
    extends org.eclipse.jface.viewers.StyledCellLabelProvider
    Styled label provider for the test tree in the EUnit view. Lists the name of the operation for each test, using styled text to highlight the data binding used and the wallclock time that the test took to run.
    Version:
    1.0
    Author:
    Antonio García-Domínguez
    • Field Summary

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

        COLORS_ON_SELECTION, NO_FOCUS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      org.eclipse.swt.graphics.Image getImage​(Object obj)  
      void update​(org.eclipse.jface.viewers.ViewerCell cell)  
      • 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
    • Constructor Detail

      • TestTreeLabelProvider

        public TestTreeLabelProvider()
    • Method Detail

      • dispose

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

        public void update​(org.eclipse.jface.viewers.ViewerCell cell)
        Overrides:
        update in class org.eclipse.jface.viewers.StyledCellLabelProvider
      • getImage

        public org.eclipse.swt.graphics.Image getImage​(Object obj)