Class CheckImageBuilder
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.dialogs.types.CheckImageBuilder
-
public class CheckImageBuilder extends Object
This class concatenates checkbox image and any other images, and added this image to the ImageRegistry Plugin
-
-
Constructor Summary
Constructors Constructor Description CheckImageBuilder(org.eclipse.ui.plugin.AbstractUIPlugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.Image
create(String path)
Creates a new image without the checkbox, but the size of the returned image adds checkbox widthorg.eclipse.swt.graphics.Image
create(String code, boolean isChecked)
Create new typed checkbox images
-
-
-
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 benull
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
-
-