public class ScopeChooserConfigurable extends MasterDetailsComponent implements SearchableConfigurable
| Modifier and Type | Class and Description |
|---|---|
static class |
ScopeChooserConfigurable.ScopeChooserConfigurableState |
MasterDetailsComponent.ActionGroupWithPreselection, MasterDetailsComponent.ItemsChangeListener, MasterDetailsComponent.MyActionGroupWrapper, MasterDetailsComponent.MyDeleteAction, MasterDetailsComponent.MyNode, MasterDetailsComponent.MyRootNodeSearchableConfigurable.Delegate, SearchableConfigurable.Merged, SearchableConfigurable.ParentConfigurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROJECT_SCOPES |
static java.lang.String |
SCOPE_CHOOSER_CONFIGURABLE_UI_KEY |
COPY_ICON, LOG, myAutoScrollHandler, myCurrentConfigurable, myHistory, myNorthPanel, myRoot, myState, myToReInitWholePanel, myTree, myWholePanel, TREE_NAME, TREE_OBJECT, TREE_UPDATERAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Constructor and Description |
|---|
ScopeChooserConfigurable(Project project) |
| 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) |
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.
|
protected java.awt.Dimension |
getPanelPreferredSize() |
ScopeChooserConfigurable.ScopeChooserConfigurableState |
getScopesState() |
protected MasterDetailsStateService |
getStateService() |
protected void |
initTree() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
protected void |
updateSelection(NamedConfigurable configurable) |
protected boolean |
wasObjectStored(java.lang.Object editableObject) |
addItemsChangeListener, addNode, addNotify, checkForEmptyAndDuplicatedNames, clearChildren, createComponent, createToolbarActionGroup, disposeUIResources, ensureInitialized, findNodeByCondition, findNodeByName, findNodeByObject, forAll, getAdditionalActions, getDetails, getDetailsComponent, getMaster, getNodeComparator, 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, updateMultiSelectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableSearch, getOriginalClassgetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancel, createComponent, disposeUIResourcespublic static final java.lang.String SCOPE_CHOOSER_CONFIGURABLE_UI_KEY
public static final java.lang.String PROJECT_SCOPES
public ScopeChooserConfigurable(Project project)
protected java.lang.String getComponentStateKey()
getComponentStateKey in class MasterDetailsComponentprotected java.awt.Dimension getPanelPreferredSize()
getPanelPreferredSize in class MasterDetailsComponentprotected MasterDetailsStateService getStateService()
getStateService in class MasterDetailsComponentprotected java.util.ArrayList<AnAction> createActions(boolean fromPopup)
createActions 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 ScopeChooserConfigurable.ScopeChooserConfigurableState getScopesState()
public boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurableisModified in class MasterDetailsComponenttrue if the settings were modified, false otherwiseprotected void initTree()
initTree in class MasterDetailsComponentprotected boolean wasObjectStored(java.lang.Object editableObject)
wasObjectStored in class MasterDetailsComponentpublic java.lang.String getDisplayName()
ConfigurablegetDisplayName in interface Configurablepublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface ConfigurablegetHelpTopic in class MasterDetailsComponentnull if no help is availableprotected void updateSelection(NamedConfigurable configurable)
updateSelection in class MasterDetailsComponentprotected java.lang.String getEmptySelectionString()
getEmptySelectionString in class MasterDetailsComponentpublic java.lang.String getId()
SearchableConfigurablegetId in interface SearchableConfigurableConfigurableEP.id