diff --git a/platform/icons/src/actions/closeNew.png b/platform/icons/compatibilityResources/actions/closeNew.png
similarity index 100%
rename from platform/icons/src/actions/closeNew.png
rename to platform/icons/compatibilityResources/actions/closeNew.png
diff --git a/platform/icons/src/actions/closeNew@2x.png b/platform/icons/compatibilityResources/actions/closeNew@2x.png
similarity index 100%
rename from platform/icons/src/actions/closeNew@2x.png
rename to platform/icons/compatibilityResources/actions/closeNew@2x.png
diff --git a/platform/icons/src/actions/closeNew@2x_dark.png b/platform/icons/compatibilityResources/actions/closeNew@2x_dark.png
similarity index 100%
rename from platform/icons/src/actions/closeNew@2x_dark.png
rename to platform/icons/compatibilityResources/actions/closeNew@2x_dark.png
diff --git a/platform/icons/src/actions/closeNewHovered.png b/platform/icons/compatibilityResources/actions/closeNewHovered.png
similarity index 100%
rename from platform/icons/src/actions/closeNewHovered.png
rename to platform/icons/compatibilityResources/actions/closeNewHovered.png
diff --git a/platform/icons/src/actions/closeNewHovered@2x.png b/platform/icons/compatibilityResources/actions/closeNewHovered@2x.png
similarity index 100%
rename from platform/icons/src/actions/closeNewHovered@2x.png
rename to platform/icons/compatibilityResources/actions/closeNewHovered@2x.png
diff --git a/platform/icons/src/actions/closeNewHovered@2x_dark.png b/platform/icons/compatibilityResources/actions/closeNewHovered@2x_dark.png
similarity index 100%
rename from platform/icons/src/actions/closeNewHovered@2x_dark.png
rename to platform/icons/compatibilityResources/actions/closeNewHovered@2x_dark.png
diff --git a/platform/icons/src/actions/closeNewHovered_dark.png b/platform/icons/compatibilityResources/actions/closeNewHovered_dark.png
similarity index 100%
rename from platform/icons/src/actions/closeNewHovered_dark.png
rename to platform/icons/compatibilityResources/actions/closeNewHovered_dark.png
diff --git a/platform/icons/src/actions/closeNew_dark.png b/platform/icons/compatibilityResources/actions/closeNew_dark.png
similarity index 100%
rename from platform/icons/src/actions/closeNew_dark.png
rename to platform/icons/compatibilityResources/actions/closeNew_dark.png
diff --git a/platform/icons/src/actions/cross.png b/platform/icons/compatibilityResources/actions/cross.png
similarity index 100%
rename from platform/icons/src/actions/cross.png
rename to platform/icons/compatibilityResources/actions/cross.png
diff --git a/platform/icons/src/actions/cross@2x.png b/platform/icons/compatibilityResources/actions/cross@2x.png
similarity index 100%
rename from platform/icons/src/actions/cross@2x.png
rename to platform/icons/compatibilityResources/actions/cross@2x.png
diff --git a/platform/icons/src/actions/cross@2x_dark.png b/platform/icons/compatibilityResources/actions/cross@2x_dark.png
similarity index 100%
rename from platform/icons/src/actions/cross@2x_dark.png
rename to platform/icons/compatibilityResources/actions/cross@2x_dark.png
diff --git a/platform/icons/src/actions/cross_dark.png b/platform/icons/compatibilityResources/actions/cross_dark.png
similarity index 100%
rename from platform/icons/src/actions/cross_dark.png
rename to platform/icons/compatibilityResources/actions/cross_dark.png
diff --git a/platform/icons/src/general/balloonClose.png b/platform/icons/compatibilityResources/general/balloonClose.png
similarity index 100%
rename from platform/icons/src/general/balloonClose.png
rename to platform/icons/compatibilityResources/general/balloonClose.png
diff --git a/platform/icons/src/general/balloonClose@2x.png b/platform/icons/compatibilityResources/general/balloonClose@2x.png
similarity index 100%
rename from platform/icons/src/general/balloonClose@2x.png
rename to platform/icons/compatibilityResources/general/balloonClose@2x.png
diff --git a/platform/icons/src/general/comboUpPassive.png b/platform/icons/compatibilityResources/general/comboUpPassive.png
similarity index 100%
rename from platform/icons/src/general/comboUpPassive.png
rename to platform/icons/compatibilityResources/general/comboUpPassive.png
diff --git a/platform/icons/src/general/comboUpPassive@2x.png b/platform/icons/compatibilityResources/general/comboUpPassive@2x.png
similarity index 100%
rename from platform/icons/src/general/comboUpPassive@2x.png
rename to platform/icons/compatibilityResources/general/comboUpPassive@2x.png
diff --git a/platform/icons/src/modules/deleteContentFolder.png b/platform/icons/compatibilityResources/modules/deleteContentFolder.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolder.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolder.png
diff --git a/platform/icons/src/modules/deleteContentFolder@2x.png b/platform/icons/compatibilityResources/modules/deleteContentFolder@2x.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolder@2x.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolder@2x.png
diff --git a/platform/icons/src/modules/deleteContentFolder@2x_dark.png b/platform/icons/compatibilityResources/modules/deleteContentFolder@2x_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolder@2x_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolder@2x_dark.png
diff --git a/platform/icons/src/modules/deleteContentFolderRollover.png b/platform/icons/compatibilityResources/modules/deleteContentFolderRollover.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolderRollover.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolderRollover.png
diff --git a/platform/icons/src/modules/deleteContentFolderRollover@2x.png b/platform/icons/compatibilityResources/modules/deleteContentFolderRollover@2x.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolderRollover@2x.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolderRollover@2x.png
diff --git a/platform/icons/src/modules/deleteContentFolderRollover@2x_dark.png b/platform/icons/compatibilityResources/modules/deleteContentFolderRollover@2x_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolderRollover@2x_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolderRollover@2x_dark.png
diff --git a/platform/icons/src/modules/deleteContentFolderRollover_dark.png b/platform/icons/compatibilityResources/modules/deleteContentFolderRollover_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolderRollover_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolderRollover_dark.png
diff --git a/platform/icons/src/modules/deleteContentFolder_dark.png b/platform/icons/compatibilityResources/modules/deleteContentFolder_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentFolder_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentFolder_dark.png
diff --git a/platform/icons/src/modules/deleteContentRoot.png b/platform/icons/compatibilityResources/modules/deleteContentRoot.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRoot.png
rename to platform/icons/compatibilityResources/modules/deleteContentRoot.png
diff --git a/platform/icons/src/modules/deleteContentRoot@2x.png b/platform/icons/compatibilityResources/modules/deleteContentRoot@2x.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRoot@2x.png
rename to platform/icons/compatibilityResources/modules/deleteContentRoot@2x.png
diff --git a/platform/icons/src/modules/deleteContentRoot@2x_dark.png b/platform/icons/compatibilityResources/modules/deleteContentRoot@2x_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRoot@2x_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentRoot@2x_dark.png
diff --git a/platform/icons/src/modules/deleteContentRootRollover.png b/platform/icons/compatibilityResources/modules/deleteContentRootRollover.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRootRollover.png
rename to platform/icons/compatibilityResources/modules/deleteContentRootRollover.png
diff --git a/platform/icons/src/modules/deleteContentRootRollover@2x.png b/platform/icons/compatibilityResources/modules/deleteContentRootRollover@2x.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRootRollover@2x.png
rename to platform/icons/compatibilityResources/modules/deleteContentRootRollover@2x.png
diff --git a/platform/icons/src/modules/deleteContentRootRollover@2x_dark.png b/platform/icons/compatibilityResources/modules/deleteContentRootRollover@2x_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRootRollover@2x_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentRootRollover@2x_dark.png
diff --git a/platform/icons/src/modules/deleteContentRootRollover_dark.png b/platform/icons/compatibilityResources/modules/deleteContentRootRollover_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRootRollover_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentRootRollover_dark.png
diff --git a/platform/icons/src/modules/deleteContentRoot_dark.png b/platform/icons/compatibilityResources/modules/deleteContentRoot_dark.png
similarity index 100%
rename from platform/icons/src/modules/deleteContentRoot_dark.png
rename to platform/icons/compatibilityResources/modules/deleteContentRoot_dark.png
diff --git a/platform/icons/src/actions/icon-robots.txt b/platform/icons/src/actions/icon-robots.txt
index edf786e451ef..092ca0ace128 100644
--- a/platform/icons/src/actions/icon-robots.txt
+++ b/platform/icons/src/actions/icon-robots.txt
@@ -41,3 +41,6 @@ deprecated: sortDesc.png -> /actions/moveDown.svg; to be removed in IDEA 2020 -
deprecated: submit1.png -> /actions/setDefault.svg; to be removed in IDEA 2020 - use AllIcons.Actions.SetDefault
deprecated: synchronizeFS.png -> /actions/refresh.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Refresh
deprecated: up.png -> /general/arrowUp.svg; to be removed in IDEA 2020 - use AllIcons.General.ArrowUp
+deprecated: cross.png -> /actions/close.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Close
+deprecated: closeNew.png -> /actions/close.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Close
+deprecated: closeNewHovered.png -> /actions/closeHovered.svg; to be removed in IDEA 2020 - use AllIcons.Actions.CloseHovered
diff --git a/platform/icons/src/general/icon-robots.txt b/platform/icons/src/general/icon-robots.txt
index 7e45853785d2..6c02a74e1565 100644
--- a/platform/icons/src/general/icon-robots.txt
+++ b/platform/icons/src/general/icon-robots.txt
@@ -92,8 +92,10 @@ deprecated: tab_grey_left.png; to be removed in IDEA 2020
deprecated: tab_grey_left_inner.png; to be removed in IDEA 2020
deprecated: tab_grey_right.png; to be removed in IDEA 2020
deprecated: tab_grey_right_inner.png; to be removed in IDEA 2020
-deprecated: TemplateProjectSettings.png -> /general/settings.svg; to be removed in IDEA 2020 - AllIcons.General.Settings
-deprecated: TemplateProjectStructure.png -> /general/projectStructure.svg; to be removed in IDEA 2020 - AllIcons.General.ProjectStructure
+deprecated: TemplateProjectSettings.png -> /general/settings.svg; to be removed in IDEA 2020 - use AllIcons.General.Settings
+deprecated: TemplateProjectStructure.png -> /general/projectStructure.svg; to be removed in IDEA 2020 - use AllIcons.General.ProjectStructure
deprecated: uninstallPlugin.png; to be removed in IDEA 2020
deprecated: webSettings.png; to be removed in IDEA 2020
deprecated: passwordLock.png; to be removed in IDEA 2020
+deprecated: comboUpPassive.png; to be removed in IDEA 2020
+deprecated: balloonClose.png -> /ide/notification/close.svg; to be removed in IDEA 2020 - use AllIcons.Ide.Notification.Close
diff --git a/platform/icons/src/modules/icon-robots.txt b/platform/icons/src/modules/icon-robots.txt
index a0d4a099f3b7..b329ec7b5731 100644
--- a/platform/icons/src/modules/icon-robots.txt
+++ b/platform/icons/src/modules/icon-robots.txt
@@ -9,3 +9,7 @@ deprecated: sourceFolder.svg -> /nodes/package.svg; to be removed in IDEA 2020 -
deprecated: testSourceFolder.svg -> /nodes/testSourceFolder.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.TestSourceFolder
deprecated: webRoot.svg -> /nodes/webFolder.svg; to be removed in IDEA 2020 - use AllIcons.Nodes.WebFolder
deprecated: sources.svg; to be removed in IDEA 2020
+deprecated: deleteContentFolder.png -> /action/close.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Close
+deprecated: deleteContentFolderRollover.png -> /action/closeHovered.svg; to be removed in IDEA 2020 - use AllIcons.Actions.CloseHovered
+deprecated: deleteContentRoot.png -> /action/close.svg; to be removed in IDEA 2020 - use AllIcons.Actions.Close
+deprecated: deleteContentRootRollover.png -> /action/closeHovered.svg; to be removed in IDEA 2020 - use AllIcons.Actions.CloseHovered
diff --git a/platform/lang-impl/src/com/intellij/find/SearchReplaceComponent.java b/platform/lang-impl/src/com/intellij/find/SearchReplaceComponent.java
index 8ad82d466862..30ef87e782b5 100644
--- a/platform/lang-impl/src/com/intellij/find/SearchReplaceComponent.java
+++ b/platform/lang-impl/src/com/intellij/find/SearchReplaceComponent.java
@@ -156,7 +156,7 @@ public class SearchReplaceComponent extends EditorHeaderComponent implements Dat
searchToolbarWrapper1.setHorizontalSizeReferent(replaceToolbarWrapper1);
- JLabel closeLabel = new JLabel(null, AllIcons.Actions.Cross, SwingConstants.RIGHT);
+ JLabel closeLabel = new JLabel(null, AllIcons.Actions.Close, SwingConstants.RIGHT);
closeLabel.setBorder(JBUI.Borders.empty(5));
closeLabel.setVerticalAlignment(SwingConstants.TOP);
closeLabel.addMouseListener(new MouseAdapter() {
diff --git a/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java b/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java
index d6174674eed2..db66604637d7 100644
--- a/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java
+++ b/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java
@@ -142,8 +142,8 @@ public abstract class ContentRootPanel extends JPanel {
if (getContentEntry().getFile() == null) {
headerLabel.setForeground(JBColor.RED);
}
- final IconActionComponent deleteIconComponent = new IconActionComponent(AllIcons.Modules.DeleteContentRoot,
- AllIcons.Modules.DeleteContentRootRollover,
+ final IconActionComponent deleteIconComponent = new IconActionComponent(AllIcons.Actions.Close,
+ AllIcons.Actions.CloseHovered,
ProjectBundle.message("module.paths.remove.content.tooltip"),
() -> myCallback.deleteContentEntry());
final ResizingWrapper wrapper = new ResizingWrapper(headerLabel);
@@ -247,7 +247,7 @@ public abstract class ContentRootPanel extends JPanel {
else {
tooltipText = ProjectBundle.message("module.paths.remove.tooltip");
}
- return new IconActionComponent(AllIcons.Modules.DeleteContentFolder, AllIcons.Modules.DeleteContentFolderRollover, tooltipText,
+ return new IconActionComponent(AllIcons.Actions.Close, AllIcons.Actions.CloseHovered, tooltipText,
() -> myCallback.deleteContentFolder(getContentEntry(), folder));
}
diff --git a/platform/lang-impl/src/com/intellij/ui/debugger/extensions/FocusDebugger.java b/platform/lang-impl/src/com/intellij/ui/debugger/extensions/FocusDebugger.java
index 5486b3f28753..8cdd66b6d564 100644
--- a/platform/lang-impl/src/com/intellij/ui/debugger/extensions/FocusDebugger.java
+++ b/platform/lang-impl/src/com/intellij/ui/debugger/extensions/FocusDebugger.java
@@ -17,7 +17,10 @@
package com.intellij.ui.debugger.extensions;
import com.intellij.icons.AllIcons;
-import com.intellij.openapi.actionSystem.*;
+import com.intellij.openapi.actionSystem.ActionManager;
+import com.intellij.openapi.actionSystem.AnAction;
+import com.intellij.openapi.actionSystem.AnActionEvent;
+import com.intellij.openapi.actionSystem.DefaultActionGroup;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.ui.Splitter;
import com.intellij.ui.ColoredListCellRenderer;
@@ -94,7 +97,7 @@ public class FocusDebugger implements UiDebuggerExtension, PropertyChangeListene
class ClearAction extends AnAction {
ClearAction() {
- super("Clear", "", AllIcons.Actions.Cross);
+ super("Clear", "", AllIcons.Actions.Close);
}
@Override
diff --git a/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorTabbedContainer.java b/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorTabbedContainer.java
index 7f44fc29a56e..aeba17ba73be 100644
--- a/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorTabbedContainer.java
+++ b/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorTabbedContainer.java
@@ -435,8 +435,8 @@ public final class EditorTabbedContainer implements Disposable, CloseAction.Clos
@Override
public void update(@NotNull final AnActionEvent e) {
- e.getPresentation().setIcon(AllIcons.Actions.CloseNew);
- e.getPresentation().setHoveredIcon(AllIcons.Actions.CloseNewHovered);
+ e.getPresentation().setIcon(AllIcons.Actions.Close);
+ e.getPresentation().setHoveredIcon(AllIcons.Actions.CloseHovered);
e.getPresentation().setVisible(UISettings.getInstance().getShowCloseButton());
e.getPresentation().setText("Close. Alt-click to close others.");
}
diff --git a/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java b/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java
index 56f32ff3cb34..4f592cc4b9da 100644
--- a/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java
+++ b/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java
@@ -1040,7 +1040,7 @@ public class BalloonImpl implements Balloon, IdeTooltip.Ui {
}
public Icon getCloseButton() {
- return AllIcons.General.BalloonClose;
+ return AllIcons.Ide.Notification.Close;
}
@Override
diff --git a/platform/platform-resources/src/idea/LangActions.xml b/platform/platform-resources/src/idea/LangActions.xml
index 1ef8ca217e89..0ee81a473fa9 100644
--- a/platform/platform-resources/src/idea/LangActions.xml
+++ b/platform/platform-resources/src/idea/LangActions.xml
@@ -881,10 +881,10 @@
icon="AllIcons.Debugger.RestoreLayout"/>
-
-
-
-
+
+
+
+