Java 类org.eclipse.jface.text.source.ImageUtilities 实例源码

项目:APICloud-Studio    文件:ProblemAnnotation.java   
public void paint(GC gc, Canvas canvas, Rectangle r)
{
    initializeImage();
    if (fImage != null)
    {
        ImageUtilities.drawImage(fImage, gc, canvas, r, SWT.CENTER, SWT.TOP);
    }
}
项目:bts    文件:BTSSentenceAnnotation.java   
@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);
}
项目:bts    文件:XtextAnnotation.java   
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);
}
项目:Eclipse-Postfix-Code-Completion    文件:CompilationUnitDocumentProvider.java   
public void paint(GC gc, Canvas canvas, Rectangle r) {
    initializeImage();
    if (fImage != null)
        ImageUtilities.drawImage(fImage, gc, canvas, r, SWT.CENTER, SWT.TOP);
}
项目:Eclipse-Postfix-Code-Completion    文件:JavaExpandHover.java   
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);
}
项目:Eclipse-Postfix-Code-Completion    文件:QuickAssistLightBulbUpdater.java   
public void paint(GC gc, Canvas canvas, Rectangle r) {
    ImageUtilities.drawImage(getImage(), gc, canvas, r, SWT.CENTER, SWT.TOP);
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:CompilationUnitDocumentProvider.java   
public void paint(GC gc, Canvas canvas, Rectangle r) {
    initializeImage();
    if (fImage != null)
        ImageUtilities.drawImage(fImage, gc, canvas, r, SWT.CENTER, SWT.TOP);
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:JavaExpandHover.java   
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);
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:QuickAssistLightBulbUpdater.java   
public void paint(GC gc, Canvas canvas, Rectangle r) {
    ImageUtilities.drawImage(getImage(), gc, canvas, r, SWT.CENTER, SWT.TOP);
}