Class ConditionalAppearanceLabelProvider

    • Method Detail

      • 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
      • getAppearanceFieldsText

        public String getAppearanceFieldsText​(DataCompositionAppearanceFields appearanceFields)
        Get presentation text for appearance fields
        Parameters:
        appearanceFields - appearance fields, can't be null
        Returns:
        presentation text, never null