public class FacetStructureConfigurable 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 |
---|
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, removeFacetNodes
addItemsChangeListener, 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, wasObjectStored
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enableSearch, getOriginalClass
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, createComponent
setHistory
public FacetStructureConfigurable(Project project)
protected java.lang.String getComponentStateKey()
getComponentStateKey
in class MasterDetailsComponent
public static FacetStructureConfigurable getInstance(Project project)
public boolean isVisible()
protected void initTree()
initTree
in class BaseStructureConfigurable
protected void loadTree()
loadTree
in class BaseStructureConfigurable
protected java.util.Comparator<MasterDetailsComponent.MyNode> getNodeComparator()
getNodeComparator
in class MasterDetailsComponent
protected java.util.Collection<? extends ProjectStructureElement> getProjectStructureElements()
getProjectStructureElements
in class BaseStructureConfigurable
public 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()
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 void disposeUIResources()
UnnamedConfigurable
disposeUIResources
in interface UnnamedConfigurable
disposeUIResources
in class BaseStructureConfigurable
protected java.util.ArrayList<AnAction> createActions(boolean fromPopup)
createActions
in class BaseStructureConfigurable
protected boolean updateMultiSelection(java.util.List<? extends NamedConfigurable> selectedConfigurables)
updateMultiSelection
in class MasterDetailsComponent
public boolean updateMultiSelection(java.util.List<? extends NamedConfigurable> selectedConfigurables, DetailsComponent detailsComponent)
protected void updateSelection(NamedConfigurable configurable)
updateSelection
in class MasterDetailsComponent
public void disposeMultipleSettingsEditor()
protected BaseStructureConfigurable.AbstractAddGroup createAddAction()
createAddAction
in class BaseStructureConfigurable
protected java.util.List<? extends RemoveConfigurableHandler<?>> getRemoveHandlers()
getRemoveHandlers
in class BaseStructureConfigurable
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
public void dispose()
Disposable