aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Moffatt2010-04-12 13:43:53 (EDT)
committerPaul Webster2013-01-11 14:18:48 (EST)
commitd4866fb6a161a3970141e6faa2510147a77e3e05 (patch)
tree168fc858e211076671d9c07e8821b8e6c285ac91
parent7d02cc566ff4c6122d7e0ca1789e7ce92cca22e5 (diff)
downloadeclipse.platform.ui-d4866fb6a161a3970141e6faa2510147a77e3e05.zip
eclipse.platform.ui-d4866fb6a161a3970141e6faa2510147a77e3e05.tar.gz
eclipse.platform.ui-d4866fb6a161a3970141e6faa2510147a77e3e05.tar.bz2
Fix for Bug 304397 - ISharedImages.IMG_DEC_FIELD_ERROR has no image
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java19
1 files changed, 11 insertions, 8 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java
index ebb8cbf..796ca3c 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java
@@ -13,7 +13,6 @@ package org.eclipse.ui.internal;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
-
import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
@@ -84,18 +83,19 @@ public/*final*/class WorkbenchImages {
private final static String PATH_EVIEW = ICONS_PATH + "eview16/"; //View icons//$NON-NLS-1$
- //private final static String PATH_PROD = ICONS_PATH+"prod/"; //Product images
+ private final static String PATH_OVERLAY = ICONS_PATH + "ovr16/"; //$NON-NLS-1$
+
private final static String PATH_OBJECT = ICONS_PATH + "obj16/"; //Model object icons//$NON-NLS-1$
private final static String PATH_POINTER = ICONS_PATH + "pointer/"; //Pointer icons//$NON-NLS-1$
private final static String PATH_WIZBAN = ICONS_PATH + "wizban/"; //Wizard icons//$NON-NLS-1$
+ // private final static String PATH_PROD = ICONS_PATH+"prod/"; //Product
+ // images
+ // private final static String PATH_STAT = ICONS_PATH+"stat/";
+ // private final static String PATH_MISC = ICONS_PATH+"misc/";
- //private final static String PATH_STAT = ICONS_PATH+"stat/";
- //private final static String PATH_MISC = ICONS_PATH+"misc/";
- //private final static String PATH_OVERLAY = ICONS_PATH+"ovr16/";
-
/**
* Declares a workbench image given the path of the image file (relative to
* the workbench plug-in). This is a helper method that creates the image
@@ -141,8 +141,11 @@ public/*final*/class WorkbenchImages {
* internal ones.
*/
private final static void declareImages() {
-
-
+ // Overlays
+ declareImage(ISharedImages.IMG_DEC_FIELD_ERROR, PATH_OVERLAY + "error_ovr.gif", true); //$NON-NLS-1$
+ declareImage(ISharedImages.IMG_DEC_FIELD_WARNING, PATH_OVERLAY + "warning_ovr.gif", true); //$NON-NLS-1$
+
+ // Pinning
declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR,
PATH_ETOOL + "pin_editor.gif", false); //$NON-NLS-1$
declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR_DISABLED,