[icons] move favorites icons from vcs to nodes
@@ -32,7 +32,7 @@ public abstract class BranchActionGroup extends ActionGroup implements DumbAware
|
||||
|
||||
public BranchActionGroup() {
|
||||
super("", true);
|
||||
setIcons(AllIcons.Vcs.Favorite, EmptyIcon.ICON_16, AllIcons.Vcs.FavoriteOnHover, AllIcons.Vcs.NotFavoriteOnHover);
|
||||
setIcons(AllIcons.Nodes.Favorite, EmptyIcon.ICON_16, AllIcons.Nodes.FavoriteOnHover, AllIcons.Nodes.NotFavoriteOnHover);
|
||||
}
|
||||
|
||||
protected void setIcons(@NotNull Icon favorite,
|
||||
|
||||
|
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
|
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 185 B |
|
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 289 B |
|
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 186 B |
|
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 304 B |
@@ -1 +1 @@
|
||||
deprecated: mergeSourcesTree.png -> /actions/showAsTree.svg; to be removed in IDEA 2020 - use AllIcons.Actions.ShowAsTree
|
||||
deprecated: mergeSourcesTree.png -> /actions/showAsTree.svg; to be removed in IDEA 2020 - use AllIcons.Actions.ShowAsTree
|
||||
@@ -1318,6 +1318,8 @@ public class AllIcons {
|
||||
public static final Icon ExcludedFromCompile = IconLoader.getIcon("/nodes/excludedFromCompile.png"); // 16x16
|
||||
public static final Icon ExpandNode = IconLoader.getIcon("/nodes/expandNode.png"); // 9x9
|
||||
public static final Icon ExtractedFolder = IconLoader.getIcon("/nodes/extractedFolder.png"); // 16x16
|
||||
public static final Icon Favorite = IconLoader.getIcon("/nodes/favorite.png"); // 16x16
|
||||
public static final Icon FavoriteOnHover = IconLoader.getIcon("/nodes/favoriteOnHover.png"); // 16x16
|
||||
public static final Icon Field = IconLoader.getIcon("/nodes/field.svg"); // 16x16
|
||||
public static final Icon FieldPK = IconLoader.getIcon("/nodes/fieldPK.png"); // 16x16
|
||||
public static final Icon FinalMark = IconLoader.getIcon("/nodes/finalMark.png"); // 16x16
|
||||
@@ -1364,6 +1366,7 @@ public class AllIcons {
|
||||
public static final Icon NewFolder = IconLoader.getIcon("/nodes/newFolder.png"); // 16x16
|
||||
public static final Icon NewParameter = IconLoader.getIcon("/nodes/newParameter.png"); // 16x16
|
||||
public static final Icon NodePlaceholder = IconLoader.getIcon("/nodes/nodePlaceholder.png"); // 16x16
|
||||
public static final Icon NotFavoriteOnHover = IconLoader.getIcon("/nodes/notFavoriteOnHover.png"); // 16x16
|
||||
public static final Icon Package = IconLoader.getIcon("/nodes/package.svg"); // 16x16
|
||||
public static final Icon Padlock = IconLoader.getIcon("/nodes/padlock.png"); // 16x16
|
||||
public static final Icon Parameter = IconLoader.getIcon("/nodes/parameter.svg"); // 16x16
|
||||
@@ -1857,8 +1860,6 @@ public class AllIcons {
|
||||
public static final Icon Changelist = IconLoader.getIcon("/vcs/changelist.svg"); // 16x16
|
||||
public static final Icon CheckSpelling = IconLoader.getIcon("/vcs/checkSpelling.png"); // 16x16
|
||||
public static final Icon Equal = IconLoader.getIcon("/vcs/equal.png"); // 16x16
|
||||
public static final Icon Favorite = IconLoader.getIcon("/vcs/favorite.png"); // 16x16
|
||||
public static final Icon FavoriteOnHover = IconLoader.getIcon("/vcs/favoriteOnHover.png"); // 16x16
|
||||
public static final Icon History = IconLoader.getIcon("/vcs/history.svg"); // 16x16
|
||||
public static final Icon MapBase = IconLoader.getIcon("/vcs/mapBase.png"); // 16x16
|
||||
public static final Icon Merge = IconLoader.getIcon("/vcs/merge.png"); // 12x12
|
||||
@@ -1868,7 +1869,6 @@ public class AllIcons {
|
||||
@Deprecated
|
||||
public static final Icon MergeSourcesTree = IconLoader.getIcon("/actions/showAsTree.svg"); // 16x16
|
||||
public static final Icon Not_equal = IconLoader.getIcon("/vcs/not_equal.png"); // 16x16
|
||||
public static final Icon NotFavoriteOnHover = IconLoader.getIcon("/vcs/notFavoriteOnHover.png"); // 16x16
|
||||
public static final Icon Patch = IconLoader.getIcon("/vcs/patch.svg"); // 16x16
|
||||
public static final Icon Patch_applied = IconLoader.getIcon("/vcs/patch_applied.svg"); // 16x16
|
||||
public static final Icon Patch_file = IconLoader.getIcon("/vcs/patch_file.svg"); // 16x16
|
||||
|
||||
@@ -141,8 +141,8 @@ public class BranchFilterPopupComponent extends MultipleValueFilterPopupComponen
|
||||
public BranchFilterAction(@NotNull String value, @NotNull Collection<VcsRef> references) {
|
||||
super(value, true);
|
||||
myReferences = references;
|
||||
myIcon = new LayeredIcon(AllIcons.Vcs.Favorite, EmptyIcon.ICON_16);
|
||||
myHoveredIcon = new LayeredIcon(AllIcons.Vcs.FavoriteOnHover, AllIcons.Vcs.NotFavoriteOnHover);
|
||||
myIcon = new LayeredIcon(AllIcons.Nodes.Favorite, EmptyIcon.ICON_16);
|
||||
myHoveredIcon = new LayeredIcon(AllIcons.Nodes.FavoriteOnHover, AllIcons.Nodes.NotFavoriteOnHover);
|
||||
getTemplatePresentation().setIcon(myIcon);
|
||||
getTemplatePresentation().setSelectedIcon(myHoveredIcon);
|
||||
|
||||
|
||||
@@ -414,8 +414,8 @@ class GitBranchPopupActions {
|
||||
@NotNull String branchName,
|
||||
@NotNull GitRepository selectedRepository) {
|
||||
super(project, repositories, branchName, selectedRepository);
|
||||
setIcons(DvcsImplIcons.CurrentBranchFavoriteLabel, DvcsImplIcons.CurrentBranchLabel, AllIcons.Vcs.FavoriteOnHover,
|
||||
AllIcons.Vcs.NotFavoriteOnHover);
|
||||
setIcons(DvcsImplIcons.CurrentBranchFavoriteLabel, DvcsImplIcons.CurrentBranchLabel, AllIcons.Nodes.FavoriteOnHover,
|
||||
AllIcons.Nodes.NotFavoriteOnHover);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -291,8 +291,8 @@ public class HgBranchPopupActions {
|
||||
public static class CurrentBranch extends BranchActions implements PopupElementWithAdditionalInfo {
|
||||
public CurrentBranch(@NotNull Project project, @NotNull List<HgRepository> repositories, @NotNull String branchName) {
|
||||
super(project, repositories, branchName);
|
||||
setIcons(DvcsImplIcons.CurrentBranchFavoriteLabel, DvcsImplIcons.CurrentBranchLabel, AllIcons.Vcs.FavoriteOnHover,
|
||||
AllIcons.Vcs.NotFavoriteOnHover);
|
||||
setIcons(DvcsImplIcons.CurrentBranchFavoriteLabel, DvcsImplIcons.CurrentBranchLabel, AllIcons.Nodes.FavoriteOnHover,
|
||||
AllIcons.Nodes.NotFavoriteOnHover);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@@ -338,8 +338,8 @@ public class HgBranchPopupActions {
|
||||
|
||||
public CurrentActiveBookmark(@NotNull Project project, @NotNull List<HgRepository> repositories, @NotNull String branchName) {
|
||||
super(project, repositories, branchName);
|
||||
setIcons(DvcsImplIcons.CurrentBranchFavoriteLabel, DvcsImplIcons.CurrentBranchLabel, AllIcons.Vcs.FavoriteOnHover,
|
||||
AllIcons.Vcs.NotFavoriteOnHover);
|
||||
setIcons(DvcsImplIcons.CurrentBranchFavoriteLabel, DvcsImplIcons.CurrentBranchLabel, AllIcons.Nodes.FavoriteOnHover,
|
||||
AllIcons.Nodes.NotFavoriteOnHover);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||