added Flat*Laf.installLafInfo() methods to add a Laf to the set of available Lafs

uses `UIManager.installLookAndFeel( new UIManager.LookAndFeelInfo(...) )`
This commit is contained in:
Karl Tauber
2020-11-23 22:14:42 +01:00
parent 6c8b8e8949
commit 21a12b8dd4
66 changed files with 687 additions and 263 deletions

View File

@@ -18,21 +18,28 @@ package com.formdev.flatlaf;
/** /**
* A Flat LaF that has a dark color scheme and looks like Darcula LaF. * A Flat LaF that has a dark color scheme and looks like Darcula LaF.
* * <p>
* The UI defaults are loaded from FlatDarculaLaf.properties, FlatDarkLaf.properties and FlatLaf.properties * The UI defaults are loaded from {@code FlatDarculaLaf.properties},
* {@code FlatDarkLaf.properties} and {@code FlatLaf.properties}.
* *
* @author Karl Tauber * @author Karl Tauber
*/ */
public class FlatDarculaLaf public class FlatDarculaLaf
extends FlatDarkLaf extends FlatDarkLaf
{ {
public static boolean install( ) { public static final String NAME = "FlatLaf Darcula";
public static boolean install() {
return install( new FlatDarculaLaf() ); return install( new FlatDarculaLaf() );
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatDarculaLaf.class );
}
@Override @Override
public String getName() { public String getName() {
return "FlatLaf Darcula"; return NAME;
} }
@Override @Override

View File

@@ -16,23 +16,41 @@
package com.formdev.flatlaf; package com.formdev.flatlaf;
import javax.swing.UIManager;
/** /**
* A Flat LaF that has a dark color scheme. * A Flat LaF that has a dark color scheme.
* * <p>
* The UI defaults are loaded from FlatDarkLaf.properties and FlatLaf.properties * The UI defaults are loaded from {@code FlatDarkLaf.properties} and {@code FlatLaf.properties}.
* *
* @author Karl Tauber * @author Karl Tauber
*/ */
public class FlatDarkLaf public class FlatDarkLaf
extends FlatLaf extends FlatLaf
{ {
public static boolean install( ) { public static final String NAME = "FlatLaf Dark";
/**
* Sets the application look and feel to this LaF
* using {@link UIManager#setLookAndFeel(javax.swing.LookAndFeel)}.
*/
public static boolean install() {
return install( new FlatDarkLaf() ); return install( new FlatDarkLaf() );
} }
/**
* Adds this look and feel to the set of available look and feels.
* <p>
* Useful if your application uses {@link UIManager#getInstalledLookAndFeels()}
* to query available LaFs and display them to the user in a combobox.
*/
public static void installLafInfo() {
installLafInfo( NAME, FlatDarkLaf.class );
}
@Override @Override
public String getName() { public String getName() {
return "FlatLaf Dark"; return NAME;
} }
@Override @Override

View File

@@ -18,21 +18,28 @@ package com.formdev.flatlaf;
/** /**
* A Flat LaF that has a light color scheme and looks like IntelliJ LaF. * A Flat LaF that has a light color scheme and looks like IntelliJ LaF.
* * <p>
* The UI defaults are loaded from FlatIntelliJLaf.properties, FlatLightLaf.properties and FlatLaf.properties * The UI defaults are loaded from {@code FlatIntelliJLaf.properties},
* {@code FlatLightLaf.properties} and {@code FlatLaf.properties}.
* *
* @author Karl Tauber * @author Karl Tauber
*/ */
public class FlatIntelliJLaf public class FlatIntelliJLaf
extends FlatLightLaf extends FlatLightLaf
{ {
public static boolean install( ) { public static final String NAME = "FlatLaf IntelliJ";
public static boolean install() {
return install( new FlatIntelliJLaf() ); return install( new FlatIntelliJLaf() );
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatIntelliJLaf.class );
}
@Override @Override
public String getName() { public String getName() {
return "FlatLaf IntelliJ"; return NAME;
} }
@Override @Override

View File

@@ -50,9 +50,9 @@ import javax.swing.LookAndFeel;
import javax.swing.PopupFactory; import javax.swing.PopupFactory;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import javax.swing.UIDefaults; import javax.swing.UIDefaults;
import javax.swing.UIDefaults.ActiveValue;
import javax.swing.UIManager; import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException; import javax.swing.UnsupportedLookAndFeelException;
import javax.swing.UIDefaults.ActiveValue;
import javax.swing.plaf.ColorUIResource; import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.FontUIResource; import javax.swing.plaf.FontUIResource;
import javax.swing.plaf.UIResource; import javax.swing.plaf.UIResource;
@@ -94,6 +94,10 @@ public abstract class FlatLaf
private Boolean oldFrameWindowDecorated; private Boolean oldFrameWindowDecorated;
private Boolean oldDialogWindowDecorated; private Boolean oldDialogWindowDecorated;
/**
* Sets the application look and feel to the given LaF
* using {@link UIManager#setLookAndFeel(javax.swing.LookAndFeel)}.
*/
public static boolean install( LookAndFeel newLookAndFeel ) { public static boolean install( LookAndFeel newLookAndFeel ) {
try { try {
UIManager.setLookAndFeel( newLookAndFeel ); UIManager.setLookAndFeel( newLookAndFeel );
@@ -104,6 +108,16 @@ public abstract class FlatLaf
} }
} }
/**
* Adds the given look and feel to the set of available look and feels.
* <p>
* Useful if your application uses {@link UIManager#getInstalledLookAndFeels()}
* to query available LaFs and display them to the user in a combobox.
*/
public static void installLafInfo( String lafName, Class<? extends LookAndFeel> lafClass ) {
UIManager.installLookAndFeel( new UIManager.LookAndFeelInfo( lafName, lafClass.getName() ) );
}
/** /**
* Returns the look and feel identifier. * Returns the look and feel identifier.
* <p> * <p>

View File

@@ -16,23 +16,41 @@
package com.formdev.flatlaf; package com.formdev.flatlaf;
import javax.swing.UIManager;
/** /**
* A Flat LaF that has a light color scheme. * A Flat LaF that has a light color scheme.
* * <p>
* The UI defaults are loaded from FlatLightLaf.properties and FlatLaf.properties * The UI defaults are loaded from {@code FlatLightLaf.properties} and {@code FlatLaf.properties}.
* *
* @author Karl Tauber * @author Karl Tauber
*/ */
public class FlatLightLaf public class FlatLightLaf
extends FlatLaf extends FlatLaf
{ {
public static boolean install( ) { public static final String NAME = "FlatLaf Light";
/**
* Sets the application look and feel to this LaF
* using {@link UIManager#setLookAndFeel(javax.swing.LookAndFeel)}.
*/
public static boolean install() {
return install( new FlatLightLaf() ); return install( new FlatLightLaf() );
} }
/**
* Adds this look and feel to the set of available look and feels.
* <p>
* Useful if your application uses {@link UIManager#getInstalledLookAndFeels()}
* to query available LaFs and display them to the user in a combobox.
*/
public static void installLafInfo() {
installLafInfo( NAME, FlatLightLaf.class );
}
@Override @Override
public String getName() { public String getName() {
return "FlatLaf Light"; return NAME;
} }
@Override @Override

View File

@@ -49,7 +49,9 @@ public class IJThemesClassGenerator
} }
Path out = new File( toPath, "FlatAllIJThemes.java" ).toPath(); Path out = new File( toPath, "FlatAllIJThemes.java" ).toPath();
String allThemes = CLASS_HEADER + ALL_THEMES_TEMPLATE.replace( "${allInfos}", allInfos ); String allThemes = (CLASS_HEADER + ALL_THEMES_TEMPLATE)
.replace( "${subPackage}", "" )
.replace( "${allInfos}", allInfos );
writeFile( out, allThemes ); writeFile( out, allThemes );
System.out.println( markdownTable ); System.out.println( markdownTable );
@@ -88,7 +90,7 @@ public class IJThemesClassGenerator
String themeClass = "Flat" + buf + "IJTheme"; String themeClass = "Flat" + buf + "IJTheme";
String themeFile = resourceName; String themeFile = resourceName;
String classBody = CLASS_HEADER + CLASS_TEMPLATE String classBody = (CLASS_HEADER + CLASS_TEMPLATE)
.replace( "${subPackage}", subPackage ) .replace( "${subPackage}", subPackage )
.replace( "${themeClass}", themeClass ) .replace( "${themeClass}", themeClass )
.replace( "${themeFile}", themeFile ) .replace( "${themeFile}", themeFile )
@@ -138,6 +140,8 @@ public class IJThemesClassGenerator
" * limitations under the License.\n" + " * limitations under the License.\n" +
" */\n" + " */\n" +
"\n" + "\n" +
"package com.formdev.flatlaf.intellijthemes${subPackage};\n" +
"\n" +
"//\n" + "//\n" +
"// DO NOT MODIFY\n" + "// DO NOT MODIFY\n" +
"// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator\n" + "// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator\n" +
@@ -145,8 +149,6 @@ public class IJThemesClassGenerator
"\n"; "\n";
private static final String CLASS_TEMPLATE = private static final String CLASS_TEMPLATE =
"package com.formdev.flatlaf.intellijthemes${subPackage};\n" +
"\n" +
"import com.formdev.flatlaf.IntelliJTheme;\n" + "import com.formdev.flatlaf.IntelliJTheme;\n" +
"\n" + "\n" +
"/**\n" + "/**\n" +
@@ -155,7 +157,9 @@ public class IJThemesClassGenerator
"public class ${themeClass}\n" + "public class ${themeClass}\n" +
" extends IntelliJTheme.ThemeLaf\n" + " extends IntelliJTheme.ThemeLaf\n" +
"{\n" + "{\n" +
" public static boolean install( ) {\n" + " public static final String NAME = \"${themeName}\";\n" +
"\n" +
" public static boolean install() {\n" +
" try {\n" + " try {\n" +
" return install( new ${themeClass}() );\n" + " return install( new ${themeClass}() );\n" +
" } catch( RuntimeException ex ) {\n" + " } catch( RuntimeException ex ) {\n" +
@@ -163,19 +167,21 @@ public class IJThemesClassGenerator
" }\n" + " }\n" +
" }\n" + " }\n" +
"\n" + "\n" +
" public static void installLafInfo() {\n" +
" installLafInfo( NAME, ${themeClass}.class );\n" +
" }\n" +
"\n" +
" public ${themeClass}() {\n" + " public ${themeClass}() {\n" +
" super( Utils.loadTheme( \"${themeFile}\" ) );\n" + " super( Utils.loadTheme( \"${themeFile}\" ) );\n" +
" }\n" + " }\n" +
"\n" + "\n" +
" @Override\n" + " @Override\n" +
" public String getName() {\n" + " public String getName() {\n" +
" return \"${themeName}\";\n" + " return NAME;\n" +
" }\n" + " }\n" +
"}\n"; "}\n";
private static final String ALL_THEMES_TEMPLATE = private static final String ALL_THEMES_TEMPLATE =
"package com.formdev.flatlaf.intellijthemes;\n" +
"\n" +
"import javax.swing.UIManager.LookAndFeelInfo;\n" + "import javax.swing.UIManager.LookAndFeelInfo;\n" +
"\n" + "\n" +
"/**\n" + "/**\n" +

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import javax.swing.UIManager.LookAndFeelInfo; import javax.swing.UIManager.LookAndFeelInfo;
/** /**

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatArcDarkIJTheme public class FlatArcDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Arc Dark";
public static boolean install() {
try { try {
return install( new FlatArcDarkIJTheme() ); return install( new FlatArcDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatArcDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkIJTheme.class );
}
public FlatArcDarkIJTheme() { public FlatArcDarkIJTheme() {
super( Utils.loadTheme( "arc_theme_dark.theme.json" ) ); super( Utils.loadTheme( "arc_theme_dark.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Arc Dark"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatArcDarkOrangeIJTheme public class FlatArcDarkOrangeIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Arc Dark - Orange";
public static boolean install() {
try { try {
return install( new FlatArcDarkOrangeIJTheme() ); return install( new FlatArcDarkOrangeIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatArcDarkOrangeIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkOrangeIJTheme.class );
}
public FlatArcDarkOrangeIJTheme() { public FlatArcDarkOrangeIJTheme() {
super( Utils.loadTheme( "arc_theme_dark_orange.theme.json" ) ); super( Utils.loadTheme( "arc_theme_dark_orange.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Arc Dark - Orange"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatArcIJTheme public class FlatArcIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Arc";
public static boolean install() {
try { try {
return install( new FlatArcIJTheme() ); return install( new FlatArcIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatArcIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatArcIJTheme.class );
}
public FlatArcIJTheme() { public FlatArcIJTheme() {
super( Utils.loadTheme( "arc-theme.theme.json" ) ); super( Utils.loadTheme( "arc-theme.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Arc"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatArcOrangeIJTheme public class FlatArcOrangeIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Arc - Orange";
public static boolean install() {
try { try {
return install( new FlatArcOrangeIJTheme() ); return install( new FlatArcOrangeIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatArcOrangeIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatArcOrangeIJTheme.class );
}
public FlatArcOrangeIJTheme() { public FlatArcOrangeIJTheme() {
super( Utils.loadTheme( "arc-theme-orange.theme.json" ) ); super( Utils.loadTheme( "arc-theme-orange.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Arc - Orange"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatCarbonIJTheme public class FlatCarbonIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Carbon";
public static boolean install() {
try { try {
return install( new FlatCarbonIJTheme() ); return install( new FlatCarbonIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatCarbonIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatCarbonIJTheme.class );
}
public FlatCarbonIJTheme() { public FlatCarbonIJTheme() {
super( Utils.loadTheme( "Carbon.theme.json" ) ); super( Utils.loadTheme( "Carbon.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Carbon"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatCobalt2IJTheme public class FlatCobalt2IJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Cobalt 2";
public static boolean install() {
try { try {
return install( new FlatCobalt2IJTheme() ); return install( new FlatCobalt2IJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatCobalt2IJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatCobalt2IJTheme.class );
}
public FlatCobalt2IJTheme() { public FlatCobalt2IJTheme() {
super( Utils.loadTheme( "Cobalt_2.theme.json" ) ); super( Utils.loadTheme( "Cobalt_2.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Cobalt 2"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatCyanLightIJTheme public class FlatCyanLightIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Cyan light";
public static boolean install() {
try { try {
return install( new FlatCyanLightIJTheme() ); return install( new FlatCyanLightIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatCyanLightIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatCyanLightIJTheme.class );
}
public FlatCyanLightIJTheme() { public FlatCyanLightIJTheme() {
super( Utils.loadTheme( "Cyan.theme.json" ) ); super( Utils.loadTheme( "Cyan.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Cyan light"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatDarkFlatIJTheme public class FlatDarkFlatIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Dark Flat";
public static boolean install() {
try { try {
return install( new FlatDarkFlatIJTheme() ); return install( new FlatDarkFlatIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatDarkFlatIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatDarkFlatIJTheme.class );
}
public FlatDarkFlatIJTheme() { public FlatDarkFlatIJTheme() {
super( Utils.loadTheme( "DarkFlatTheme.theme.json" ) ); super( Utils.loadTheme( "DarkFlatTheme.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Dark Flat"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatDarkPurpleIJTheme public class FlatDarkPurpleIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Dark purple";
public static boolean install() {
try { try {
return install( new FlatDarkPurpleIJTheme() ); return install( new FlatDarkPurpleIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatDarkPurpleIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatDarkPurpleIJTheme.class );
}
public FlatDarkPurpleIJTheme() { public FlatDarkPurpleIJTheme() {
super( Utils.loadTheme( "DarkPurple.theme.json" ) ); super( Utils.loadTheme( "DarkPurple.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Dark purple"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatDraculaIJTheme public class FlatDraculaIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Dracula";
public static boolean install() {
try { try {
return install( new FlatDraculaIJTheme() ); return install( new FlatDraculaIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatDraculaIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaIJTheme.class );
}
public FlatDraculaIJTheme() { public FlatDraculaIJTheme() {
super( Utils.loadTheme( "Dracula.theme.json" ) ); super( Utils.loadTheme( "Dracula.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Dracula"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGradiantoDarkFuchsiaIJTheme public class FlatGradiantoDarkFuchsiaIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gradianto Dark Fuchsia";
public static boolean install() {
try { try {
return install( new FlatGradiantoDarkFuchsiaIJTheme() ); return install( new FlatGradiantoDarkFuchsiaIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGradiantoDarkFuchsiaIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoDarkFuchsiaIJTheme.class );
}
public FlatGradiantoDarkFuchsiaIJTheme() { public FlatGradiantoDarkFuchsiaIJTheme() {
super( Utils.loadTheme( "Gradianto_dark_fuchsia.theme.json" ) ); super( Utils.loadTheme( "Gradianto_dark_fuchsia.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gradianto Dark Fuchsia"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGradiantoDeepOceanIJTheme public class FlatGradiantoDeepOceanIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gradianto Deep Ocean";
public static boolean install() {
try { try {
return install( new FlatGradiantoDeepOceanIJTheme() ); return install( new FlatGradiantoDeepOceanIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGradiantoDeepOceanIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoDeepOceanIJTheme.class );
}
public FlatGradiantoDeepOceanIJTheme() { public FlatGradiantoDeepOceanIJTheme() {
super( Utils.loadTheme( "Gradianto_deep_ocean.theme.json" ) ); super( Utils.loadTheme( "Gradianto_deep_ocean.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gradianto Deep Ocean"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGradiantoMidnightBlueIJTheme public class FlatGradiantoMidnightBlueIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gradianto Midnight Blue";
public static boolean install() {
try { try {
return install( new FlatGradiantoMidnightBlueIJTheme() ); return install( new FlatGradiantoMidnightBlueIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGradiantoMidnightBlueIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoMidnightBlueIJTheme.class );
}
public FlatGradiantoMidnightBlueIJTheme() { public FlatGradiantoMidnightBlueIJTheme() {
super( Utils.loadTheme( "Gradianto_midnight_blue.theme.json" ) ); super( Utils.loadTheme( "Gradianto_midnight_blue.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gradianto Midnight Blue"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGradiantoNatureGreenIJTheme public class FlatGradiantoNatureGreenIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gradianto Nature Green";
public static boolean install() {
try { try {
return install( new FlatGradiantoNatureGreenIJTheme() ); return install( new FlatGradiantoNatureGreenIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGradiantoNatureGreenIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoNatureGreenIJTheme.class );
}
public FlatGradiantoNatureGreenIJTheme() { public FlatGradiantoNatureGreenIJTheme() {
super( Utils.loadTheme( "Gradianto_Nature_Green.theme.json" ) ); super( Utils.loadTheme( "Gradianto_Nature_Green.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gradianto Nature Green"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGrayIJTheme public class FlatGrayIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gray";
public static boolean install() {
try { try {
return install( new FlatGrayIJTheme() ); return install( new FlatGrayIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGrayIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGrayIJTheme.class );
}
public FlatGrayIJTheme() { public FlatGrayIJTheme() {
super( Utils.loadTheme( "Gray.theme.json" ) ); super( Utils.loadTheme( "Gray.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gray"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGruvboxDarkHardIJTheme public class FlatGruvboxDarkHardIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gruvbox Dark Hard";
public static boolean install() {
try { try {
return install( new FlatGruvboxDarkHardIJTheme() ); return install( new FlatGruvboxDarkHardIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGruvboxDarkHardIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkHardIJTheme.class );
}
public FlatGruvboxDarkHardIJTheme() { public FlatGruvboxDarkHardIJTheme() {
super( Utils.loadTheme( "gruvbox_dark_hard.theme.json" ) ); super( Utils.loadTheme( "gruvbox_dark_hard.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gruvbox Dark Hard"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGruvboxDarkMediumIJTheme public class FlatGruvboxDarkMediumIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gruvbox Dark Medium";
public static boolean install() {
try { try {
return install( new FlatGruvboxDarkMediumIJTheme() ); return install( new FlatGruvboxDarkMediumIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGruvboxDarkMediumIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkMediumIJTheme.class );
}
public FlatGruvboxDarkMediumIJTheme() { public FlatGruvboxDarkMediumIJTheme() {
super( Utils.loadTheme( "gruvbox_dark_medium.theme.json" ) ); super( Utils.loadTheme( "gruvbox_dark_medium.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gruvbox Dark Medium"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGruvboxDarkSoftIJTheme public class FlatGruvboxDarkSoftIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Gruvbox Dark Soft";
public static boolean install() {
try { try {
return install( new FlatGruvboxDarkSoftIJTheme() ); return install( new FlatGruvboxDarkSoftIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGruvboxDarkSoftIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkSoftIJTheme.class );
}
public FlatGruvboxDarkSoftIJTheme() { public FlatGruvboxDarkSoftIJTheme() {
super( Utils.loadTheme( "gruvbox_dark_soft.theme.json" ) ); super( Utils.loadTheme( "gruvbox_dark_soft.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Gruvbox Dark Soft"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatHiberbeeDarkIJTheme public class FlatHiberbeeDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Hiberbee Dark";
public static boolean install() {
try { try {
return install( new FlatHiberbeeDarkIJTheme() ); return install( new FlatHiberbeeDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatHiberbeeDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatHiberbeeDarkIJTheme.class );
}
public FlatHiberbeeDarkIJTheme() { public FlatHiberbeeDarkIJTheme() {
super( Utils.loadTheme( "HiberbeeDark.theme.json" ) ); super( Utils.loadTheme( "HiberbeeDark.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Hiberbee Dark"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatHighContrastIJTheme public class FlatHighContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "High contrast";
public static boolean install() {
try { try {
return install( new FlatHighContrastIJTheme() ); return install( new FlatHighContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatHighContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatHighContrastIJTheme.class );
}
public FlatHighContrastIJTheme() { public FlatHighContrastIJTheme() {
super( Utils.loadTheme( "HighContrast.theme.json" ) ); super( Utils.loadTheme( "HighContrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "High contrast"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatLightFlatIJTheme public class FlatLightFlatIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Light Flat";
public static boolean install() {
try { try {
return install( new FlatLightFlatIJTheme() ); return install( new FlatLightFlatIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatLightFlatIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatLightFlatIJTheme.class );
}
public FlatLightFlatIJTheme() { public FlatLightFlatIJTheme() {
super( Utils.loadTheme( "LightFlatTheme.theme.json" ) ); super( Utils.loadTheme( "LightFlatTheme.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Light Flat"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialDesignDarkIJTheme public class FlatMaterialDesignDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Design Dark";
public static boolean install() {
try { try {
return install( new FlatMaterialDesignDarkIJTheme() ); return install( new FlatMaterialDesignDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialDesignDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDesignDarkIJTheme.class );
}
public FlatMaterialDesignDarkIJTheme() { public FlatMaterialDesignDarkIJTheme() {
super( Utils.loadTheme( "MaterialTheme.theme.json" ) ); super( Utils.loadTheme( "MaterialTheme.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Design Dark"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMonocaiIJTheme public class FlatMonocaiIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Monocai";
public static boolean install() {
try { try {
return install( new FlatMonocaiIJTheme() ); return install( new FlatMonocaiIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMonocaiIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMonocaiIJTheme.class );
}
public FlatMonocaiIJTheme() { public FlatMonocaiIJTheme() {
super( Utils.loadTheme( "Monocai.theme.json" ) ); super( Utils.loadTheme( "Monocai.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Monocai"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatNordIJTheme public class FlatNordIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Nord";
public static boolean install() {
try { try {
return install( new FlatNordIJTheme() ); return install( new FlatNordIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatNordIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatNordIJTheme.class );
}
public FlatNordIJTheme() { public FlatNordIJTheme() {
super( Utils.loadTheme( "nord.theme.json" ) ); super( Utils.loadTheme( "nord.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Nord"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatOneDarkIJTheme public class FlatOneDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "One Dark";
public static boolean install() {
try { try {
return install( new FlatOneDarkIJTheme() ); return install( new FlatOneDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatOneDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatOneDarkIJTheme.class );
}
public FlatOneDarkIJTheme() { public FlatOneDarkIJTheme() {
super( Utils.loadTheme( "one_dark.theme.json" ) ); super( Utils.loadTheme( "one_dark.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "One Dark"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatSolarizedDarkIJTheme public class FlatSolarizedDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Solarized Dark";
public static boolean install() {
try { try {
return install( new FlatSolarizedDarkIJTheme() ); return install( new FlatSolarizedDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatSolarizedDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkIJTheme.class );
}
public FlatSolarizedDarkIJTheme() { public FlatSolarizedDarkIJTheme() {
super( Utils.loadTheme( "SolarizedDark.theme.json" ) ); super( Utils.loadTheme( "SolarizedDark.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Solarized Dark"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatSolarizedLightIJTheme public class FlatSolarizedLightIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Solarized Light";
public static boolean install() {
try { try {
return install( new FlatSolarizedLightIJTheme() ); return install( new FlatSolarizedLightIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatSolarizedLightIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightIJTheme.class );
}
public FlatSolarizedLightIJTheme() { public FlatSolarizedLightIJTheme() {
super( Utils.loadTheme( "SolarizedLight.theme.json" ) ); super( Utils.loadTheme( "SolarizedLight.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Solarized Light"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatSpacegrayIJTheme public class FlatSpacegrayIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Spacegray";
public static boolean install() {
try { try {
return install( new FlatSpacegrayIJTheme() ); return install( new FlatSpacegrayIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatSpacegrayIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatSpacegrayIJTheme.class );
}
public FlatSpacegrayIJTheme() { public FlatSpacegrayIJTheme() {
super( Utils.loadTheme( "Spacegray.theme.json" ) ); super( Utils.loadTheme( "Spacegray.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Spacegray"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatVuesionIJTheme public class FlatVuesionIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Vuesion";
public static boolean install() {
try { try {
return install( new FlatVuesionIJTheme() ); return install( new FlatVuesionIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatVuesionIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatVuesionIJTheme.class );
}
public FlatVuesionIJTheme() { public FlatVuesionIJTheme() {
super( Utils.loadTheme( "vuesion_theme.theme.json" ) ); super( Utils.loadTheme( "vuesion_theme.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Vuesion"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatArcDarkContrastIJTheme public class FlatArcDarkContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Arc Dark Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatArcDarkContrastIJTheme() ); return install( new FlatArcDarkContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatArcDarkContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkContrastIJTheme.class );
}
public FlatArcDarkContrastIJTheme() { public FlatArcDarkContrastIJTheme() {
super( Utils.loadTheme( "Arc Dark Contrast.theme.json" ) ); super( Utils.loadTheme( "Arc Dark Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Arc Dark Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatArcDarkIJTheme public class FlatArcDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Arc Dark (Material)";
public static boolean install() {
try { try {
return install( new FlatArcDarkIJTheme() ); return install( new FlatArcDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatArcDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkIJTheme.class );
}
public FlatArcDarkIJTheme() { public FlatArcDarkIJTheme() {
super( Utils.loadTheme( "Arc Dark.theme.json" ) ); super( Utils.loadTheme( "Arc Dark.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Arc Dark (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatAtomOneDarkContrastIJTheme public class FlatAtomOneDarkContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Atom One Dark Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatAtomOneDarkContrastIJTheme() ); return install( new FlatAtomOneDarkContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatAtomOneDarkContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneDarkContrastIJTheme.class );
}
public FlatAtomOneDarkContrastIJTheme() { public FlatAtomOneDarkContrastIJTheme() {
super( Utils.loadTheme( "Atom One Dark Contrast.theme.json" ) ); super( Utils.loadTheme( "Atom One Dark Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Atom One Dark Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatAtomOneDarkIJTheme public class FlatAtomOneDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Atom One Dark (Material)";
public static boolean install() {
try { try {
return install( new FlatAtomOneDarkIJTheme() ); return install( new FlatAtomOneDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatAtomOneDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneDarkIJTheme.class );
}
public FlatAtomOneDarkIJTheme() { public FlatAtomOneDarkIJTheme() {
super( Utils.loadTheme( "Atom One Dark.theme.json" ) ); super( Utils.loadTheme( "Atom One Dark.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Atom One Dark (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatAtomOneLightContrastIJTheme public class FlatAtomOneLightContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Atom One Light Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatAtomOneLightContrastIJTheme() ); return install( new FlatAtomOneLightContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatAtomOneLightContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneLightContrastIJTheme.class );
}
public FlatAtomOneLightContrastIJTheme() { public FlatAtomOneLightContrastIJTheme() {
super( Utils.loadTheme( "Atom One Light Contrast.theme.json" ) ); super( Utils.loadTheme( "Atom One Light Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Atom One Light Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatAtomOneLightIJTheme public class FlatAtomOneLightIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Atom One Light (Material)";
public static boolean install() {
try { try {
return install( new FlatAtomOneLightIJTheme() ); return install( new FlatAtomOneLightIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatAtomOneLightIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneLightIJTheme.class );
}
public FlatAtomOneLightIJTheme() { public FlatAtomOneLightIJTheme() {
super( Utils.loadTheme( "Atom One Light.theme.json" ) ); super( Utils.loadTheme( "Atom One Light.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Atom One Light (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatDraculaContrastIJTheme public class FlatDraculaContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Dracula Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatDraculaContrastIJTheme() ); return install( new FlatDraculaContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatDraculaContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaContrastIJTheme.class );
}
public FlatDraculaContrastIJTheme() { public FlatDraculaContrastIJTheme() {
super( Utils.loadTheme( "Dracula Contrast.theme.json" ) ); super( Utils.loadTheme( "Dracula Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Dracula Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatDraculaIJTheme public class FlatDraculaIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Dracula (Material)";
public static boolean install() {
try { try {
return install( new FlatDraculaIJTheme() ); return install( new FlatDraculaIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatDraculaIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaIJTheme.class );
}
public FlatDraculaIJTheme() { public FlatDraculaIJTheme() {
super( Utils.loadTheme( "Dracula.theme.json" ) ); super( Utils.loadTheme( "Dracula.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Dracula (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGitHubContrastIJTheme public class FlatGitHubContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "GitHub Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatGitHubContrastIJTheme() ); return install( new FlatGitHubContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGitHubContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubContrastIJTheme.class );
}
public FlatGitHubContrastIJTheme() { public FlatGitHubContrastIJTheme() {
super( Utils.loadTheme( "GitHub Contrast.theme.json" ) ); super( Utils.loadTheme( "GitHub Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "GitHub Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatGitHubIJTheme public class FlatGitHubIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "GitHub (Material)";
public static boolean install() {
try { try {
return install( new FlatGitHubIJTheme() ); return install( new FlatGitHubIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatGitHubIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubIJTheme.class );
}
public FlatGitHubIJTheme() { public FlatGitHubIJTheme() {
super( Utils.loadTheme( "GitHub.theme.json" ) ); super( Utils.loadTheme( "GitHub.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "GitHub (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatLightOwlContrastIJTheme public class FlatLightOwlContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Light Owl Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatLightOwlContrastIJTheme() ); return install( new FlatLightOwlContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatLightOwlContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatLightOwlContrastIJTheme.class );
}
public FlatLightOwlContrastIJTheme() { public FlatLightOwlContrastIJTheme() {
super( Utils.loadTheme( "Light Owl Contrast.theme.json" ) ); super( Utils.loadTheme( "Light Owl Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Light Owl Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatLightOwlIJTheme public class FlatLightOwlIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Light Owl (Material)";
public static boolean install() {
try { try {
return install( new FlatLightOwlIJTheme() ); return install( new FlatLightOwlIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatLightOwlIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatLightOwlIJTheme.class );
}
public FlatLightOwlIJTheme() { public FlatLightOwlIJTheme() {
super( Utils.loadTheme( "Light Owl.theme.json" ) ); super( Utils.loadTheme( "Light Owl.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Light Owl (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialDarkerContrastIJTheme public class FlatMaterialDarkerContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Darker Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialDarkerContrastIJTheme() ); return install( new FlatMaterialDarkerContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialDarkerContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDarkerContrastIJTheme.class );
}
public FlatMaterialDarkerContrastIJTheme() { public FlatMaterialDarkerContrastIJTheme() {
super( Utils.loadTheme( "Material Darker Contrast.theme.json" ) ); super( Utils.loadTheme( "Material Darker Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Darker Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialDarkerIJTheme public class FlatMaterialDarkerIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Darker (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialDarkerIJTheme() ); return install( new FlatMaterialDarkerIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialDarkerIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDarkerIJTheme.class );
}
public FlatMaterialDarkerIJTheme() { public FlatMaterialDarkerIJTheme() {
super( Utils.loadTheme( "Material Darker.theme.json" ) ); super( Utils.loadTheme( "Material Darker.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Darker (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialDeepOceanContrastIJTheme public class FlatMaterialDeepOceanContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Deep Ocean Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialDeepOceanContrastIJTheme() ); return install( new FlatMaterialDeepOceanContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialDeepOceanContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDeepOceanContrastIJTheme.class );
}
public FlatMaterialDeepOceanContrastIJTheme() { public FlatMaterialDeepOceanContrastIJTheme() {
super( Utils.loadTheme( "Material Deep Ocean Contrast.theme.json" ) ); super( Utils.loadTheme( "Material Deep Ocean Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Deep Ocean Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialDeepOceanIJTheme public class FlatMaterialDeepOceanIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Deep Ocean (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialDeepOceanIJTheme() ); return install( new FlatMaterialDeepOceanIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialDeepOceanIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDeepOceanIJTheme.class );
}
public FlatMaterialDeepOceanIJTheme() { public FlatMaterialDeepOceanIJTheme() {
super( Utils.loadTheme( "Material Deep Ocean.theme.json" ) ); super( Utils.loadTheme( "Material Deep Ocean.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Deep Ocean (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialLighterContrastIJTheme public class FlatMaterialLighterContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Lighter Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialLighterContrastIJTheme() ); return install( new FlatMaterialLighterContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialLighterContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialLighterContrastIJTheme.class );
}
public FlatMaterialLighterContrastIJTheme() { public FlatMaterialLighterContrastIJTheme() {
super( Utils.loadTheme( "Material Lighter Contrast.theme.json" ) ); super( Utils.loadTheme( "Material Lighter Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Lighter Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialLighterIJTheme public class FlatMaterialLighterIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Lighter (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialLighterIJTheme() ); return install( new FlatMaterialLighterIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialLighterIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialLighterIJTheme.class );
}
public FlatMaterialLighterIJTheme() { public FlatMaterialLighterIJTheme() {
super( Utils.loadTheme( "Material Lighter.theme.json" ) ); super( Utils.loadTheme( "Material Lighter.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Lighter (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialOceanicContrastIJTheme public class FlatMaterialOceanicContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Oceanic Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialOceanicContrastIJTheme() ); return install( new FlatMaterialOceanicContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialOceanicContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialOceanicContrastIJTheme.class );
}
public FlatMaterialOceanicContrastIJTheme() { public FlatMaterialOceanicContrastIJTheme() {
super( Utils.loadTheme( "Material Oceanic Contrast.theme.json" ) ); super( Utils.loadTheme( "Material Oceanic Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Oceanic Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialOceanicIJTheme public class FlatMaterialOceanicIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Oceanic (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialOceanicIJTheme() ); return install( new FlatMaterialOceanicIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialOceanicIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialOceanicIJTheme.class );
}
public FlatMaterialOceanicIJTheme() { public FlatMaterialOceanicIJTheme() {
super( Utils.loadTheme( "Material Oceanic.theme.json" ) ); super( Utils.loadTheme( "Material Oceanic.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Oceanic (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialPalenightContrastIJTheme public class FlatMaterialPalenightContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Palenight Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialPalenightContrastIJTheme() ); return install( new FlatMaterialPalenightContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialPalenightContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialPalenightContrastIJTheme.class );
}
public FlatMaterialPalenightContrastIJTheme() { public FlatMaterialPalenightContrastIJTheme() {
super( Utils.loadTheme( "Material Palenight Contrast.theme.json" ) ); super( Utils.loadTheme( "Material Palenight Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Palenight Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMaterialPalenightIJTheme public class FlatMaterialPalenightIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Material Palenight (Material)";
public static boolean install() {
try { try {
return install( new FlatMaterialPalenightIJTheme() ); return install( new FlatMaterialPalenightIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMaterialPalenightIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialPalenightIJTheme.class );
}
public FlatMaterialPalenightIJTheme() { public FlatMaterialPalenightIJTheme() {
super( Utils.loadTheme( "Material Palenight.theme.json" ) ); super( Utils.loadTheme( "Material Palenight.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Material Palenight (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMonokaiProContrastIJTheme public class FlatMonokaiProContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Monokai Pro Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatMonokaiProContrastIJTheme() ); return install( new FlatMonokaiProContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMonokaiProContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMonokaiProContrastIJTheme.class );
}
public FlatMonokaiProContrastIJTheme() { public FlatMonokaiProContrastIJTheme() {
super( Utils.loadTheme( "Monokai Pro Contrast.theme.json" ) ); super( Utils.loadTheme( "Monokai Pro Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Monokai Pro Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatMonokaiProIJTheme public class FlatMonokaiProIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Monokai Pro (Material)";
public static boolean install() {
try { try {
return install( new FlatMonokaiProIJTheme() ); return install( new FlatMonokaiProIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatMonokaiProIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatMonokaiProIJTheme.class );
}
public FlatMonokaiProIJTheme() { public FlatMonokaiProIJTheme() {
super( Utils.loadTheme( "Monokai Pro.theme.json" ) ); super( Utils.loadTheme( "Monokai Pro.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Monokai Pro (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatNightOwlContrastIJTheme public class FlatNightOwlContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Night Owl Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatNightOwlContrastIJTheme() ); return install( new FlatNightOwlContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatNightOwlContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatNightOwlContrastIJTheme.class );
}
public FlatNightOwlContrastIJTheme() { public FlatNightOwlContrastIJTheme() {
super( Utils.loadTheme( "Night Owl Contrast.theme.json" ) ); super( Utils.loadTheme( "Night Owl Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Night Owl Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatNightOwlIJTheme public class FlatNightOwlIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Night Owl (Material)";
public static boolean install() {
try { try {
return install( new FlatNightOwlIJTheme() ); return install( new FlatNightOwlIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatNightOwlIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatNightOwlIJTheme.class );
}
public FlatNightOwlIJTheme() { public FlatNightOwlIJTheme() {
super( Utils.loadTheme( "Night Owl.theme.json" ) ); super( Utils.loadTheme( "Night Owl.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Night Owl (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatSolarizedDarkContrastIJTheme public class FlatSolarizedDarkContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Solarized Dark Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatSolarizedDarkContrastIJTheme() ); return install( new FlatSolarizedDarkContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatSolarizedDarkContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkContrastIJTheme.class );
}
public FlatSolarizedDarkContrastIJTheme() { public FlatSolarizedDarkContrastIJTheme() {
super( Utils.loadTheme( "Solarized Dark Contrast.theme.json" ) ); super( Utils.loadTheme( "Solarized Dark Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Solarized Dark Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatSolarizedDarkIJTheme public class FlatSolarizedDarkIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Solarized Dark (Material)";
public static boolean install() {
try { try {
return install( new FlatSolarizedDarkIJTheme() ); return install( new FlatSolarizedDarkIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatSolarizedDarkIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkIJTheme.class );
}
public FlatSolarizedDarkIJTheme() { public FlatSolarizedDarkIJTheme() {
super( Utils.loadTheme( "Solarized Dark.theme.json" ) ); super( Utils.loadTheme( "Solarized Dark.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Solarized Dark (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatSolarizedLightContrastIJTheme public class FlatSolarizedLightContrastIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Solarized Light Contrast (Material)";
public static boolean install() {
try { try {
return install( new FlatSolarizedLightContrastIJTheme() ); return install( new FlatSolarizedLightContrastIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatSolarizedLightContrastIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightContrastIJTheme.class );
}
public FlatSolarizedLightContrastIJTheme() { public FlatSolarizedLightContrastIJTheme() {
super( Utils.loadTheme( "Solarized Light Contrast.theme.json" ) ); super( Utils.loadTheme( "Solarized Light Contrast.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Solarized Light Contrast (Material)"; return NAME;
} }
} }

View File

@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
// //
// DO NOT MODIFY // DO NOT MODIFY
// Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator // Generated with com.formdev.flatlaf.demo.intellijthemes.IJThemesClassGenerator
// //
package com.formdev.flatlaf.intellijthemes.materialthemeuilite;
import com.formdev.flatlaf.IntelliJTheme; import com.formdev.flatlaf.IntelliJTheme;
/** /**
@@ -29,7 +29,9 @@ import com.formdev.flatlaf.IntelliJTheme;
public class FlatSolarizedLightIJTheme public class FlatSolarizedLightIJTheme
extends IntelliJTheme.ThemeLaf extends IntelliJTheme.ThemeLaf
{ {
public static boolean install( ) { public static final String NAME = "Solarized Light (Material)";
public static boolean install() {
try { try {
return install( new FlatSolarizedLightIJTheme() ); return install( new FlatSolarizedLightIJTheme() );
} catch( RuntimeException ex ) { } catch( RuntimeException ex ) {
@@ -37,12 +39,16 @@ public class FlatSolarizedLightIJTheme
} }
} }
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightIJTheme.class );
}
public FlatSolarizedLightIJTheme() { public FlatSolarizedLightIJTheme() {
super( Utils.loadTheme( "Solarized Light.theme.json" ) ); super( Utils.loadTheme( "Solarized Light.theme.json" ) );
} }
@Override @Override
public String getName() { public String getName() {
return "Solarized Light (Material)"; return NAME;
} }
} }