public void paint(GC gc, Canvas canvas, Rectangle r) { initializeImage(); if (fImage != null) { ImageUtilities.drawImage(fImage, gc, canvas, r, SWT.CENTER, SWT.TOP); } }
@Override public void paint(GC gc, Canvas canvas, Rectangle bounds) { Image image = resourceProvider.getImage(Display.getCurrent(), BTSResourceProvider.IMG_LOCALE); if(image != null) ImageUtilities.drawImage(image, gc, canvas, bounds, SWT.CENTER, SWT.TOP); }
public void paint(GC gc, Canvas canvas, Rectangle bounds) { Image image = getImages().get(getType()); if(image != null) ImageUtilities.drawImage(image, gc, canvas, bounds, SWT.CENTER, SWT.TOP); }
public void paint(GC gc, Canvas canvas, Rectangle r) { initializeImage(); if (fImage != null) ImageUtilities.drawImage(fImage, gc, canvas, r, SWT.CENTER, SWT.TOP); }
public void paint(GC gc, Canvas canvas, Rectangle bounds) { // draw affordance so the user know she can click here to get a breakpoint Image fImage= JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PUBLIC); ImageUtilities.drawImage(fImage, gc, canvas, bounds, SWT.CENTER); }
public void paint(GC gc, Canvas canvas, Rectangle r) { ImageUtilities.drawImage(getImage(), gc, canvas, r, SWT.CENTER, SWT.TOP); }