public class ProjectJdksConfigurable extends MasterDetailsComponent
MasterDetailsComponent.ActionGroupWithPreselection, MasterDetailsComponent.ItemsChangeListener, MasterDetailsComponent.MyActionGroupWrapper, MasterDetailsComponent.MyDeleteAction, MasterDetailsComponent.MyNode, MasterDetailsComponent.MyRootNodeConfigurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependenciesCOPY_ICON, LOG, myAutoScrollHandler, myCurrentConfigurable, myHistory, myNorthPanel, myRoot, myState, myToReInitWholePanel, myTree, myWholePanel, TREE_NAME, TREE_OBJECT, TREE_UPDATERAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Constructor and Description |
|---|
ProjectJdksConfigurable(Project project) |
ProjectJdksConfigurable(Project project,
ProjectSdksModel sdksModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected java.util.ArrayList<AnAction> |
createActions(boolean fromPopup) |
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
protected java.lang.String |
getComponentStateKey() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
protected java.lang.String |
getEmptySelectionString() |
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
Sdk |
getSelectedJdk() |
protected MasterDetailsStateService |
getStateService() |
protected void |
initTree() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
protected void |
processRemovedItems() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
void |
selectJdk(Sdk projectJdk) |
void |
selectJdkVersion(JavaSdkVersion requiredJdkVersion) |
protected boolean |
wasObjectStored(java.lang.Object editableObject) |
addItemsChangeListener, addNode, addNotify, checkForEmptyAndDuplicatedNames, clearChildren, createComponent, createToolbarActionGroup, ensureInitialized, findNodeByCondition, findNodeByName, findNodeByObject, forAll, getAdditionalActions, getDetails, getDetailsComponent, getMaster, getNodeComparator, getPanelPreferredSize, getSelectedConfigurable, getSelectedNode, getSelectedObject, getSplitter, getState, getToolbar, getTree, initializeConfigurable, initUi, isAutoScrollEnabled, isInitialized, loadComponentState, loadState, onItemDeleted, reInitWholePanelIfNeeded, removeNodes, removePaths, restoreLastSelection, selectNodeInTree, selectNodeInTree, selectNodeInTree, selectNodeInTree, selectNodeInTree, setHistory, setSelectedNode, sortDescendants, updateMultiSelection, updateSelectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancelpublic ProjectJdksConfigurable(Project project)
public ProjectJdksConfigurable(Project project, ProjectSdksModel sdksModel)
protected java.lang.String getComponentStateKey()
getComponentStateKey in class MasterDetailsComponentprotected MasterDetailsStateService getStateService()
getStateService in class MasterDetailsComponentprotected void initTree()
initTree in class MasterDetailsComponentpublic void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablereset in class MasterDetailsComponentpublic void apply()
throws ConfigurationException
UnnamedConfigurableapply in interface UnnamedConfigurableapply in class MasterDetailsComponentConfigurationException - if values cannot be appliedpublic boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurableisModified in class MasterDetailsComponenttrue if the settings were modified, false otherwisepublic void disposeUIResources()
UnnamedConfigurabledisposeUIResources in interface UnnamedConfigurabledisposeUIResources in class MasterDetailsComponentprotected java.util.ArrayList<AnAction> createActions(boolean fromPopup)
createActions in class MasterDetailsComponentprotected void processRemovedItems()
processRemovedItems in class MasterDetailsComponentprotected boolean wasObjectStored(java.lang.Object editableObject)
wasObjectStored in class MasterDetailsComponentpublic Sdk getSelectedJdk()
public void selectJdk(Sdk projectJdk)
public java.lang.String getDisplayName()
Configurablepublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface ConfigurablegetHelpTopic in class MasterDetailsComponentnull if no help is availableprotected java.lang.String getEmptySelectionString()
getEmptySelectionString in class MasterDetailsComponentpublic void selectJdkVersion(JavaSdkVersion requiredJdkVersion)