public class FacetStructureConfigurable 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 |
|---|
FacetStructureConfigurable(Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFacetNodes(MasterDetailsComponent.MyNode facetTypeNode,
java.util.List<? extends Facet> facets,
FacetEditorFacadeImpl editorFacade) |
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected java.util.ArrayList<AnAction> |
createActions(boolean fromPopup) |
protected BaseStructureConfigurable.AbstractAddGroup |
createAddAction() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
disposeMultipleSettingsEditor() |
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.
|
FacetTypeEditor |
getFacetTypeEditor(FacetType<?,?> facetType) |
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 FacetStructureConfigurable |
getInstance(Project project) |
protected java.util.Comparator<MasterDetailsComponent.MyNode> |
getNodeComparator() |
FacetTypeEditor |
getOrCreateFacetTypeEditor(FacetType<?,?> facetType) |
MasterDetailsComponent.MyNode |
getOrCreateFacetTypeNode(FacetType facetType) |
protected java.util.Collection<? extends ProjectStructureElement> |
getProjectStructureElements() |
protected java.util.List<? extends RemoveConfigurableHandler<?>> |
getRemoveHandlers() |
protected void |
initTree() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
boolean |
isVisible() |
protected void |
loadTree() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
protected boolean |
updateMultiSelection(java.util.List<? extends NamedConfigurable> selectedConfigurables) |
boolean |
updateMultiSelection(java.util.List<? extends NamedConfigurable> selectedConfigurables,
DetailsComponent detailsComponent) |
protected void |
updateSelection(NamedConfigurable configurable) |
addCollapseExpandActions, checkCanApply, createCopyActions, getSelectedElement, getStateService, getTextForSpeedSearch, init, navigateTo, onStructureSelected, onStructureUnselected, queryPlace, reloadTreeNodes, removeFacetNodesaddItemsChangeListener, addNode, addNotify, checkForEmptyAndDuplicatedNames, clearChildren, createComponent, createToolbarActionGroup, ensureInitialized, findNodeByCondition, findNodeByName, findNodeByObject, forAll, getAdditionalActions, getDetails, getDetailsComponent, getEmptySelectionString, getMaster, 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, wasObjectStoredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableSearch, getOriginalClassgetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancel, createComponentsetHistorypublic FacetStructureConfigurable(Project project)
protected java.lang.String getComponentStateKey()
getComponentStateKey in class MasterDetailsComponentpublic static FacetStructureConfigurable getInstance(Project project)
public boolean isVisible()
protected void initTree()
initTree in class BaseStructureConfigurableprotected void loadTree()
loadTree in class BaseStructureConfigurableprotected java.util.Comparator<MasterDetailsComponent.MyNode> getNodeComparator()
getNodeComparator in class MasterDetailsComponentprotected java.util.Collection<? extends ProjectStructureElement> getProjectStructureElements()
getProjectStructureElements in class BaseStructureConfigurablepublic MasterDetailsComponent.MyNode getOrCreateFacetTypeNode(FacetType facetType)
public void addFacetNodes(MasterDetailsComponent.MyNode facetTypeNode, java.util.List<? extends Facet> facets, FacetEditorFacadeImpl editorFacade)
public FacetTypeEditor getFacetTypeEditor(FacetType<?,?> facetType)
public FacetTypeEditor getOrCreateFacetTypeEditor(FacetType<?,?> facetType)
public void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablereset in class BaseStructureConfigurablepublic 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 BaseStructureConfigurableprotected java.util.ArrayList<AnAction> createActions(boolean fromPopup)
createActions in class BaseStructureConfigurableprotected boolean updateMultiSelection(java.util.List<? extends NamedConfigurable> selectedConfigurables)
updateMultiSelection in class MasterDetailsComponentpublic boolean updateMultiSelection(java.util.List<? extends NamedConfigurable> selectedConfigurables, DetailsComponent detailsComponent)
protected void updateSelection(NamedConfigurable configurable)
updateSelection in class MasterDetailsComponentpublic void disposeMultipleSettingsEditor()
protected BaseStructureConfigurable.AbstractAddGroup createAddAction()
createAddAction in class BaseStructureConfigurableprotected java.util.List<? extends RemoveConfigurableHandler<?>> getRemoveHandlers()
getRemoveHandlers in class BaseStructureConfigurablepublic java.lang.String getDisplayName()
Configurablepublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface ConfigurablegetHelpTopic in class MasterDetailsComponentnull if no help is availablepublic java.lang.String getId()
SearchableConfigurableConfigurableEP.idpublic void dispose()
Disposable