public class ArtifactsStructureConfigurable 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 |
---|
ArtifactsStructureConfigurable(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected BaseStructureConfigurable.AbstractAddGroup |
createAddAction() |
protected java.util.List<? extends AnAction> |
createCopyActions(boolean fromPopup) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
ArtifactsStructureConfigurableContext |
getArtifactsStructureContext() |
protected java.lang.String |
getComponentStateKey() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
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.
|
ModifiableArtifactModel |
getModifiableArtifactModel() |
protected java.util.Collection<? extends ProjectStructureElement> |
getProjectStructureElements() |
protected java.util.List<? extends RemoveConfigurableHandler<?>> |
getRemoveHandlers() |
protected MasterDetailsState |
getState() |
void |
init(StructureConfigurableContext context,
ModuleStructureConfigurable moduleStructureConfigurable,
ProjectLibrariesConfigurable projectLibrariesConfig,
GlobalLibrariesConfigurable globalLibrariesConfig) |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
loadState(MasterDetailsState object) |
protected void |
loadTree() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
protected void |
updateSelection(NamedConfigurable configurable) |
addCollapseExpandActions, checkCanApply, createActions, 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, getEmptySelectionString, getMaster, getNodeComparator, getPanelPreferredSize, getSelectedConfigurable, getSelectedNode, getSelectedObject, getSplitter, getToolbar, getTree, initializeConfigurable, initUi, isAutoScrollEnabled, isInitialized, loadComponentState, onItemDeleted, processRemovedItems, reInitWholePanelIfNeeded, removeNodes, removePaths, restoreLastSelection, selectNodeInTree, selectNodeInTree, selectNodeInTree, selectNodeInTree, selectNodeInTree, setHistory, setSelectedNode, sortDescendants, updateMultiSelection, wasObjectStored
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enableSearch, getOriginalClass
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, createComponent
setHistory
public ArtifactsStructureConfigurable(Project project)
protected java.lang.String getComponentStateKey()
getComponentStateKey
in class MasterDetailsComponent
public void init(StructureConfigurableContext context, ModuleStructureConfigurable moduleStructureConfigurable, ProjectLibrariesConfigurable projectLibrariesConfig, GlobalLibrariesConfigurable globalLibrariesConfig)
protected MasterDetailsState getState()
getState
in class MasterDetailsComponent
public void loadState(MasterDetailsState object)
loadState
in class MasterDetailsComponent
public java.lang.String getDisplayName()
Configurable
protected void loadTree()
loadTree
in class BaseStructureConfigurable
protected java.util.Collection<? extends ProjectStructureElement> getProjectStructureElements()
getProjectStructureElements
in class BaseStructureConfigurable
public void reset()
UnnamedConfigurable
reset
in interface UnnamedConfigurable
reset
in class BaseStructureConfigurable
public boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
isModified
in class MasterDetailsComponent
true
if the settings were modified, false
otherwisepublic ArtifactsStructureConfigurableContext getArtifactsStructureContext()
public ModifiableArtifactModel getModifiableArtifactModel()
protected BaseStructureConfigurable.AbstractAddGroup createAddAction()
createAddAction
in class BaseStructureConfigurable
protected java.util.List<? extends AnAction> createCopyActions(boolean fromPopup)
createCopyActions
in class BaseStructureConfigurable
public void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
apply
in class MasterDetailsComponent
ConfigurationException
- if values cannot be appliedpublic void disposeUIResources()
UnnamedConfigurable
disposeUIResources
in interface UnnamedConfigurable
disposeUIResources
in class BaseStructureConfigurable
protected void updateSelection(NamedConfigurable configurable)
updateSelection
in class MasterDetailsComponent
public java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
getHelpTopic
in class MasterDetailsComponent
null
if no help is availableprotected java.util.List<? extends RemoveConfigurableHandler<?>> getRemoveHandlers()
getRemoveHandlers
in class BaseStructureConfigurable
public java.lang.String getId()
SearchableConfigurable
ConfigurableEP.id
public void dispose()
Disposable