Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2010-05-18 10:04:16 -0400
committerCurtis Windatt2010-05-18 10:04:16 -0400
commit730769bd1286970f04f4df35f8bcd54b6cd9d9f1 (patch)
tree4f004bfec581f2d58f4a29dd8c94164dc68bb265
parent1bef1001ef09ff90a295d99f3a04a53775d7432d (diff)
downloadeclipse.platform.debug-730769bd1286970f04f4df35f8bcd54b6cd9d9f1.tar.gz
eclipse.platform.debug-730769bd1286970f04f4df35f8bcd54b6cd9d9f1.tar.xz
eclipse.platform.debug-730769bd1286970f04f4df35f8bcd54b6cd9d9f1.zip
Bug 312177: Make "Add new expression" entry Expressions window less confusing.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=312177
-rw-r--r--org.eclipse.debug.ui/plugin.xml6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionManagerContentProvider.java2
2 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/plugin.xml b/org.eclipse.debug.ui/plugin.xml
index 41f5aaee2..57739e597 100644
--- a/org.eclipse.debug.ui/plugin.xml
+++ b/org.eclipse.debug.ui/plugin.xml
@@ -765,8 +765,8 @@
<action
label="%addWatchExpressionAction.label"
toolbarPath="expressionGroup"
- icon="$nl$/icons/full/etool16/watch_exp.gif"
- hoverIcon="$nl$/icons/full/etool16/watch_exp.gif"
+ icon="$nl$/icons/full/elcl16/monitorexpression_tsk.gif"
+ hoverIcon="$nl$/icons/full/elcl16/monitorexpression_tsk.gif"
helpContextId="add_watch_expression_context"
class="org.eclipse.debug.internal.ui.actions.expressions.AddWatchExpressionAction"
tooltip="%addWatchExpressionAction.tooltip"
@@ -1199,7 +1199,7 @@
id="org.eclipse.debug.ui.ExpressionViewPopupActions">
<action
label="%addWatchExpressionAction.label"
- icon="$nl$/icons/full/etool16/watch_exp.gif"
+ icon="$nl$/icons/full/elcl16/monitorexpression_tsk.gif"
helpContextId="add_watch_expression_context"
class="org.eclipse.debug.internal.ui.actions.expressions.AddWatchExpressionAction"
tooltip="%addWatchExpressionAction.tooltip"
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionManagerContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionManagerContentProvider.java
index b275b2d43..1ab49398c 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionManagerContentProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionManagerContentProvider.java
@@ -21,6 +21,7 @@ import org.eclipse.debug.core.model.IWatchExpression;
import org.eclipse.debug.internal.core.IInternalDebugCoreConstants;
import org.eclipse.debug.internal.ui.DebugUIMessages;
import org.eclipse.debug.internal.ui.DefaultLabelProvider;
+import org.eclipse.debug.internal.ui.IInternalDebugUIConstants;
import org.eclipse.debug.internal.ui.elements.adapters.VariableColumnPresentation;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IElementEditor;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IElementLabelProvider;
@@ -71,6 +72,7 @@ public class ExpressionManagerContentProvider extends ElementContentProvider {
private void updateLabel(ILabelUpdate update, int columnIndex) {
update.setLabel(DebugUIMessages.ExpressionManagerContentProvider_1, columnIndex);
+ update.setImageDescriptor(DebugUITools.getImageDescriptor(IInternalDebugUIConstants.IMG_LCL_MONITOR_EXPRESSION), columnIndex);
// Display the "Add new expression" element in italic to
// distinguish it from user elements in view.

Back to the top