mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make icon classes final
This commit is contained in:
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class OpenapiIcons { private static Icon load(String path) {
|
||||
public final class OpenapiIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, OpenapiIcons.class);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ class IconsClassGenerator(private val projectHome: File, val util: JpsModule, pr
|
||||
if (className != "AllIcons") {
|
||||
answer.append(" final")
|
||||
}
|
||||
answer.append(" class ").append(className).append(" {")
|
||||
answer.append(" class ").append(className).append(" {\n")
|
||||
if (customLoad) {
|
||||
append(answer, "private static Icon load(String path) {", 1)
|
||||
append(answer, "return IconLoader.getIcon(path, ${className}.class);", 2)
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class DvcsImplIcons { private static Icon load(String path) {
|
||||
public final class DvcsImplIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, DvcsImplIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class ExternalSystemIcons { private static Icon load(String path) {
|
||||
public final class ExternalSystemIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, ExternalSystemIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class PlatformImplIcons { private static Icon load(String path) {
|
||||
public final class PlatformImplIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, PlatformImplIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class RemoteServersIcons { private static Icon load(String path) {
|
||||
public final class RemoteServersIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, RemoteServersIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class TasksIcons { private static Icon load(String path) {
|
||||
public final class TasksIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, TasksIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import javax.swing.*;
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public class AllIcons {
|
||||
|
||||
public final static class Actions {
|
||||
public static final Icon AddMulticaret = IconLoader.getIcon("/actions/AddMulticaret.svg"); // 16x16
|
||||
public static final Icon Annotate = IconLoader.getIcon("/actions/annotate.svg"); // 16x16
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class VcsLogIcons { private static Icon load(String path) {
|
||||
public final class VcsLogIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, VcsLogIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class AntIcons { private static Icon load(String path) {
|
||||
public final class AntIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, AntIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class DevkitIcons { private static Icon load(String path) {
|
||||
public final class DevkitIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, DevkitIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class EclipseIcons { private static Icon load(String path) {
|
||||
public final class EclipseIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, EclipseIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class EditorconfigIcons { private static Icon load(String path) {
|
||||
public final class EditorconfigIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, EditorconfigIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class GithubIcons { private static Icon load(String path) {
|
||||
public final class GithubIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, GithubIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class GoogleAppEngineIcons { private static Icon load(String path) {
|
||||
public final class GoogleAppEngineIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, GoogleAppEngineIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class GradleIcons { private static Icon load(String path) {
|
||||
public final class GradleIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, GradleIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class JetgroovyIcons { private static Icon load(String path) {
|
||||
public final class JetgroovyIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, JetgroovyIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class MavenIcons { private static Icon load(String path) {
|
||||
public final class MavenIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, MavenIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class PropertiesIcons { private static Icon load(String path) {
|
||||
public final class PropertiesIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, PropertiesIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class JavaDebuggerStreamsIcons { private static Icon load(String path) {
|
||||
public final class JavaDebuggerStreamsIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, JavaDebuggerStreamsIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class SvnIcons { private static Icon load(String path) {
|
||||
public final class SvnIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, SvnIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class TerminalIcons { private static Icon load(String path) {
|
||||
public final class TerminalIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, TerminalIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class TestngIcons { private static Icon load(String path) {
|
||||
public final class TestngIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, TestngIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class UIDesignerIcons { private static Icon load(String path) {
|
||||
public final class UIDesignerIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, UIDesignerIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class XpathIcons { private static Icon load(String path) {
|
||||
public final class XpathIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, XpathIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class XsltDebuggerIcons { private static Icon load(String path) {
|
||||
public final class XsltDebuggerIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, XsltDebuggerIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class PythonEducationalIcons { private static Icon load(String path) {
|
||||
public final class PythonEducationalIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, PythonEducationalIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class PythonIcons { private static Icon load(String path) {
|
||||
public final class PythonIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, PythonIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class PythonPsiApiIcons { private static Icon load(String path) {
|
||||
public final class PythonPsiApiIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, PythonPsiApiIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class RestIcons { private static Icon load(String path) {
|
||||
public final class RestIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, RestIcons.class);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ import javax.swing.*;
|
||||
* NOTE THIS FILE IS AUTO-GENERATED
|
||||
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
|
||||
*/
|
||||
public final class SpellcheckerIcons { private static Icon load(String path) {
|
||||
public final class SpellcheckerIcons {
|
||||
private static Icon load(String path) {
|
||||
return IconLoader.getIcon(path, SpellcheckerIcons.class);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user