/** * @return Returns the imageCluster. */ public Image getImageCluster() { return imageCluster.getAsBitmapForSize( display, ConstUI.SMALL_ICON_SIZE, ConstUI.SMALL_ICON_SIZE ); }
/** * @return Returns the imageSlave. */ public Image getImageSlave() { return imageSlave.getAsBitmapForSize( display, ConstUI.SMALL_ICON_SIZE, ConstUI.SMALL_ICON_SIZE ); }
/** * @return Returns the imageSlave. */ public Image getImageSlaveMedium() { return imageSlave.getAsBitmapForSize( display, ConstUI.MEDIUM_ICON_SIZE, ConstUI.MEDIUM_ICON_SIZE ); }
/** * @return Returns the imageSlaveTree. */ public Image getImageSlaveTree() { return imageSlaveTree.getAsBitmapForSize( display, ConstUI.MEDIUM_ICON_SIZE, ConstUI.MEDIUM_ICON_SIZE ); }
/** * @return Returns the imageHop. */ public Image getImageHopTree() { return imageHop.getAsBitmapForSize( display, ConstUI.MEDIUM_ICON_SIZE, ConstUI.MEDIUM_ICON_SIZE ); }
/** * @return Returns the imageStart. */ public Image getImageStart() { return imageStart.getAsBitmapForSize( display, ConstUI.ICON_SIZE, ConstUI.ICON_SIZE ); }
/** * @return the imageVariable */ public Image getImageVariable() { return imageVariable.getAsBitmapForSize( display, 13, 13 ); }
/** * @return Returns the imageSlave. */ public Image getImageSlaveTreeMedium() { return imageSlaveTree.getAsBitmapForSize( display, ConstUI.MEDIUM_ICON_SIZE, ConstUI.MEDIUM_ICON_SIZE ); }
/** * @return Returns the imageDisabledHop. */ public Image getImageDisabledHopTree() { return imageDisabledHop.getAsBitmapForSize( display, ConstUI.MEDIUM_ICON_SIZE, ConstUI.MEDIUM_ICON_SIZE ); }
/** * @return the imageStartSmall */ public Image getImageStartMedium() { return imageStart.getAsBitmapForSize( display, ConstUI.MEDIUM_ICON_SIZE, ConstUI.MEDIUM_ICON_SIZE ); }
/** * @return Returns the imageBol. */ public Image getImageBol() { return imageBol.getAsBitmapForSize( display, ConstUI.SMALL_ICON_SIZE, ConstUI.SMALL_ICON_SIZE ); }
/** * @return the imageArrow */ public Image getImageArrow() { return imageArrow.getAsBitmapForSize( display, ConstUI.SMALL_ICON_SIZE, ConstUI.SMALL_ICON_SIZE ); }
public void drawImage( EImage image, int x, int y, float magnification, double angle ) { Image img = getNativeImage( image ).getAsBitmapForSize( gc.getDevice(), Math.round( small_icon_size * magnification ), Math.round( small_icon_size * magnification ), angle ); if ( img != null ) { Rectangle bounds = img.getBounds(); int hx = Math.round( bounds.width / magnification ); int hy = Math.round( bounds.height / magnification ); gc.drawImage( img, 0, 0, bounds.width, bounds.height, x - hx / 2, y - hy / 2, hx, hy ); } }
@Override public void drawImage( EImage image, int x, int y, float magnification, double angle ) { Image img = getNativeImage( image ).getAsBitmapForSize( gc.getDevice(), Math.round( small_icon_size * magnification ), Math.round( small_icon_size * magnification ), angle ); if ( img != null ) { Rectangle bounds = img.getBounds(); int hx = Math.round( bounds.width / magnification ); int hy = Math.round( bounds.height / magnification ); gc.drawImage( img, 0, 0, bounds.width, bounds.height, x - hx / 2, y - hy / 2, hx, hy ); } }
public static Image getImage( Shell shell, PluginInterface plugin ) { String id = plugin.getIds()[0]; if ( id != null ) { return GUIResource.getInstance().getImagesJobentries().get( id ).getAsBitmapForSize( shell.getDisplay(), ConstUI.ICON_SIZE, ConstUI.ICON_SIZE ); } return null; }
private Image getImageFor( StreamInterface stream ) { Display disp = shell.getDisplay(); SwtUniversalImage swtImage = SWTGC.getNativeImage( BasePainter.getStreamIconImage( stream.getStreamIcon() ) ); return swtImage.getAsBitmapForSize( disp, ConstUI.SMALL_ICON_SIZE, ConstUI.SMALL_ICON_SIZE ); }
public void drawImage( EImage image, int x, int y, float magnification ) { Image img = getNativeImage( image ).getAsBitmapForSize( gc.getDevice(), Math.round( small_icon_size * magnification ), Math.round( small_icon_size * magnification ) ); if ( img != null ) { Rectangle bounds = img.getBounds(); gc.drawImage( img, 0, 0, bounds.width, bounds.height, x, y, small_icon_size, small_icon_size ); } }
public void drawImage( EImage image, int x, int y, float magnification ) { Image img = getNativeImage( image ).getAsBitmapForSize( gc.getDevice(), Math.round( small_icon_size * magnification ), Math.round( small_icon_size * magnification ) ); if ( img != null ) { Rectangle bounds = img.getBounds(); gc.drawImage( img, 0, 0, bounds.width, bounds.height, x, y, small_icon_size, small_icon_size ); } }
protected Image getImage() { final PluginInterface plugin = PluginRegistry.getInstance().getPlugin( StepPluginType.class, stepMeta.getStepMetaInterface() ); final String id = plugin.getIds()[ 0 ]; if ( id != null ) { return GUIResource.getInstance().getImagesSteps().get( id ).getAsBitmapForSize( shell.getDisplay(), ConstUI.LARGE_ICON_SIZE, ConstUI.LARGE_ICON_SIZE ); } return null; }
private Image getImage() { PluginInterface plugin = PluginRegistry.getInstance().getPlugin( StepPluginType.class, stepMeta.getStepMetaInterface() ); String id = plugin.getIds()[ 0 ]; if ( id != null ) { return GUIResource.getInstance().getImagesSteps().get( id ).getAsBitmapForSize( shell.getDisplay(), ConstUI.LARGE_ICON_SIZE, ConstUI.LARGE_ICON_SIZE ); } return null; }