IntelliJ Themes: removed deprecated install() methods

but keep them in the flatlaf-core for API compatibility in NetBeans plugin
This commit is contained in:
Karl Tauber
2021-08-24 17:38:19 +02:00
parent 601e24f9e7
commit 19dba94064
65 changed files with 1 additions and 512 deletions

View File

@@ -7,6 +7,7 @@ FlatLaf Change Log
- InternalFrame: Double-click on icon in internal frame title bar now closes the
internal frame. (issue #374)
- IntelliJ Themes: Removed deprecated `install()` methods.
#### Fixed bugs

View File

@@ -169,14 +169,6 @@ public class IJThemesClassGenerator
" }\n" +
" }\n" +
"\n" +
" /**\n" +
" * @deprecated use {@link #setup()} instead; this method will be removed in a future version\n" +
" */\n" +
" @Deprecated\n" +
" public static boolean install() {\n" +
" return setup();\n" +
" }\n" +
"\n" +
" public static void installLafInfo() {\n" +
" installLafInfo( NAME, ${themeClass}.class );\n" +
" }\n" +

View File

@@ -39,14 +39,6 @@ public class FlatArcDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatArcDarkOrangeIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkOrangeIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatArcIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatArcOrangeIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcOrangeIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatCarbonIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatCarbonIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatCobalt2IJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatCobalt2IJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatCyanLightIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatCyanLightIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatDarkFlatIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDarkFlatIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatDarkPurpleIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDarkPurpleIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatDraculaIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGradiantoDarkFuchsiaIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoDarkFuchsiaIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGradiantoDeepOceanIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoDeepOceanIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGradiantoMidnightBlueIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoMidnightBlueIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGradiantoNatureGreenIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGradiantoNatureGreenIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGrayIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGrayIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGruvboxDarkHardIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkHardIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGruvboxDarkMediumIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkMediumIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGruvboxDarkSoftIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGruvboxDarkSoftIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatHiberbeeDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatHiberbeeDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatHighContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatHighContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatLightFlatIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatLightFlatIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialDesignDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDesignDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMonocaiIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMonocaiIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatNordIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatNordIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatOneDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatOneDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatSolarizedDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatSolarizedLightIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatSpacegrayIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSpacegrayIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatVuesionIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatVuesionIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatArcDarkContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatArcDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatArcDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatAtomOneDarkContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneDarkContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatAtomOneDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatAtomOneLightContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneLightContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatAtomOneLightIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatAtomOneLightIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatDraculaContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatDraculaIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatDraculaIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGitHubContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGitHubDarkContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubDarkContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGitHubDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatGitHubIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatGitHubIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatLightOwlContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatLightOwlContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatLightOwlIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatLightOwlIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialDarkerContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDarkerContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialDarkerIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDarkerIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialDeepOceanContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDeepOceanContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialDeepOceanIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialDeepOceanIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialLighterContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialLighterContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialLighterIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialLighterIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialOceanicContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialOceanicContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialOceanicIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialOceanicIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialPalenightContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialPalenightContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMaterialPalenightIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMaterialPalenightIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMonokaiProContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMonokaiProContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMonokaiProIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMonokaiProIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMoonlightContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMoonlightContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatMoonlightIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatMoonlightIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatNightOwlContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatNightOwlContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatNightOwlIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatNightOwlIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatSolarizedDarkContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatSolarizedDarkIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedDarkIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatSolarizedLightContrastIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightContrastIJTheme.class );
}

View File

@@ -39,14 +39,6 @@ public class FlatSolarizedLightIJTheme
}
}
/**
* @deprecated use {@link #setup()} instead; this method will be removed in a future version
*/
@Deprecated
public static boolean install() {
return setup();
}
public static void installLafInfo() {
installLafInfo( NAME, FlatSolarizedLightIJTheme.class );
}