IJPL-150231 Move icon mappings from json to icon generator

GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
This commit is contained in:
Alexander Lobas
2024-06-15 13:38:25 +02:00
committed by intellij-monorepo-bot
parent 65b5af76bd
commit 89d58ee436
112 changed files with 1389 additions and 1041 deletions

View File

@@ -14,6 +14,9 @@ public final class SpellcheckerIcons {
private static @NotNull Icon load(@NotNull String path, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, SpellcheckerIcons.class.getClassLoader(), cacheKey, flags);
}
/** 16x16 */ public static final @NotNull Icon Dictionary = load("icons/dictionary.svg", -2094657776, 2);
private static @NotNull Icon load(@NotNull String path, @NotNull String expUIPath, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, expUIPath, SpellcheckerIcons.class.getClassLoader(), cacheKey, flags);
}
/** 16x16 */ public static final @NotNull Icon Dictionary = load("icons/dictionary.svg", "icons/newui/dictionary.svg", -2094657776, 2);
/** 16x16 */ public static final @NotNull Icon Spellcheck = load("icons/spellcheck.svg", 1919442669, 2);
}

View File

@@ -1 +1 @@
skip: *
merge

View File

@@ -42,7 +42,5 @@
<statistics.counterUsagesCollector implementationClass="com.intellij.spellchecker.statistics.SpellcheckerActionStatistics"/>
<notificationGroup id="Spellchecker" displayType="BALLOON" bundle="messages.SpellCheckerBundle" key="notification.group.spellchecker"/>
<iconMapper mappingFile="SpellcheckerIconMappings.json"/>
</extensions>
</idea-plugin>