PHP move verified warning breakpoint icon to debugger icons
authorNikolay Matveev <Nikolay.Matveev@jetbrains.com>
Tue, 31 May 2011 16:41:12 +0000 (20:41 +0400)
committerNikolay Matveev <Nikolay.Matveev@jetbrains.com>
Tue, 31 May 2011 16:43:55 +0000 (20:43 +0400)
java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/LineBreakpoint.java
platform/xdebugger-api/src/com/intellij/xdebugger/ui/DebuggerIcons.java

index 95930a9bd4909389c8df775a6cc47c96f24289a7..3b93fba3f8bb79eb05760f6f6d0c4bf5184f861e 100644 (file)
@@ -68,7 +68,6 @@ public class LineBreakpoint extends BreakpointWithHighlighter {
   public static final Icon MUTED_ICON = DebuggerIcons.MUTED_BREAKPOINT_ICON;
   public static final Icon DISABLED_ICON = DebuggerIcons.DISABLED_BREAKPOINT_ICON;
   public static final Icon MUTED_DISABLED_ICON = DebuggerIcons.MUTED_DISABLED_BREAKPOINT_ICON;
-  private static final Icon ourVerifiedWarningsIcon = IconLoader.getIcon("/debugger/db_verified_warning_breakpoint.png");
   private static final Icon ourMutedVerifiedWarningsIcon = IconLoader.getIcon("/debugger/db_muted_verified_warning_breakpoint.png");
 
   private String myMethodName;
@@ -105,7 +104,7 @@ public class LineBreakpoint extends BreakpointWithHighlighter {
   }
 
   protected Icon getVerifiedWarningsIcon(boolean isMuted) {
-    return isMuted? ourMutedVerifiedWarningsIcon : ourVerifiedWarningsIcon;
+    return isMuted? ourMutedVerifiedWarningsIcon : DebuggerIcons.VERIFIED_WARNING_BREAKPOINT_ICON;
   }
 
   public Key<LineBreakpoint> getCategory() {
index 323228d1f6baa02cc252e97b7d799919103c1092..766852f1519555f0527a47b569f5763a10d0bd74 100644 (file)
@@ -35,6 +35,7 @@ public interface DebuggerIcons {
   Icon MUTED_VERIFIED_BREAKPOINT_ICON = IconLoader.getIcon("/debugger/db_muted_verified_breakpoint.png");
   Icon DISABLED_DEPENDENT_BREAKPOINT_ICON = IconLoader.getIcon("/debugger/db_dep_line_breakpoint.png");
   Icon MUTED_DISABLED_DEPENDENT_BREAKPOINT_ICON = IconLoader.getIcon("/debugger/db_muted_dep_line_breakpoint.png");
+  Icon VERIFIED_WARNING_BREAKPOINT_ICON = IconLoader.getIcon("/debugger/db_verified_warning_breakpoint.png");
 
   Icon VALUE_ICON = IconLoader.getIcon("/debugger/value.png");
   Icon ARRAY_VALUE_ICON = IconLoader.getIcon("/debugger/db_array.png");