Class CheckImageBuilder


  • public class CheckImageBuilder
    extends Object
    This class concatenates checkbox image and any other images, and added this image to the ImageRegistry Plugin
    • Constructor Detail

      • CheckImageBuilder

        public CheckImageBuilder​(org.eclipse.ui.plugin.AbstractUIPlugin plugin)
    • Method Detail

      • create

        public org.eclipse.swt.graphics.Image create​(String code,
                                                     boolean isChecked)
        Create new typed checkbox images
        Parameters:
        code - ids of type (its name). Can't be null
        isChecked - true if checkbox should be checked
        Returns:
        new united image
      • create

        public org.eclipse.swt.graphics.Image create​(String path)
        Creates a new image without the checkbox, but the size of the returned image adds checkbox width
        Parameters:
        path - to image
        Returns:
        new image