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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isLocalSdk, versionComparator, versionStringComparator
public static UnknownSdkType getInstance(java.lang.String typeName)
public java.lang.String suggestHomePath()
SdkType
null
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 SdkType
public boolean isValidSdkHome(java.lang.String path)
isValidSdkHome
in class SdkType
public java.lang.String getVersionString(java.lang.String sdkHome)
getVersionString
in class SdkType
public java.lang.String suggestSdkName(java.lang.String currentSdkName, java.lang.String sdkHome)
suggestSdkName
in class SdkType
public AdditionalDataConfigurable createAdditionalDataConfigurable(SdkModel sdkModel, SdkModificator sdkModificator)
createAdditionalDataConfigurable
in class SdkType
public 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 SdkType
public java.lang.String getPresentableName()
getPresentableName
in class SdkType
public boolean allowCreationByUser()
SdkType
allowCreationByUser
in class SdkType