public abstract class BaseLibrariesConfigurable 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.Parent| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
myLevel |
myAutoScrollEnabled, myContext, myProject, myUiDisposedCOPY_ICON, LOG, myAutoScrollHandler, myCurrentConfigurable, myHistory, myNorthPanel, myRoot, myState, myToReInitWholePanel, myTree, myWholePanel, TREE_NAME, TREE_OBJECT, TREE_UPDATERAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Modifier | Constructor and Description |
|---|---|
protected |
BaseLibrariesConfigurable(Project project,
java.lang.String libraryTableLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
void |
checkCanApply() |
protected BaseStructureConfigurable.AbstractAddGroup |
createAddAction() |
protected java.util.List<? extends AnAction> |
createCopyActions(boolean fromPopup) |
void |
createLibraryNode(Library library) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected abstract java.lang.String |
getAddText() |
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.
|
static BaseLibrariesConfigurable |
getInstance(Project project,
java.lang.String tableLevel) |
java.lang.String |
getLevel() |
abstract LibraryTablePresentation |
getLibraryTablePresentation() |
abstract StructureLibraryTableModifiableModelProvider |
getModelProvider() |
abstract BaseLibrariesConfigurable |
getOppositeGroup() |
protected java.util.Collection<? extends ProjectStructureElement> |
getProjectStructureElements() |
protected java.util.List<? extends RemoveConfigurableHandler<?>> |
getRemoveHandlers() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
protected void |
loadTree() |
void |
onStructureSelected() |
void |
onStructureUnselected() |
void |
removeLibraries(java.util.List<? extends LibraryProjectStructureElement> libraries) |
void |
removeLibrary(LibraryProjectStructureElement element) |
void |
removeLibraryNode(Library library) |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
protected void |
updateSelection(NamedConfigurable configurable) |
addCollapseExpandActions, createActions, disposeUIResources, getSelectedElement, getStateService, getTextForSpeedSearch, init, initTree, navigateTo, queryPlace, reloadTreeNodes, removeFacetNodesaddItemsChangeListener, addNode, addNotify, checkForEmptyAndDuplicatedNames, clearChildren, createComponent, createToolbarActionGroup, ensureInitialized, findNodeByCondition, findNodeByName, findNodeByObject, forAll, getAdditionalActions, getComponentStateKey, getDetails, getDetailsComponent, getMaster, getNodeComparator, 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, updateMultiSelection, wasObjectStoredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableSearch, getId, getOriginalClassgetDisplayName, getPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancel, createComponentsetHistoryprotected BaseLibrariesConfigurable(Project project, java.lang.String libraryTableLevel)
public static BaseLibrariesConfigurable getInstance(Project project, java.lang.String tableLevel)
public abstract LibraryTablePresentation getLibraryTablePresentation()
public java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface ConfigurablegetHelpTopic in class MasterDetailsComponentnull if no help is availablepublic boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurableisModified in class MasterDetailsComponenttrue if the settings were modified, false otherwisepublic void checkCanApply()
throws ConfigurationException
checkCanApply in class BaseStructureConfigurableConfigurationExceptionpublic void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablereset in class BaseStructureConfigurableprotected void loadTree()
loadTree in class BaseStructureConfigurableprotected java.util.Collection<? extends ProjectStructureElement> getProjectStructureElements()
getProjectStructureElements in class BaseStructureConfigurablepublic void apply()
throws ConfigurationException
UnnamedConfigurableapply in interface UnnamedConfigurableapply in class MasterDetailsComponentConfigurationException - if values cannot be appliedpublic java.lang.String getLevel()
public void createLibraryNode(Library library)
public void removeLibraryNode(Library library)
public void dispose()
Disposableprotected java.util.List<? extends AnAction> createCopyActions(boolean fromPopup)
createCopyActions in class BaseStructureConfigurableprotected BaseStructureConfigurable.AbstractAddGroup createAddAction()
createAddAction in class BaseStructureConfigurableprotected abstract java.lang.String getAddText()
public abstract StructureLibraryTableModifiableModelProvider getModelProvider()
public abstract BaseLibrariesConfigurable getOppositeGroup()
protected void updateSelection(NamedConfigurable configurable)
updateSelection in class MasterDetailsComponentpublic void onStructureUnselected()
onStructureUnselected in class BaseStructureConfigurablepublic void onStructureSelected()
onStructureSelected in class BaseStructureConfigurablepublic void removeLibrary(LibraryProjectStructureElement element)
public void removeLibraries(java.util.List<? extends LibraryProjectStructureElement> libraries)
protected java.util.List<? extends RemoveConfigurableHandler<?>> getRemoveHandlers()
getRemoveHandlers in class BaseStructureConfigurableprotected java.lang.String getEmptySelectionString()
getEmptySelectionString in class MasterDetailsComponent