| Modifier and Type | Method and Description |
|---|---|
boolean |
allowCreationByUser()
If this method returns false, this SDK type will not be shown in the SDK type chooser popup when the user
creates a new SDK.
|
AdditionalDataConfigurable |
createAdditionalDataConfigurable(SdkModel sdkModel,
SdkModificator sdkModificator) |
java.lang.String |
getBinPath(Sdk sdk) |
javax.swing.Icon |
getIcon() |
static UnknownSdkType |
getInstance(java.lang.String typeName) |
java.lang.String |
getPresentableName() |
java.lang.String |
getToolsPath(Sdk sdk) |
java.lang.String |
getVersionString(java.lang.String sdkHome) |
java.lang.String |
getVMExecutablePath(Sdk sdk) |
boolean |
isValidSdkHome(java.lang.String path) |
SdkAdditionalData |
loadAdditionalData(Element additional) |
void |
saveAdditionalData(SdkAdditionalData additionalData,
Element additional) |
java.lang.String |
suggestHomePath()
Returns a recommended starting path for a file chooser (where SDKs of this type are usually may be found),
or
null if not applicable/no SDKs found. |
java.lang.String |
suggestSdkName(java.lang.String currentSdkName,
java.lang.String sdkHome) |
adjustSelectedSdkHome, equals, findByName, findInstance, getAllTypes, getComparator, getDefaultDocumentationUrl, getDependencyType, getDownloadSdkUrl, getHelpTopic, getHomeChooserDescriptor, getHomeFieldLabel, getIconForAddAction, getInvalidHomeMessage, getName, getVersionString, hashCode, isRelevantForFile, isRootTypeApplicable, loadAdditionalData, sdkHasValidPath, sdkPath, setupSdkPaths, setupSdkPaths, showCustomCreateUI, showCustomCreateUI, suggestHomePaths, supportsCustomCreateUI, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisLocalSdk, versionComparator, versionStringComparatorpublic static UnknownSdkType getInstance(java.lang.String typeName)
public java.lang.String suggestHomePath()
SdkTypenull if not applicable/no SDKs found.
E.g. for Python SDK on Unix the method may return either "/usr/bin" or "/usr/bin/python"
(if there is only one Python interpreter installed on a host).suggestHomePath in class SdkTypepublic boolean isValidSdkHome(java.lang.String path)
isValidSdkHome in class SdkTypepublic java.lang.String getVersionString(java.lang.String sdkHome)
getVersionString in class SdkTypepublic java.lang.String suggestSdkName(java.lang.String currentSdkName,
java.lang.String sdkHome)
suggestSdkName in class SdkTypepublic AdditionalDataConfigurable createAdditionalDataConfigurable(SdkModel sdkModel, SdkModificator sdkModificator)
createAdditionalDataConfigurable in class SdkTypepublic java.lang.String getBinPath(Sdk sdk)
public java.lang.String getToolsPath(Sdk sdk)
public java.lang.String getVMExecutablePath(Sdk sdk)
public void saveAdditionalData(SdkAdditionalData additionalData, Element additional)
public SdkAdditionalData loadAdditionalData(Element additional)
loadAdditionalData in class SdkTypepublic java.lang.String getPresentableName()
getPresentableName in class SdkTypepublic boolean allowCreationByUser()
SdkTypeallowCreationByUser in class SdkType