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 create​(String code,
                                                     boolean isChecked)
        Create new typed checkbox images
        code - ids of type (its name). Can't be null
        isChecked - true if checkbox should be checked
        new united image
      • create

        public create​(String path)
        Creates a new image without the checkbox, but the size of the returned image adds checkbox width
        path - to image
        new image