cleanup: deprecate old png icons for IntelliJ IDEA Community and Ultimate (IDEA-199662)

svg icons should be used instead.

GitOrigin-RevId: 5f941aae6732077196bb5966798b778295643b0b
This commit is contained in:
nik
2019-05-22 15:09:51 +03:00
committed by intellij-monorepo-bot
parent aa194f3a76
commit 2a0d9441d9
18 changed files with 30 additions and 8 deletions

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Before

Width:  |  Height:  |  Size: 772 B

After

Width:  |  Height:  |  Size: 772 B

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 246 B

Before

Width:  |  Height:  |  Size: 826 B

After

Width:  |  Height:  |  Size: 826 B

Before

Width:  |  Height:  |  Size: 184 B

After

Width:  |  Height:  |  Size: 184 B

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 186 B

+6
View File
@@ -1 +1,7 @@
skip: diff_frame*
deprecated: icon.png; use ProductIcons.getInstance().getProductIcon() instead
deprecated: icon_small.png; use ProductIcons.getInstance().getProductIcon() instead
deprecated: icon_CEsmall.png; use ProductIcons.getInstance().getProductIcon() instead
deprecated: icon_128.png
deprecated: icon_CE.png
deprecated: icon_CE_*.png
@@ -49,7 +49,7 @@ public class TestDnd extends AnAction {
JBList list = new JBList(new String[]{"1111111", "222222", "333333", "44444", "555555555555555555555555"});
DnDSupport.createBuilder(list)
.setBeanProvider(info -> new DnDDragStartBean("something"))
.setImageProvider(info -> new DnDImage(IconUtil.toImage(AllIcons.Icon)))
.setImageProvider(info -> new DnDImage(IconUtil.toImage(AllIcons.FileTypes.Text)))
.install();
return list;
@@ -1571,13 +1571,6 @@ public class AllIcons {
public static final Icon Caller = AllIcons.Hierarchy.Supertypes;
}
/** 32x32 */ public static final Icon Icon = IconLoader.getIcon("/icon.png");
/** 128x128 */ public static final Icon Icon_128 = IconLoader.getIcon("/icon_128.png");
/** 32x32 */ public static final Icon Icon_CE = IconLoader.getIcon("/icon_CE.png");
/** 128x128 */ public static final Icon Icon_CE_128 = IconLoader.getIcon("/icon_CE_128.png");
/** 64x64 */ public static final Icon Icon_CE_64 = IconLoader.getIcon("/icon_CE_64.png");
/** 16x16 */ public static final Icon Icon_CEsmall = IconLoader.getIcon("/icon_CEsmall.png");
/** 16x16 */ public static final Icon Icon_small = IconLoader.getIcon("/icon_small.png");
public final static class Icons {
@@ -3041,4 +3034,27 @@ public class AllIcons {
/** 16x16 */ public static final Icon Html_id = IconLoader.getIcon("/xml/html_id.svg");
}
/** @deprecated use ProductIcons.getInstance().getProductIcon() instead */
@SuppressWarnings("unused")
@Deprecated
public static final Icon Icon = IconLoader.getIcon("/icon.png");
@SuppressWarnings("unused")
@Deprecated
public static final Icon Icon_128 = IconLoader.getIcon("/icon_128.png");
@SuppressWarnings("unused")
@Deprecated
public static final Icon Icon_CE = IconLoader.getIcon("/icon_CE.png");
/** @deprecated use ProductIcons.getInstance().getProductIcon() instead */
@SuppressWarnings("unused")
@Deprecated
public static final Icon Icon_CEsmall = IconLoader.getIcon("/icon_CEsmall.png");
/** @deprecated use ProductIcons.getInstance().getProductIcon() instead */
@SuppressWarnings("unused")
@Deprecated
public static final Icon Icon_small = IconLoader.getIcon("/icon_small.png");
}