mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (deprecation; dead code)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,18 +22,8 @@ import java.util.Calendar;
|
||||
|
||||
public abstract class ApplicationInfo {
|
||||
public abstract Calendar getBuildDate();
|
||||
|
||||
@Deprecated()
|
||||
/**
|
||||
* Use {@link #getBuild()} instead
|
||||
*/
|
||||
public String getBuildNumber() {
|
||||
return getBuild().asString();
|
||||
}
|
||||
|
||||
public abstract BuildNumber getBuild();
|
||||
public abstract String getApiVersion();
|
||||
|
||||
public abstract String getMajorVersion();
|
||||
public abstract String getMinorVersion();
|
||||
public abstract String getVersionName();
|
||||
@@ -65,7 +55,6 @@ public abstract class ApplicationInfo {
|
||||
return ApplicationManager.getApplication().getComponent(ApplicationInfo.class);
|
||||
}
|
||||
|
||||
|
||||
public static boolean helpAvailable() {
|
||||
return ApplicationManager.getApplication() != null && getInstance() != null && getInstance().hasHelp();
|
||||
}
|
||||
|
||||
+16
-23
@@ -13,26 +13,19 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Created by IntelliJ IDEA.
|
||||
* User: mike
|
||||
* Date: Sep 16, 2002
|
||||
* Time: 5:17:44 PM
|
||||
* To change template for new class use
|
||||
* Code Style | Class Templates options (Tools | IDE Options).
|
||||
*/
|
||||
package com.intellij.openapi.application.ex;
|
||||
|
||||
import com.intellij.openapi.application.ApplicationInfo;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author mike
|
||||
* @since Sep 16, 2002
|
||||
*/
|
||||
public abstract class ApplicationInfoEx extends ApplicationInfo {
|
||||
|
||||
public static ApplicationInfoEx getInstanceEx() {
|
||||
return (ApplicationInfoEx) getInstance();
|
||||
}
|
||||
@@ -49,19 +42,10 @@ public abstract class ApplicationInfoEx extends ApplicationInfo {
|
||||
|
||||
public abstract String getSmallIconUrl();
|
||||
|
||||
@Nullable
|
||||
public String getBigIconUrl() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public abstract String getOpaqueIconUrl();
|
||||
public abstract String getBigIconUrl();
|
||||
|
||||
public abstract String getToolWindowIconUrl();
|
||||
|
||||
public abstract String getWelcomeScreenCaptionUrl();
|
||||
|
||||
public abstract String getWelcomeScreenDeveloperSloganUrl();
|
||||
|
||||
public abstract String getWelcomeScreenLogoUrl();
|
||||
|
||||
public abstract String getEditorBackgroundImageUrl();
|
||||
@@ -72,10 +56,8 @@ public abstract class ApplicationInfoEx extends ApplicationInfo {
|
||||
|
||||
public abstract boolean showLicenseeInfo();
|
||||
|
||||
|
||||
public abstract boolean isEAP();
|
||||
|
||||
|
||||
public abstract UpdateUrls getUpdateUrls();
|
||||
|
||||
public abstract String getDocumentationUrl();
|
||||
@@ -117,4 +99,15 @@ public abstract class ApplicationInfoEx extends ApplicationInfo {
|
||||
|
||||
public abstract boolean isEssentialPlugin(String pluginId);
|
||||
|
||||
/** @deprecated to remove in IDEA 14 */
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public abstract String getOpaqueIconUrl();
|
||||
|
||||
/** @deprecated to remove in IDEA 14 */
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public abstract String getWelcomeScreenCaptionUrl();
|
||||
|
||||
/** @deprecated to remove in IDEA 14 */
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public abstract String getWelcomeScreenDeveloperSloganUrl();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user