public class ArtifactsStructureConfigurable extends BaseStructureConfigurable
BaseStructureConfigurable.AbstractAddGroup, BaseStructureConfigurable.MyRemoveActionMasterDetailsComponent.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.WithEpDependenciesDisposable.ParentmyAutoScrollEnabled, myContext, myProject, myUiDisposedCOPY_ICON, LOG, myAutoScrollHandler, myCurrentConfigurable, myHistory, myNorthPanel, myRoot, myState, myToReInitWholePanel, myTree, myWholePanel, TREE_NAME, TREE_OBJECT, TREE_UPDATERAPPLICATION_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, removeFacetNodesaddItemsChangeListener, 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, wasObjectStoredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableSearch, getOriginalClassgetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancel, createComponentsetHistorypublic ArtifactsStructureConfigurable(Project project)
protected java.lang.String getComponentStateKey()
getComponentStateKey in class MasterDetailsComponentpublic void init(StructureConfigurableContext context, ModuleStructureConfigurable moduleStructureConfigurable, ProjectLibrariesConfigurable projectLibrariesConfig, GlobalLibrariesConfigurable globalLibrariesConfig)
protected MasterDetailsState getState()
getState in class MasterDetailsComponentpublic void loadState(MasterDetailsState object)
loadState in class MasterDetailsComponentpublic java.lang.String getDisplayName()
Configurableprotected void loadTree()
loadTree in class BaseStructureConfigurableprotected java.util.Collection<? extends ProjectStructureElement> getProjectStructureElements()
getProjectStructureElements in class BaseStructureConfigurablepublic void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablereset in class BaseStructureConfigurablepublic boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurableisModified in class MasterDetailsComponenttrue if the settings were modified, false otherwisepublic ArtifactsStructureConfigurableContext getArtifactsStructureContext()
public ModifiableArtifactModel getModifiableArtifactModel()
protected BaseStructureConfigurable.AbstractAddGroup createAddAction()
createAddAction in class BaseStructureConfigurableprotected java.util.List<? extends AnAction> createCopyActions(boolean fromPopup)
createCopyActions in class BaseStructureConfigurablepublic void apply()
throws ConfigurationException
UnnamedConfigurableapply in interface UnnamedConfigurableapply in class MasterDetailsComponentConfigurationException - if values cannot be appliedpublic void disposeUIResources()
UnnamedConfigurabledisposeUIResources in interface UnnamedConfigurabledisposeUIResources in class BaseStructureConfigurableprotected void updateSelection(NamedConfigurable configurable)
updateSelection in class MasterDetailsComponentpublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface ConfigurablegetHelpTopic in class MasterDetailsComponentnull if no help is availableprotected java.util.List<? extends RemoveConfigurableHandler<?>> getRemoveHandlers()
getRemoveHandlers in class BaseStructureConfigurablepublic java.lang.String getId()
SearchableConfigurableConfigurableEP.idpublic void dispose()
Disposable