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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddContextConfigurator(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 configuratorsvoidvoidremoveContextConfigurator(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
ActionsManagerinstance
-
addCellContextAMConfigurator
-
removeCellContextAMConfigurator
-
configureCellContextAMConfigurator
public ActionsManager configureCellContextAMConfigurator(PersistenceManager settings, DependencyMatrixSelection selection)
-