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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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