@OpenApiAll
public class DependencyMatrixActionRegistry
extends java.lang.Object
Constructor and Description |
---|
DependencyMatrixActionRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addContextConfigurator(DependencyMatrixAMConfigurator configurator)
Registers new configurator for dependency matrix action registry
|
ActionsManager |
configureContextActions(PersistenceManager settings,
java.util.Collection<Element> elements,
boolean forRow)
Creates new Action manager and configures it with all registered configurators
|
static DependencyMatrixActionRegistry |
getInstance() |
void |
removeContextConfigurator(DependencyMatrixAMConfigurator configurator)
Removes context configurator from the registry
|
public static DependencyMatrixActionRegistry getInstance()
public void addContextConfigurator(@Nonnull DependencyMatrixAMConfigurator configurator)
configurator
- configuratorpublic void removeContextConfigurator(@Nonnull DependencyMatrixAMConfigurator configurator)
configurator
- configurator to removepublic ActionsManager configureContextActions(PersistenceManager settings, java.util.Collection<Element> elements, boolean forRow)
settings
- matrix settingselements
- action target element list. If empty - actions are applied to the whole matrixforRow
- row or column elementsActionsManager
instance