Class LightControlDecoration


  • public class LightControlDecoration
    extends Object
    Light control decoration – a simplified version of ControlDecoration.
    • Constructor Detail

      • LightControlDecoration

        public LightControlDecoration​(ILightControl control)
        Instantiates a new light control decoration.
        Parameters:
        control - the control to decorate.
    • Method Detail

      • setImage

        public void setImage​(org.eclipse.swt.graphics.Image image)
        Sets the image.
        Parameters:
        image - the new image.
      • setTooltip

        public void setTooltip​(String tooltip)
        Sets the tooltip.
        Parameters:
        tooltip - the new tooltip.
      • show

        public void show()
        Shows this decoration.
      • hide

        public void hide()
        Hides this decoration.