Class CollectionParametersLabelProvider

java.lang.Object
org.eclipse.core.commands.common.EventManager
All Implemented Interfaces:
ICheckBoxLabelProvider, IBaseLabelProvider, IColorProvider, IFontProvider, ILabelProvider, IToolTipProvider

public class CollectionParametersLabelProvider extends ColumnLabelProvider implements ICheckBoxLabelProvider
LabelProvider коллекции параметров
  • Field Details

    • USE_COL_INDEX

      public static int USE_COL_INDEX
    • TITLE_COL_INDEX

      public static int TITLE_COL_INDEX
    • VALUE_COL_INDEX

      public static int VALUE_COL_INDEX
  • Constructor Details

    • CollectionParametersLabelProvider

      public CollectionParametersLabelProvider(CollectionParametersData parametersData)
      Parameters:
      parametersData - данные
  • Method Details

    • update

      public void update(ViewerCell cell)
      Overrides:
      update in class ColumnLabelProvider
    • isVisible

      public boolean isVisible(Object element, int columnIndex)
      Description copied from interface: ICheckBoxLabelProvider
      Whether checkbox is visible (if visibility changes for different items)
      Specified by:
      isVisible in interface ICheckBoxLabelProvider
      Parameters:
      element - current element, can't be null
      columnIndex - index of column
      Returns:
      true if checkbox is visible, false otherwise
    • isEnabled

      public boolean isEnabled(Object element, int columnIndex)
      Description copied from interface: ICheckBoxLabelProvider
      Whether checkbox is enabled
      Specified by:
      isEnabled in interface ICheckBoxLabelProvider
      Parameters:
      element - current element, can't be null
      columnIndex - index of column
      Returns:
      true if checkbox is enable, false otherwise
    • isSelected

      public boolean isSelected(Object element, int columnIndex)
      Description copied from interface: ICheckBoxLabelProvider
      Whether checkbox is selected
      Specified by:
      isSelected in interface ICheckBoxLabelProvider
      Parameters:
      element - current element, can't be null
      columnIndex - index of column
      Returns:
      true if checkbox is selected, false otherwise