IDEA-196077 Update close icon and notification icons.
|
Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
|
Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
|
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
|
Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 208 B |
|
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 1018 B After Width: | Height: | Size: 1018 B |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 228 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 248 B |
|
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 248 B |
|
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.");
|
||||
}
|
||||
|
||||
@@ -1040,7 +1040,7 @@ public class BalloonImpl implements Balloon, IdeTooltip.Ui {
|
||||
}
|
||||
|
||||
public Icon getCloseButton() {
|
||||
return AllIcons.General.BalloonClose;
|
||||
return AllIcons.Ide.Notification.Close;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -881,10 +881,10 @@
|
||||
icon="AllIcons.Debugger.RestoreLayout"/>
|
||||
</group>
|
||||
<group id="Runner.View.Close.Group" popup="false">
|
||||
<action id="Runner.CloseView" class="com.intellij.execution.ui.layout.actions.CloseViewAction" icon="AllIcons.Actions.Cross"/>
|
||||
<action id="Runner.CloseOtherViews" class="com.intellij.execution.ui.layout.actions.CloseOtherViewsAction" icon="AllIcons.Actions.Cross"/>
|
||||
<action id="Runner.CloseAllViews" class="com.intellij.execution.ui.layout.actions.CloseAllViewsAction" icon="AllIcons.Actions.Cross"/>
|
||||
<action id="Runner.CloseAllUnpinnedViews" class="com.intellij.execution.ui.layout.actions.CloseAllUnpinnedViewsAction" icon="AllIcons.Actions.Cross"/>
|
||||
<action id="Runner.CloseView" class="com.intellij.execution.ui.layout.actions.CloseViewAction" icon="AllIcons.Actions.Close"/>
|
||||
<action id="Runner.CloseOtherViews" class="com.intellij.execution.ui.layout.actions.CloseOtherViewsAction" icon="AllIcons.Actions.Close"/>
|
||||
<action id="Runner.CloseAllViews" class="com.intellij.execution.ui.layout.actions.CloseAllViewsAction" icon="AllIcons.Actions.Close"/>
|
||||
<action id="Runner.CloseAllUnpinnedViews" class="com.intellij.execution.ui.layout.actions.CloseAllUnpinnedViewsAction" icon="AllIcons.Actions.Close"/>
|
||||
</group>
|
||||
<group id="Runner.View.Popup">
|
||||
<action id="Runner.MinimizeView" class="com.intellij.execution.ui.layout.actions.MinimizeViewAction" icon="AllIcons.General.HideToolWindow"/>
|
||||
|
||||
@@ -28,13 +28,10 @@ public class AllIcons {
|
||||
public static final Icon Clear = IconLoader.getIcon("/actions/clear.png"); // 16x16
|
||||
public static final Icon Close = IconLoader.getIcon("/actions/close.svg"); // 16x16
|
||||
public static final Icon CloseHovered = IconLoader.getIcon("/actions/closeHovered.svg"); // 16x16
|
||||
public static final Icon CloseNew = IconLoader.getIcon("/actions/closeNew.png"); // 16x16
|
||||
public static final Icon CloseNewHovered = IconLoader.getIcon("/actions/closeNewHovered.png"); // 16x16
|
||||
public static final Icon Collapseall = IconLoader.getIcon("/actions/collapseall.svg"); // 16x16
|
||||
public static final Icon Commit = IconLoader.getIcon("/actions/commit.svg"); // 16x16
|
||||
public static final Icon Compile = IconLoader.getIcon("/actions/compile.svg"); // 16x16
|
||||
public static final Icon Copy = IconLoader.getIcon("/actions/copy.svg"); // 16x16
|
||||
public static final Icon Cross = IconLoader.getIcon("/actions/cross.png"); // 12x12
|
||||
public static final Icon DiagramDiff = IconLoader.getIcon("/actions/diagramDiff.svg"); // 16x16
|
||||
public static final Icon Diff = IconLoader.getIcon("/actions/diff.svg"); // 16x16
|
||||
public static final Icon DiffWithClipboard = IconLoader.getIcon("/actions/diffWithClipboard.svg"); // 16x16
|
||||
@@ -168,6 +165,16 @@ public class AllIcons {
|
||||
@Deprecated
|
||||
public static final Icon CheckedGrey = AllIcons.Actions.Checked;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Close */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon CloseNew = AllIcons.Actions.Close;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.CloseHovered */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon CloseNewHovered = AllIcons.Actions.CloseHovered;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.IntentionBulb */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
@@ -178,6 +185,11 @@ public class AllIcons {
|
||||
@Deprecated
|
||||
public static final Icon CreatePatch = IconLoader.getIcon("/actions/createPatch.png");
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Close */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon Cross = AllIcons.Actions.Close;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Cancel */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
@@ -816,14 +828,12 @@ public class AllIcons {
|
||||
public static final Icon AutoscrollFromSource = IconLoader.getIcon("/general/autoscrollFromSource.svg"); // 16x16
|
||||
public static final Icon AutoscrollToSource = IconLoader.getIcon("/general/autoscrollToSource.svg"); // 16x16
|
||||
public static final Icon Balloon = IconLoader.getIcon("/general/balloon.svg"); // 16x16
|
||||
public static final Icon BalloonClose = IconLoader.getIcon("/general/balloonClose.png"); // 32x32
|
||||
public static final Icon BalloonError = IconLoader.getIcon("/general/balloonError.svg"); // 16x16
|
||||
public static final Icon BalloonInformation = IconLoader.getIcon("/general/balloonInformation.svg"); // 16x16
|
||||
public static final Icon BalloonWarning = IconLoader.getIcon("/general/balloonWarning.svg"); // 16x16
|
||||
public static final Icon BalloonWarning12 = IconLoader.getIcon("/general/balloonWarning12.svg"); // 12x12
|
||||
public static final Icon CollapseComponent = IconLoader.getIcon("/general/collapseComponent.svg"); // 12x12
|
||||
public static final Icon CollapseComponentHover = IconLoader.getIcon("/general/collapseComponentHover.svg"); // 12x12
|
||||
public static final Icon ComboUpPassive = IconLoader.getIcon("/general/comboUpPassive.png"); // 16x16
|
||||
public static final Icon ContextHelp = IconLoader.getIcon("/general/contextHelp.svg"); // 16x16
|
||||
public static final Icon CopyHovered = IconLoader.getIcon("/general/copyHovered.svg"); // 16x16
|
||||
public static final Icon Divider = IconLoader.getIcon("/general/divider.svg"); // 2x19
|
||||
@@ -927,6 +937,11 @@ public class AllIcons {
|
||||
@Deprecated
|
||||
public static final Icon AutohideOffPressed = IconLoader.getIcon("/general/pin_tab.svg"); // 16x16
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Ide.Notification.Close */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon BalloonClose = AllIcons.Ide.Notification.Close;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
@@ -992,6 +1007,11 @@ public class AllIcons {
|
||||
@Deprecated
|
||||
public static final Icon ComboBoxButtonArrow = AllIcons.General.ArrowDown;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon ComboUpPassive = IconLoader.getIcon("/general/comboUpPassive.png");
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
@@ -1377,15 +1397,15 @@ public class AllIcons {
|
||||
@Deprecated
|
||||
public static final Icon Tab_grey_right_inner = IconLoader.getIcon("/general/tab_grey_right_inner.png");
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - AllIcons.General.Settings */
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.General.Settings */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon TemplateProjectSettings = IconLoader.getIcon("/general/settings.svg"); // 16x16
|
||||
public static final Icon TemplateProjectSettings = AllIcons.General.Settings;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - AllIcons.General.ProjectStructure */
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.General.ProjectStructure */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon TemplateProjectStructure = IconLoader.getIcon("/general/projectStructure.svg"); // 16x16
|
||||
public static final Icon TemplateProjectStructure = AllIcons.General.ProjectStructure;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 */
|
||||
@SuppressWarnings("unused")
|
||||
@@ -1694,10 +1714,6 @@ public class AllIcons {
|
||||
public final static class Modules {
|
||||
public static final Icon AddExcludedRoot = IconLoader.getIcon("/modules/addExcludedRoot.svg"); // 16x16
|
||||
public static final Icon Annotation = IconLoader.getIcon("/modules/annotation.svg"); // 16x16
|
||||
public static final Icon DeleteContentFolder = IconLoader.getIcon("/modules/deleteContentFolder.png"); // 9x9
|
||||
public static final Icon DeleteContentFolderRollover = IconLoader.getIcon("/modules/deleteContentFolderRollover.png"); // 9x9
|
||||
public static final Icon DeleteContentRoot = IconLoader.getIcon("/modules/deleteContentRoot.png"); // 9x9
|
||||
public static final Icon DeleteContentRootRollover = IconLoader.getIcon("/modules/deleteContentRootRollover.png"); // 9x9
|
||||
public static final Icon EditFolder = IconLoader.getIcon("/modules/editFolder.svg"); // 16x16
|
||||
public static final Icon ExcludedGeneratedRoot = IconLoader.getIcon("/modules/excludedGeneratedRoot.svg"); // 16x16
|
||||
public static final Icon ExcludeRoot = IconLoader.getIcon("/modules/excludeRoot.svg"); // 16x16
|
||||
@@ -1728,6 +1744,26 @@ public class AllIcons {
|
||||
@Deprecated
|
||||
public static final Icon AddContentEntry = AllIcons.General.Add;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Close */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon DeleteContentFolder = AllIcons.Actions.Close;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.CloseHovered */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon DeleteContentFolderRollover = AllIcons.Actions.CloseHovered;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Close */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon DeleteContentRoot = AllIcons.Actions.Close;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.CloseHovered */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon DeleteContentRootRollover = AllIcons.Actions.CloseHovered;
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.Edit */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
|
||||
@@ -1646,8 +1646,8 @@ public class JBUI {
|
||||
|
||||
@NotNull
|
||||
public static Icon closeTabIcon(boolean hovered) {
|
||||
return hovered ? getIcon("ToolWindow.header.closeButton.hovered.icon", AllIcons.Actions.CloseNewHovered)
|
||||
: getIcon("ToolWindow.header.closeButton.icon", AllIcons.Actions.CloseNew);
|
||||
return hovered ? getIcon("ToolWindow.header.closeButton.hovered.icon", AllIcons.Actions.CloseHovered)
|
||||
: getIcon("ToolWindow.header.closeButton.icon", AllIcons.Actions.Close);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||