Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-08-09 19:50:31 -0400
committereutarass2011-08-09 19:50:31 -0400
commitee268de6f14b3db9906cc7c5a6386a0f7cd77c2e (patch)
tree6edc99410cbb74fffceb8cd26d51b0abb445d676 /plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse
parentc85fcfce7b901b387713c42872ee180d7b55de5c (diff)
downloadorg.eclipse.tcf-ee268de6f14b3db9906cc7c5a6386a0f7cd77c2e.tar.gz
org.eclipse.tcf-ee268de6f14b3db9906cc7c5a6386a0f7cd77c2e.tar.xz
org.eclipse.tcf-ee268de6f14b3db9906cc7c5a6386a0f7cd77c2e.zip
TCF Debugger: better looking breakpoint overlay in the Debug view.
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/ImageCache.java3
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/ImageCache.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/ImageCache.java
index 42ac06899..5ec92158a 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/ImageCache.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/ImageCache.java
@@ -64,7 +64,8 @@ public class ImageCache {
IMG_BREAKPOINT_INSTALLED = "icons/ovr16/installed_ovr.gif",
IMG_BREAKPOINT_CONDITIONAL = "icons/ovr16/conditional_ovr.gif",
IMG_BREAKPOINT_WARNING = "icons/ovr16/warning_ovr.gif",
- IMG_BREAKPOINT_ERROR = "icons/ovr16/error_ovr.gif";
+ IMG_BREAKPOINT_ERROR = "icons/ovr16/error_ovr.gif",
+ IMG_BREAKPOINT_OVERLAY = "icons/brkp_ovr.gif";
private static final Map<String,ImageDescriptor> desc_cache = new HashMap<String,ImageDescriptor>();
private static final Map<ImageDescriptor,Image> image_cache = new HashMap<ImageDescriptor,Image>();
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java
index 197bb542b..a82da60c0 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExecContext.java
@@ -1042,7 +1042,7 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner {
}
}
last_image = ImageCache.getImageDescriptor(image_name);
- if (suspended_by_bp) last_image = ImageCache.addOverlay(last_image, ImageCache.IMG_BREAKPOINT_ENABLED);
+ if (suspended_by_bp) last_image = ImageCache.addOverlay(last_image, ImageCache.IMG_BREAKPOINT_OVERLAY);
result.setImageDescriptor(last_image, 0);
result.setLabel(last_label = label.toString(), 0);
return true;

Back to the top