public class JdkListConfigurable extends BaseStructureConfigurable
BaseStructureConfigurable.AbstractAddGroup, BaseStructureConfigurable.MyRemoveAction
MasterDetailsComponent.ActionGroupWithPreselection, MasterDetailsComponent.ItemsChangeListener, MasterDetailsComponent.MyActionGroupWrapper, MasterDetailsComponent.MyDeleteAction, MasterDetailsComponent.MyNode, MasterDetailsComponent.MyRootNode
SearchableConfigurable.Delegate, SearchableConfigurable.Merged, SearchableConfigurable.Parent
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
Disposable.Parent
myAutoScrollEnabled, myContext, myProject, myUiDisposed
COPY_ICON, LOG, myAutoScrollHandler, myCurrentConfigurable, myHistory, myNorthPanel, myRoot, myState, myToReInitWholePanel, myTree, myWholePanel, TREE_NAME, TREE_OBJECT, TREE_UPDATER
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
JdkListConfigurable(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
addJdkNode(Sdk jdk,
boolean selectInTree) |
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected java.util.ArrayList<AnAction> |
createActions(boolean fromPopup) |
BaseStructureConfigurable.AbstractAddGroup |
createAddAction() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
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.
|
java.lang.String |
getId()
Unique configurable id.
|
static JdkListConfigurable |
getInstance(Project project) |
ProjectSdksModel |
getJdksTreeModel() |
protected java.util.Collection<? extends ProjectStructureElement> |
getProjectStructureElements() |
protected java.util.List<? extends RemoveConfigurableHandler<?>> |
getRemoveHandlers() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
protected void |
loadTree() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
addCollapseExpandActions, checkCanApply, createCopyActions, disposeUIResources, getSelectedElement, getStateService, getTextForSpeedSearch, init, initTree, navigateTo, onStructureSelected, onStructureUnselected, queryPlace, reloadTreeNodes, removeFacetNodes
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, processRemovedItems, reInitWholePanelIfNeeded, removeNodes, removePaths, restoreLastSelection, selectNodeInTree, selectNodeInTree, selectNodeInTree, selectNodeInTree, selectNodeInTree, setHistory, setSelectedNode, sortDescendants, updateMultiSelection, updateSelection, wasObjectStored
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enableSearch, getOriginalClass
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, createComponent
setHistory
public JdkListConfigurable(Project project)
protected java.lang.String getComponentStateKey()
getComponentStateKey
in class MasterDetailsComponent
public java.lang.String getDisplayName()
Configurable
public java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
getHelpTopic
in class MasterDetailsComponent
null
if no help is availablepublic java.lang.String getId()
SearchableConfigurable
ConfigurableEP.id
protected void loadTree()
loadTree
in class BaseStructureConfigurable
protected java.util.Collection<? extends ProjectStructureElement> getProjectStructureElements()
getProjectStructureElements
in class BaseStructureConfigurable
public boolean addJdkNode(Sdk jdk, boolean selectInTree)
public void dispose()
Disposable
public ProjectSdksModel getJdksTreeModel()
public void reset()
UnnamedConfigurable
reset
in interface UnnamedConfigurable
reset
in class BaseStructureConfigurable
public void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
apply
in class MasterDetailsComponent
ConfigurationException
- if values cannot be appliedpublic boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
isModified
in class MasterDetailsComponent
true
if the settings were modified, false
otherwisepublic static JdkListConfigurable getInstance(Project project)
protected java.util.ArrayList<AnAction> createActions(boolean fromPopup)
createActions
in class BaseStructureConfigurable
public BaseStructureConfigurable.AbstractAddGroup createAddAction()
createAddAction
in class BaseStructureConfigurable
protected java.util.List<? extends RemoveConfigurableHandler<?>> getRemoveHandlers()
getRemoveHandlers
in class BaseStructureConfigurable
protected java.lang.String getEmptySelectionString()
getEmptySelectionString
in class MasterDetailsComponent