Class DependencyMatrixActionRegistry
java.lang.Object
com.nomagic.magicdraw.dependencymatrix.configuration.DependencyMatrixActionRegistry
Dependency matrix action registry - manages all configurators, which configures all actions which are applicable
for dependency matrix, including filter area panel, and row/column elements. Users may get instance and add additional
configurators which add remove actions according to element and matrix element provided.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addContextConfigurator
(DependencyMatrixAMConfigurator configurator) Registers new configurator for dependency matrix action registryconfigureCellContextAMConfigurator
(PersistenceManager settings, DependencyMatrixSelection selection) configureContextActions
(PersistenceManager settings, Collection<ElementNode> elementNodes, boolean forRow) Creates new Action manager and configures it with all registered row/column configuratorsvoid
void
removeContextConfigurator
(DependencyMatrixAMConfigurator configurator) Removes context configurator from the registry
-
Constructor Details
-
DependencyMatrixActionRegistry
public DependencyMatrixActionRegistry()
-
-
Method Details
-
getInstance
-
addContextConfigurator
Registers new configurator for dependency matrix action registry- Parameters:
configurator
- configurator
-
removeContextConfigurator
Removes context configurator from the registry- Parameters:
configurator
- configurator to remove
-
configureContextActions
public ActionsManager configureContextActions(PersistenceManager settings, Collection<ElementNode> elementNodes, boolean forRow) Creates new Action manager and configures it with all registered row/column configurators- Parameters:
elementNodes
- describes currently selected nodes and cells in matrixforRow
- true if actions are configured for rows, false if for columnssettings
- matrix settings- Returns:
- new configured
ActionsManager
instance
-
addCellContextAMConfigurator
-
removeCellContextAMConfigurator
-
configureCellContextAMConfigurator
public ActionsManager configureCellContextAMConfigurator(PersistenceManager settings, DependencyMatrixSelection selection)
-