From bbbe955aa31e37d56bf93a2fbeb284f8d52ed8db Mon Sep 17 00:00:00 2001 From: Darin Swanson Date: Thu, 13 Sep 2001 11:31:00 +0000 Subject: 1GETBDX: ITPDUI:WIN2000 - Icons for Inspect and Display --- org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif | Bin 0 -> 157 bytes org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif | Bin 0 -> 90 bytes org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif | Bin 0 -> 153 bytes .../eclipse/debug/internal/ui/AddToInspectorAction.java | 6 +++++- .../org/eclipse/debug/internal/ui/DebugPluginImages.java | 6 +++++- .../debug/internal/ui/IInternalDebugUIConstants.java | 4 ++-- .../ui/org/eclipse/debug/ui/IDebugUIConstants.java | 4 +++- 7 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif create mode 100644 org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif create mode 100644 org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif diff --git a/org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif b/org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif new file mode 100644 index 000000000..2b645a88f Binary files /dev/null and b/org.eclipse.debug.ui/icons/full/clcl16/inspect_co.gif differ diff --git a/org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif b/org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif new file mode 100644 index 000000000..27b96a72a Binary files /dev/null and b/org.eclipse.debug.ui/icons/full/dlcl16/inspect_co.gif differ diff --git a/org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif b/org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif new file mode 100644 index 000000000..bcd5f2211 Binary files /dev/null and b/org.eclipse.debug.ui/icons/full/elcl16/inspect_co.gif differ diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AddToInspectorAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AddToInspectorAction.java index 9e823095f..22bac25c1 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AddToInspectorAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AddToInspectorAction.java @@ -5,7 +5,8 @@ package org.eclipse.debug.internal.ui; * All Rights Reserved. */ -import java.util.Iterator; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.model.IVariable; import org.eclipse.debug.ui.DebugUITools; import org.eclipse.jface.viewers.ISelectionProvider; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.ui.help.WorkbenchHelp; +import java.util.Iterator; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.model.IVariable; import org.eclipse.debug.ui.DebugUITools; import org.eclipse.debug.ui.IDebugUIConstants; +import org.eclipse.jface.viewers.ISelectionProvider; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.ui.help.WorkbenchHelp; public class AddToInspectorAction extends InspectorAction { @@ -15,6 +16,9 @@ public class AddToInspectorAction extends InspectorAction { super(sp, DebugUIUtils.getResourceString(PREFIX + TEXT)); setToolTipText(DebugUIUtils.getResourceString(PREFIX + TOOL_TIP_TEXT)); setEnabled(!getStructuredSelection().isEmpty()); + setHoverImageDescriptor(DebugPluginImages.getImageDescriptor(IDebugUIConstants.IMG_LCL_INSPECT)); + setDisabledImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_DLCL_INSPECT)); + setImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_INSPECT)); WorkbenchHelp.setHelp( this, new Object[] { IDebugHelpContextIds.INSPECT_ACTION }); diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java index 47cc94195..69e2653f0 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java @@ -70,7 +70,8 @@ public class DebugPluginImages { declareRegistryImage(IDebugUIConstants.IMG_LCL_TYPE_NAMES, LOCALTOOL + "tnames_co.gif"); declareRegistryImage(IDebugUIConstants.IMG_LCL_REMOVE, LOCALTOOL + "rem_co.gif"); declareRegistryImage(IDebugUIConstants.IMG_LCL_REMOVE_ALL, LOCALTOOL + "rem_all_co.gif"); - + declareRegistryImage(IDebugUIConstants.IMG_LCL_INSPECT, LOCALTOOL + "inspect_co.gif"); + // disabled local toolbars declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_RESUME, DLCL + "resume_co.gif"); declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_SUSPEND, DLCL + "suspend_co.gif"); @@ -85,6 +86,7 @@ public class DebugPluginImages { declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_TYPE_NAMES, DLCL + "tnames_co.gif"); declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_REMOVE, DLCL + "rem_co.gif"); declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_REMOVE_ALL, DLCL + "rem_all_co.gif"); + declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_INSPECT, DLCL + "inpsect_co.gif"); // enabled local toolbars declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_RESUME, ELCL + "resume_co.gif"); @@ -100,6 +102,8 @@ public class DebugPluginImages { declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_TYPE_NAMES, ELCL + "tnames_co.gif"); declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_REMOVE, ELCL + "rem_co.gif"); declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_REMOVE_ALL, ELCL + "rem_all_co.gif"); + + declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_INSPECT, ELCL + "inpsect_co.gif"); //Object diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java index b475b3761..8c22aae59 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java @@ -30,6 +30,7 @@ public interface IInternalDebugUIConstants { public static final String IMG_DLCL_TYPE_NAMES= "IMG_DLCL_TYPE_NAMES"; public static final String IMG_DLCL_REMOVE= "IMG_DLCL_REMOVE"; public static final String IMG_DLCL_REMOVE_ALL= "IMG_DLCL_REMOVE_ALL"; + public static final String IMG_DLCL_INSPECT= "IMG_DLCL_INSPECT"; // enabled local tool images public static final String IMG_ELCL_RESUME= "IMG_ELCL_RESUME"; @@ -45,6 +46,5 @@ public interface IInternalDebugUIConstants { public static final String IMG_ELCL_TYPE_NAMES= "IMG_ELCL_TYPE_NAMES"; public static final String IMG_ELCL_REMOVE= "IMG_ELCL_REMOVE"; public static final String IMG_ELCL_REMOVE_ALL= "IMG_ELCL_REMOVE_ALL"; - - + public static final String IMG_ELCL_INSPECT= "IMG_ELCL_INSPECT"; } diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java index 484b9067e..3eb5227ba 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java @@ -224,7 +224,9 @@ public interface IDebugUIConstants { /** Remove all action image identifier. */ public static final String IMG_LCL_REMOVE_ALL= "IMG_LCL_REMOVE_ALL"; - + /** Inspector action image identifier. */ + public static final String IMG_LCL_INSPECT= "IMG_LCL_INSPECT"; + // Debug element images /** Debug mode launch image identifier. */ -- cgit v1.2.3