@OpenApiAll
public class DependencyMatrixActionRegistry
extends java.lang.Object
Constructor and Description |
---|
DependencyMatrixActionRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addCellContextAMConfigurator(DependencyMatrixCellAMConfigurator configurator) |
void |
addContextConfigurator(DependencyMatrixAMConfigurator configurator)
Registers new configurator for dependency matrix action registry
|
ActionsManager |
configureCellContextAMConfigurator(PersistenceManager settings,
DependencyMatrixSelection selection) |
ActionsManager |
configureContextActions(PersistenceManager settings,
java.util.Collection<ElementNode> elementNodes,
boolean forRow)
Creates new Action manager and configures it with all registered row/column configurators
|
static DependencyMatrixActionRegistry |
getInstance() |
void |
removeCellContextAMConfigurator(DependencyMatrixCellAMConfigurator configurator) |
void |
removeContextConfigurator(DependencyMatrixAMConfigurator configurator)
Removes context configurator from the registry
|
public static DependencyMatrixActionRegistry getInstance()
public void addContextConfigurator(DependencyMatrixAMConfigurator configurator)
configurator
- configuratorpublic void removeContextConfigurator(DependencyMatrixAMConfigurator configurator)
configurator
- configurator to removepublic ActionsManager configureContextActions(PersistenceManager settings, java.util.Collection<ElementNode> elementNodes, boolean forRow)
elementNodes
- describes currently selected nodes and cells in matrixforRow
- true if actions are configured for rows, false if for columnssettings
- matrix settingsActionsManager
instancepublic void addCellContextAMConfigurator(DependencyMatrixCellAMConfigurator configurator)
public void removeCellContextAMConfigurator(DependencyMatrixCellAMConfigurator configurator)
public ActionsManager configureCellContextAMConfigurator(PersistenceManager settings, DependencyMatrixSelection selection)