From 021dad29723cac3df75bb618dafa2ddc0ad7aacf Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Thu, 26 Apr 2018 22:18:43 +0300 Subject: [PATCH] IDEA-190220 Debugger: mark unused icons as deprecated --- platform/icons/src/debugger/icon-robots.txt | 7 +++++ .../util/src/com/intellij/icons/AllIcons.java | 28 +++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/platform/icons/src/debugger/icon-robots.txt b/platform/icons/src/debugger/icon-robots.txt index 813901b08f5e..57f0937eb5ec 100644 --- a/platform/icons/src/debugger/icon-robots.txt +++ b/platform/icons/src/debugger/icon-robots.txt @@ -1,21 +1,28 @@ deprecated: class_filter.png -> /general/filter.svg; to be removed in IDEA 2020 - use AllIcons.General.Filter deprecated: db_dep_exception_breakpoint.png -> /debugger/db_exception_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_disabled_exception_breakpoint.png -> /debugger/db_exception_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint +deprecated: db_field_warning_breakpoint.png; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_invalid_field_breakpoint.png -> /debugger/db_invalid_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_invalid_breakpoint deprecated: db_invalid_method_breakpoint.png -> /debugger/db_invalid_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_invalid_breakpoint +deprecated: db_method_warning_breakpoint.png; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_muted_dep_exception_breakpoint.png -> /debugger/db_exception_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint +deprecated: db_muted_disabled_breakpoint_process.png; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_muted_disabled_exception_breakpoint.png -> /debugger/db_exception_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_muted_exception_breakpoint.png -> /debugger/db_exception_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint +deprecated: db_muted_field_warning_breakpoint.png; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_muted_invalid_breakpoint.png -> /debugger/db_invalid_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_invalid_breakpoint deprecated: db_muted_invalid_field_breakpoint.png -> /debugger/db_invalid_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_invalid_breakpoint deprecated: db_muted_invalid_method_breakpoint.png -> /debugger/db_invalid_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_invalid_breakpoint +deprecated: db_muted_method_warning_breakpoint.png; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_muted_verified_breakpoint.png -> /debugger/db_muted_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_muted_breakpoint deprecated: db_muted_verified_field_breakpoint.png -> /debugger/db_muted_field_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_muted_field_breakpoint deprecated: db_muted_verified_method_breakpoint.png -> /debugger/db_muted_field_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_muted_field_breakpoint +deprecated: db_muted_verified_warning_breakpoint.png; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: db_muted_temporary_breakpoint.png -> /debugger/db_muted_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_muted_breakpoint deprecated: db_temporary_breakpoint.png -> /debugger/db_set_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_set_breakpoint deprecated: db_verified_breakpoint.png -> /debugger/db_set_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_set_breakpoint deprecated: db_verified_field_breakpoint.png -> /debugger/db_field_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_field_breakpoint deprecated: db_verified_method_breakpoint.png -> /debugger/db_method_breakpoint.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_method_breakpoint +deprecated: db_verified_warning_breakpoint.png; to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint deprecated: newWatch.png -> /general/add.svg; to be removed in IDEA 2020 - use AllIcons.General.Add deprecated: watches.png -> /debugger/watch.svg; to be removed in IDEA 2020 - use AllIcons.Debugger.Watch diff --git a/platform/util/src/com/intellij/icons/AllIcons.java b/platform/util/src/com/intellij/icons/AllIcons.java index 86e2092c9951..541b5eda3296 100644 --- a/platform/util/src/com/intellij/icons/AllIcons.java +++ b/platform/util/src/com/intellij/icons/AllIcons.java @@ -332,6 +332,10 @@ public class AllIcons { public static final Icon Db_disabled_method_breakpoint = IconLoader.getIcon("/debugger/db_disabled_method_breakpoint.svg"); // 12x12 public static final Icon Db_exception_breakpoint = IconLoader.getIcon("/debugger/db_exception_breakpoint.svg"); // 12x12 public static final Icon Db_field_breakpoint = IconLoader.getIcon("/debugger/db_field_breakpoint.svg"); // 12x12 + + /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ + @SuppressWarnings("unused") + @Deprecated public static final Icon Db_field_warning_breakpoint = IconLoader.getIcon("/debugger/db_field_warning_breakpoint.png"); // 16x16 public static final Icon Db_invalid_breakpoint = IconLoader.getIcon("/debugger/db_invalid_breakpoint.svg"); // 12x12 @@ -345,6 +349,10 @@ public class AllIcons { @Deprecated public static final Icon Db_invalid_method_breakpoint = IconLoader.getIcon("/debugger/db_invalid_breakpoint.svg"); // 12x12 public static final Icon Db_method_breakpoint = IconLoader.getIcon("/debugger/db_method_breakpoint.svg"); // 12x12 + + /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ + @SuppressWarnings("unused") + @Deprecated public static final Icon Db_method_warning_breakpoint = IconLoader.getIcon("/debugger/db_method_warning_breakpoint.png"); // 16x16 public static final Icon Db_muted_breakpoint = IconLoader.getIcon("/debugger/db_muted_breakpoint.svg"); // 12x12 @@ -356,6 +364,10 @@ public class AllIcons { public static final Icon Db_muted_dep_line_breakpoint = IconLoader.getIcon("/debugger/db_muted_dep_line_breakpoint.svg"); // 12x12 public static final Icon Db_muted_dep_method_breakpoint = IconLoader.getIcon("/debugger/db_muted_dep_method_breakpoint.svg"); // 12x12 public static final Icon Db_muted_disabled_breakpoint = IconLoader.getIcon("/debugger/db_muted_disabled_breakpoint.svg"); // 12x12 + + /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ + @SuppressWarnings("unused") + @Deprecated public static final Icon Db_muted_disabled_breakpoint_process = IconLoader.getIcon("/debugger/db_muted_disabled_breakpoint_process.png"); // 16x16 /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ @@ -370,6 +382,10 @@ public class AllIcons { @Deprecated public static final Icon Db_muted_exception_breakpoint = IconLoader.getIcon("/debugger/db_exception_breakpoint.svg"); // 12x12 public static final Icon Db_muted_field_breakpoint = IconLoader.getIcon("/debugger/db_muted_field_breakpoint.svg"); // 12x12 + + /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ + @SuppressWarnings("unused") + @Deprecated public static final Icon Db_muted_field_warning_breakpoint = IconLoader.getIcon("/debugger/db_muted_field_warning_breakpoint.png"); // 16x16 /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_invalid_breakpoint */ @@ -387,6 +403,10 @@ public class AllIcons { @Deprecated public static final Icon Db_muted_invalid_method_breakpoint = IconLoader.getIcon("/debugger/db_invalid_breakpoint.svg"); // 12x12 public static final Icon Db_muted_method_breakpoint = IconLoader.getIcon("/debugger/db_muted_method_breakpoint.svg"); // 12x12 + + /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ + @SuppressWarnings("unused") + @Deprecated public static final Icon Db_muted_method_warning_breakpoint = IconLoader.getIcon("/debugger/db_muted_method_warning_breakpoint.png"); // 16x16 /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_muted_breakpoint */ @@ -408,6 +428,10 @@ public class AllIcons { @SuppressWarnings("unused") @Deprecated public static final Icon Db_muted_verified_method_breakpoint = IconLoader.getIcon("/debugger/db_muted_field_breakpoint.svg"); // 12x12 + + /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ + @SuppressWarnings("unused") + @Deprecated public static final Icon Db_muted_verified_warning_breakpoint = IconLoader.getIcon("/debugger/db_muted_verified_warning_breakpoint.png"); // 16x16 public static final Icon Db_no_suspend_breakpoint = IconLoader.getIcon("/debugger/db_no_suspend_breakpoint.svg"); // 12x12 public static final Icon Db_no_suspend_field_breakpoint = IconLoader.getIcon("/debugger/db_no_suspend_field_breakpoint.svg"); // 12x12 @@ -438,6 +462,10 @@ public class AllIcons { @SuppressWarnings("unused") @Deprecated public static final Icon Db_verified_method_breakpoint = IconLoader.getIcon("/debugger/db_method_breakpoint.svg"); // 12x12 + + /** @deprecated to be removed in IDEA 2020 - use AllIcons.Debugger.Db_exception_breakpoint */ + @SuppressWarnings("unused") + @Deprecated public static final Icon Db_verified_warning_breakpoint = IconLoader.getIcon("/debugger/db_verified_warning_breakpoint.png"); // 16x16 public static final Icon Disable_value_calculation = IconLoader.getIcon("/debugger/disable_value_calculation.png"); // 16x16 public static final Icon EvaluateExpression = IconLoader.getIcon("/debugger/evaluateExpression.svg"); // 16x16