Class BaseLabelProvider

    • Constructor Detail

      • BaseLabelProvider

        public BaseLabelProvider()
    • Method Detail

      • addListener

        public void addListener​(ILabelProviderListener listener)
        Description copied from interface: IBaseLabelProvider
        Adds a listener to this label provider. Has no effect if an identical listener is already registered.

        Label provider listeners are informed about state changes that affect the rendering of the viewer that uses this label provider.

        Specified by:
        addListener in interface IBaseLabelProvider
        listener - a label provider listener
      • dispose

        public void dispose()
        The BaseLabelProvider implementation of this IBaseLabelProvider method clears its internal listener list. Subclasses may extend but should call the super implementation.
        Specified by:
        dispose in interface IBaseLabelProvider
      • isLabelProperty

        public boolean isLabelProperty​(Object element,
                                       String property)
        The BaseLabelProvider implementation of this IBaseLabelProvider method returns true. Subclasses may override.
        Specified by:
        isLabelProperty in interface IBaseLabelProvider
        element - the element
        property - the property
        true if the label would be affected, and false if it would be unaffected