Class CaiItemsLabelProvider

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
com._1c.g5.v8.dt.internal.cai.ui.CaiItemsLabelProvider
All Implemented Interfaces:
IBaseLabelProvider, ILabelProvider

public class CaiItemsLabelProvider extends LabelProvider
Common label provider for client application interface objects.
  • Field Details

  • Method Details

    • getColor

      public org.eclipse.swt.graphics.Color getColor(Object element)
      Returns the color for the given element
      Parameters:
      element - the element for which to provide the color
      Returns:
      the color used to draw the element, or null if there is no color for the given object
    • getImage

      public org.eclipse.swt.graphics.Image getImage(Object element)
      Specified by:
      getImage in interface ILabelProvider
      Overrides:
      getImage in class LabelProvider
    • getPanelImage

      public org.eclipse.swt.graphics.Image getPanelImage(CaiPanel panel, boolean isDark)
      Returns panel image.
      Parameters:
      panel - - panel to get image. Cannot be null.
      isDark - - true if image should be dark.
      Returns:
      panel image. Cannot return null.
    • getText

      public String getText(Object element)
      Specified by:
      getText in interface ILabelProvider
      Overrides:
      getText in class LabelProvider
    • decorateStatusImage

      public org.eclipse.swt.graphics.Image decorateStatusImage(org.eclipse.swt.graphics.Image image, org.eclipse.core.runtime.IStatus validationStatus)