mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-190693: replace showModules.png with GroupByModule.svg
This commit is contained in:
@@ -0,0 +1 @@
|
||||
deprecated: showModules.png -> /actions/GroupByModule.svg; to be removed in IDEA 2020 - use AllIcons.Actions.GroupByModule
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 185 B |
Binary file not shown.
|
Before Width: | Height: | Size: 582 B |
Binary file not shown.
|
Before Width: | Height: | Size: 580 B |
Binary file not shown.
|
Before Width: | Height: | Size: 232 B |
@@ -35,7 +35,7 @@ public abstract class ShowModulesAction extends ToggleAction {
|
||||
|
||||
public ShowModulesAction(Project project) {
|
||||
super(IdeBundle.message("action.show.modules"), IdeBundle.message("action.description.show.modules"),
|
||||
AllIcons.ObjectBrowser.ShowModules);
|
||||
AllIcons.Actions.GroupByModule);
|
||||
myProject = project;
|
||||
}
|
||||
|
||||
|
||||
@@ -594,7 +594,7 @@ abstract class TodoPanel extends SimpleToolWindowPanel implements OccurenceNavig
|
||||
|
||||
private final class MyShowModulesAction extends ToggleAction {
|
||||
MyShowModulesAction() {
|
||||
super(IdeBundle.message("action.group.by.modules"), null, AllIcons.ObjectBrowser.ShowModules);
|
||||
super(IdeBundle.message("action.group.by.modules"), null, AllIcons.Actions.GroupByModule);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,7 +27,7 @@ public final class ShowModulesAction extends ToggleAction {
|
||||
|
||||
public ShowModulesAction(final Runnable update) {
|
||||
super(IdeBundle.message("action.show.modules"),
|
||||
IdeBundle.message("action.description.show.modules"), AllIcons.ObjectBrowser.ShowModules);
|
||||
IdeBundle.message("action.description.show.modules"), AllIcons.Actions.GroupByModule);
|
||||
myUpdate = update;
|
||||
}
|
||||
|
||||
|
||||
@@ -1378,7 +1378,11 @@ public class AllIcons {
|
||||
public static final Icon ShowEditorHighlighting = IconLoader.getIcon("/objectBrowser/showEditorHighlighting.png"); // 16x16
|
||||
public static final Icon ShowLibraryContents = IconLoader.getIcon("/objectBrowser/showLibraryContents.png"); // 16x16
|
||||
public static final Icon ShowMembers = IconLoader.getIcon("/objectBrowser/showMembers.png"); // 16x16
|
||||
public static final Icon ShowModules = IconLoader.getIcon("/objectBrowser/showModules.png"); // 16x16
|
||||
|
||||
/** @deprecated to be removed in IDEA 2020 - use AllIcons.Actions.GroupByModule */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
public static final Icon ShowModules = IconLoader.getIcon("/actions/GroupByModule.svg"); // 16x16
|
||||
public static final Icon SortByType = IconLoader.getIcon("/objectBrowser/sortByType.png"); // 16x16
|
||||
public static final Icon Sorted = IconLoader.getIcon("/objectBrowser/sorted.svg"); // 16x16
|
||||
public static final Icon SortedByUsage = IconLoader.getIcon("/objectBrowser/sortedByUsage.png"); // 16x16
|
||||
|
||||
@@ -37,6 +37,9 @@ public class DeprecatedDuplicatesIconPathPatcher extends IconPathPatcher {
|
||||
ourDeprecatedIconsReplacements.put("/hierarchy/base.png", "AllIcons.Actions.Forward");
|
||||
ourDeprecatedIconsReplacements.put("/hierarchy/base.svg", "AllIcons.Actions.Forward");
|
||||
|
||||
ourDeprecatedIconsReplacements.put("/objectBrowser/showModules.png", "AllIcons.Actions.GroupByModule");
|
||||
ourDeprecatedIconsReplacements.put("/objectBrowser/showModules.svg", "AllIcons.Actions.GroupByModule");
|
||||
|
||||
ourDeprecatedIconsReplacements.put("/toolbar/folders.png", "AllIcons.Actions.GroupByPackage");
|
||||
ourDeprecatedIconsReplacements.put("/toolbar/folders.svg", "AllIcons.Actions.GroupByPackage");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user