From 69d0cb4187648329dc770fb0bb768969c1b3fa06 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Mon, 15 Jul 2019 20:42:20 +0200 Subject: [PATCH] remove some unused icon fields GitOrigin-RevId: 221d149bc120ed7838930d8918ae08aef395d635 --- platform/icons/src/actions/icon-robots.txt | 2 - platform/icons/src/general/icon-robots.txt | 1 - platform/icons/src/nodes/icon-robots.txt | 3 -- .../icons/src/objectBrowser/icon-robots.txt | 3 +- .../util/src/com/intellij/icons/AllIcons.java | 42 ------------------- 5 files changed, 1 insertion(+), 50 deletions(-) diff --git a/platform/icons/src/actions/icon-robots.txt b/platform/icons/src/actions/icon-robots.txt index 44e4de8d52a9..a6e0fb8fbc66 100644 --- a/platform/icons/src/actions/icon-robots.txt +++ b/platform/icons/src/actions/icon-robots.txt @@ -1,4 +1,3 @@ -deprecated: addFacesSupport.png; to be removed in IDEA 2020 deprecated: allLeft.png; to be removed in IDEA 2020 deprecated: allRight.png; to be removed in IDEA 2020 deprecated: browser-externalJavaDoc.png -> /actions/previousOccurence.svg; to be removed in IDEA 2020 - use AllIcons.Actions.PreviousOccurence @@ -26,7 +25,6 @@ deprecated: left.png -> /general/arrowLeft.png; to be removed in IDEA 2020 - use deprecated: menu-find.png -> /actions/find.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Find deprecated: menu-help.png -> /actions/help.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Help deprecated: menu-replace.png -> /actions/replace.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Replace -deprecated: minimize.png -> /general/hideToolWindow.svg; to be removed in IDEA 2020 - use AllIcons.General.HideToolWindow deprecated: module.png -> /nodes/Module.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.Module deprecated: move-to-button-top.png -> /actions/move-to-button.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Move_to_button deprecated: moveToAnotherChangelist.png -> /actions/MoveTo2.svg; to be removed in IDEA 2020 - use AllIcons.Actions.MoveTo2 diff --git a/platform/icons/src/general/icon-robots.txt b/platform/icons/src/general/icon-robots.txt index 5f62ea699013..4183d14aa7be 100644 --- a/platform/icons/src/general/icon-robots.txt +++ b/platform/icons/src/general/icon-robots.txt @@ -1,6 +1,5 @@ deprecated: addFavoritesList.svg -> /general/add.svg; to be removed in IDEA 2020 - use AllIcons.General.Add deprecated: arrowDown_white.png -> /general/arrowDown.svg; to be removed in IDEA 2020 - use AllIcons.General.ArrowDown -deprecated: autohideOff.png -> /general/pin_tab.svg; to be removed in IDEA 2020 - use AllIcons.General.Pin_tab deprecated: autohideOffInactive.png -> /general/pin_tab.svg; to be removed in IDEA 2020 - use AllIcons.General.Pin_tab deprecated: autohideOffPressed.png -> /general/pin_tab.svg; to be removed in IDEA 2020 - use AllIcons.General.Pin_tab deprecated: bullet.png; to be removed in IDEA 2020 diff --git a/platform/icons/src/nodes/icon-robots.txt b/platform/icons/src/nodes/icon-robots.txt index 10eedad2dbe5..b4b96657231f 100644 --- a/platform/icons/src/nodes/icon-robots.txt +++ b/platform/icons/src/nodes/icon-robots.txt @@ -3,15 +3,12 @@ deprecated: collapseNode.png -> /general/arrowDown.svg; to be removed in IDEA 20 deprecated: dataSchema.svg; to be removed in IDEA 2020 - see DatabaseIcons.View deprecated: DataSource.svg; to be removed in IDEA 2020 - see DatabaseIcons.DatabaseGroup deprecated: dataView.svg; to be removed in IDEA 2020 -deprecated: disabledPointcut.svg; to be removed in IDEA 2020 deprecated: expandNode.png -> /general/arrowRight.svg; to be removed in IDEA 2020 - use AllIcons.General.ArrowRight deprecated: favoriteOnHover.png -> /nodes/favorite.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.Favorite deprecated: javaModuleRoot.svg -> /nodes/Module.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.Module deprecated: newException.svg; to be removed in IDEA 2020 deprecated: newFolder.png -> /nodes/folder.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.Folder deprecated: pinToolWindow.svg -> /nodes/tabPin.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.TabPin -deprecated: pluginUpdate.svg; to be removed in IDEA 2020 -deprecated: pointcut.svg; to be removed in IDEA 2020 deprecated: ppFile.png -> /nodes/folder.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.Folder deprecated: ppWebLogo.png; to be removed in IDEA 2020 deprecated: sourceFolder.png -> /nodes/package.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.Package diff --git a/platform/icons/src/objectBrowser/icon-robots.txt b/platform/icons/src/objectBrowser/icon-robots.txt index d800bf924de6..a026bee7e554 100644 --- a/platform/icons/src/objectBrowser/icon-robots.txt +++ b/platform/icons/src/objectBrowser/icon-robots.txt @@ -1,2 +1 @@ -deprecated: showEditorHighlighting.png -> /actions/edit.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Edit -deprecated: showModules.png -> /actions/GroupByModule.svg; to be removed in IDEA 2020 - use AllIcons.Actions.GroupByModule +deprecated: showEditorHighlighting.png -> /actions/edit.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Edit \ No newline at end of file diff --git a/platform/util/src/com/intellij/icons/AllIcons.java b/platform/util/src/com/intellij/icons/AllIcons.java index b10afb74c933..9394c7d82a21 100644 --- a/platform/util/src/com/intellij/icons/AllIcons.java +++ b/platform/util/src/com/intellij/icons/AllIcons.java @@ -166,12 +166,6 @@ public class AllIcons { /** 14x14 */ public static final Icon Unshare = load("/actions/unshare.png"); /** 16x16 */ public static final Icon Upload = load("/actions/upload.svg"); - /** @deprecated to be removed in IDEA 2020 */ - @SuppressWarnings("unused") - @Deprecated - @ScheduledForRemoval(inVersion = "2020.1") - public static final Icon AddFacesSupport = load("/actions/addFacesSupport.png"); - /** @deprecated to be removed in IDEA 2020 */ @SuppressWarnings("unused") @Deprecated @@ -352,12 +346,6 @@ public class AllIcons { @ScheduledForRemoval(inVersion = "2020.1") public static final Icon Menu_replace = AllIcons.Actions.Replace; - /** @deprecated to be removed in IDEA 2020 - use AllIcons.General.HideToolWindow */ - @SuppressWarnings("unused") - @Deprecated - @ScheduledForRemoval(inVersion = "2020.1") - public static final Icon Minimize = AllIcons.General.HideToolWindow; - /** @deprecated to be removed in IDEA 2020 - use AllIcons.Nodes.Module */ @SuppressWarnings("unused") @Deprecated @@ -1027,12 +1015,6 @@ public class AllIcons { @ScheduledForRemoval(inVersion = "2020.1") public static final Icon ArrowDown_white = AllIcons.General.ArrowDown; - /** @deprecated to be removed in IDEA 2020 - use AllIcons.General.Pin_tab */ - @SuppressWarnings("unused") - @Deprecated - @ScheduledForRemoval(inVersion = "2020.1") - public static final Icon AutohideOff = AllIcons.General.Pin_tab; - /** @deprecated to be removed in IDEA 2020 - use AllIcons.General.Pin_tab */ @SuppressWarnings("unused") @Deprecated @@ -2358,12 +2340,6 @@ public class AllIcons { @ScheduledForRemoval(inVersion = "2020.1") public static final Icon DataView = load("/nodes/dataView.svg"); - /** @deprecated to be removed in IDEA 2020 */ - @SuppressWarnings("unused") - @Deprecated - @ScheduledForRemoval(inVersion = "2020.1") - public static final Icon DisabledPointcut = load("/nodes/disabledPointcut.svg"); - /** @deprecated to be removed in IDEA 2020 - use AllIcons.General.ArrowRight */ @SuppressWarnings("unused") @Deprecated @@ -2400,18 +2376,6 @@ public class AllIcons { @ScheduledForRemoval(inVersion = "2020.1") public static final Icon PinToolWindow = AllIcons.Nodes.TabPin; - /** @deprecated to be removed in IDEA 2020 */ - @SuppressWarnings("unused") - @Deprecated - @ScheduledForRemoval(inVersion = "2020.1") - public static final Icon PluginUpdate = load("/nodes/pluginUpdate.svg"); - - /** @deprecated to be removed in IDEA 2020 */ - @SuppressWarnings("unused") - @Deprecated - @ScheduledForRemoval(inVersion = "2020.1") - public static final Icon Pointcut = load("/nodes/pointcut.svg"); - /** @deprecated to be removed in IDEA 2020 - use AllIcons.Nodes.Folder */ @SuppressWarnings("unused") @Deprecated @@ -2486,12 +2450,6 @@ public class AllIcons { @ScheduledForRemoval(inVersion = "2020.1") public static final Icon ShowEditorHighlighting = AllIcons.Actions.Edit; - /** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.GroupByModule */ - @SuppressWarnings("unused") - @Deprecated - @ScheduledForRemoval(inVersion = "2020.1") - public static final Icon ShowModules = AllIcons.Actions.GroupByModule; - } public final static class Plugins {