public class JdkConfigurable extends ProjectStructureElementConfigurable<Sdk> implements Place.Navigator
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependenciesAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Constructor and Description |
|---|
JdkConfigurable(ProjectJdkImpl projectJdk,
ProjectSdksModel sdksModel,
java.lang.Runnable updateTree,
History history,
Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
javax.swing.JComponent |
createOptionsPanel() |
protected SdkEditor |
createSdkEditor(Project project,
ProjectSdksModel sdksModel,
History history,
ProjectJdkImpl projectJdk) |
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
java.lang.String |
getBannerSlogan() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
Sdk |
getEditableObject() |
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
javax.swing.Icon |
getIcon(boolean open) |
ProjectStructureElement |
getProjectStructureElement() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
ActionCallback |
navigateTo(Place place,
boolean requestFocus) |
void |
queryPlace(Place place) |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
void |
setDisplayName(java.lang.String name) |
checkName, createComponent, createTopRightComponent, isNameEditable, resetOptionsPanel, setNameFieldShown, toString, updateNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetHistorygetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancelpublic JdkConfigurable(ProjectJdkImpl projectJdk, ProjectSdksModel sdksModel, java.lang.Runnable updateTree, History history, Project project)
protected SdkEditor createSdkEditor(Project project, ProjectSdksModel sdksModel, History history, ProjectJdkImpl projectJdk)
public ProjectStructureElement getProjectStructureElement()
getProjectStructureElement in class ProjectStructureElementConfigurable<Sdk>public void setDisplayName(java.lang.String name)
setDisplayName in class NamedConfigurable<Sdk>public Sdk getEditableObject()
getEditableObject in class NamedConfigurable<Sdk>public java.lang.String getBannerSlogan()
getBannerSlogan in class NamedConfigurable<Sdk>public java.lang.String getDisplayName()
ConfigurablegetDisplayName in interface Configurablepublic javax.swing.Icon getIcon(boolean open)
getIcon in class NamedConfigurable<Sdk>public java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface Configurablenull if no help is availablepublic javax.swing.JComponent createOptionsPanel()
createOptionsPanel in class NamedConfigurable<Sdk>public boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurabletrue if the settings were modified, false otherwisepublic void apply()
throws ConfigurationException
UnnamedConfigurableapply in interface UnnamedConfigurableConfigurationException - if values cannot be appliedpublic void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablepublic void disposeUIResources()
UnnamedConfigurabledisposeUIResources in interface UnnamedConfigurablepublic ActionCallback navigateTo(Place place, boolean requestFocus)
navigateTo in interface Place.Navigatorpublic void queryPlace(Place place)
queryPlace in interface Place.Navigator