Class ApplicationDecorationResult

  • All Implemented Interfaces:
    IDecoration

    public class ApplicationDecorationResult
    extends Object
    implements IDecoration
    IDecoration which stores the applied decoration elements and provides methods for getting them.
    • Constructor Detail

      • ApplicationDecorationResult

        public ApplicationDecorationResult()
    • Method Detail

      • addOverlay

        public void addOverlay​(org.eclipse.jface.resource.ImageDescriptor overlayImage)
        Specified by:
        addOverlay in interface IDecoration
      • addOverlay

        public void addOverlay​(org.eclipse.jface.resource.ImageDescriptor overlayImage,
                               int quadrant)
        Specified by:
        addOverlay in interface IDecoration
      • setBackgroundColor

        public void setBackgroundColor​(org.eclipse.swt.graphics.Color color)
        Specified by:
        setBackgroundColor in interface IDecoration
      • setForegroundColor

        public void setForegroundColor​(org.eclipse.swt.graphics.Color color)
        Specified by:
        setForegroundColor in interface IDecoration
      • setFont

        public void setFont​(org.eclipse.swt.graphics.Font font)
        Specified by:
        setFont in interface IDecoration
      • getSuffix

        public String getSuffix()
        Returns:
        text decoration suffix, never null
      • getOverlays

        public org.eclipse.jface.resource.ImageDescriptor[] getOverlays()
        Returns:
        the overlay image which was set, never null
      • containsOverlays

        public boolean containsOverlays()
        Returns:
        true if at least one overlay exists, false otherwise