Class LightColorBoxEditorBar<C extends ILightControl>

    • Constructor Detail

      • LightColorBoxEditorBar

        public LightColorBoxEditorBar()
    • Method Detail

      • getRgb

        public org.eclipse.swt.graphics.RGB getRgb()
        Returns current displaying color presented by RGB instance.
        Returns:
        the RGB instance.
      • setRgb

        public void setRgb​(org.eclipse.swt.graphics.RGB rgb)
        Sets the given color as displaying color in color box at the left side of the editor bar. If the given rgb is null the color box is removed.
        Parameters:
        rgb - the RGB instance.
      • dispose

        public void dispose()
        Disposes this control. Also disposes the Color object of the color box at the left side if it's is not null.
        Specified by:
        dispose in interface ILightControl
        Overrides:
        dispose in class LightComposite