Examples of DecorationOverlayIcon


Examples of org.eclipse.jface.viewers.DecorationOverlayIcon

  public EditorImageUpdater(GoEditor editor) {
    this.editor = editor;
   
    defaultImage = editor.getTitleImage();
   
    warningImage = GoPluginImages.getCachedImage(new DecorationOverlayIcon(defaultImage,
      GoPluginImages.OVERLAYS_WARNING, IDecoration.BOTTOM_LEFT));
    errorImage = GoPluginImages.getCachedImage(new DecorationOverlayIcon(defaultImage,
      GoPluginImages.OVERLAYS_ERROR, IDecoration.BOTTOM_LEFT));
   
    installResourceChangeListener(editor);
  }
View Full Code Here

Examples of org.eclipse.jface.viewers.DecorationOverlayIcon

              || ((template.getItem().isLocal() || TemplateUtils.hasBeenDownloaded(template)) && !template
                  .getItem().isNewerVersionAvailable())) {
            return templateImage;
          }

          return WizardImages.getImage(new DecorationOverlayIcon(templateImage, new ImageDescriptor[] {
              StsUiImages.DOWNLOAD_OVERLAY, null, null, null, null }));
        }

        if (element instanceof TemplateCategory) {
          return WizardImages.getImage(WizardImages.TEMPLATE_CATEGORY_ICON);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.