Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2012-03-08 17:04:12 -0500
committerPawel Piech2012-03-08 17:08:25 -0500
commite1cfa4e493a500be8451fd45d5dd8b0d16610320 (patch)
tree2849ef3880510c690e72a1a3450fd633f1616ade /org.eclipse.debug.ui/ui/org/eclipse/debug/ui
parentd2702f4b57fe1415babcd03a3332b30996d40fa3 (diff)
downloadeclipse.platform.debug-e1cfa4e493a500be8451fd45d5dd8b0d16610320.tar.gz
eclipse.platform.debug-e1cfa4e493a500be8451fd45d5dd8b0d16610320.tar.xz
eclipse.platform.debug-e1cfa4e493a500be8451fd45d5dd8b0d16610320.zip
Bug 313828 - [expr] Make the plus icon in Expressions view accessible through public API
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java7
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AddMemoryRenderingActionDelegate.java3
2 files changed, 9 insertions, 1 deletions
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 e7de3e0b8..e05ebfc7a 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
@@ -362,6 +362,13 @@ public interface IDebugUIConstants {
*/
public static final String IMG_LCL_LOCK = "IMG_LCL_LOCK"; //$NON-NLS-1$
+ /**
+ * Add action image identifier.
+ *
+ * @since 3.8
+ */
+ public static final String IMG_LCL_ADD = "IMG_LCL_MONITOR_EXPRESSION"; //$NON-NLS-1$
+
/**
* Remove all action image identifier
*
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AddMemoryRenderingActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AddMemoryRenderingActionDelegate.java
index dc09c3ec7..6b1b2c238 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AddMemoryRenderingActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AddMemoryRenderingActionDelegate.java
@@ -22,6 +22,7 @@ import org.eclipse.debug.internal.ui.IInternalDebugUIConstants;
import org.eclipse.debug.internal.ui.actions.ActionMessages;
import org.eclipse.debug.internal.ui.views.memory.MemoryViewUtil;
import org.eclipse.debug.ui.DebugUITools;
+import org.eclipse.debug.ui.IDebugUIConstants;
import org.eclipse.debug.ui.contexts.DebugContextEvent;
import org.eclipse.debug.ui.contexts.IDebugContextListener;
import org.eclipse.debug.ui.memory.IMemoryRenderingType;
@@ -300,7 +301,7 @@ public class AddMemoryRenderingActionDelegate extends Action implements IViewAct
action.setText(ActionMessages.AddMemoryRenderingActionDelegate_2);
action.setImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_MONITOR_EXPRESSION));
- action.setHoverImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_LCL_MONITOR_EXPRESSION));
+ action.setHoverImageDescriptor(DebugPluginImages.getImageDescriptor(IDebugUIConstants.IMG_LCL_ADD));
action.setDisabledImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_DLCL_MONITOR_EXPRESSION));
}
}

Back to the top