Class DependencyMatrixActionRegistry


  • @OpenApiAll
    public class DependencyMatrixActionRegistry
    extends java.lang.Object
    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 Detail

      • DependencyMatrixActionRegistry

        public DependencyMatrixActionRegistry()
    • Method Detail

      • addContextConfigurator

        public void addContextConfigurator​(DependencyMatrixAMConfigurator configurator)
        Registers new configurator for dependency matrix action registry
        Parameters:
        configurator - configurator
      • removeContextConfigurator

        public void removeContextConfigurator​(DependencyMatrixAMConfigurator configurator)
        Removes context configurator from the registry
        Parameters:
        configurator - configurator to remove
      • configureContextActions

        public ActionsManager configureContextActions​(PersistenceManager settings,
                                                      java.util.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 matrix
        forRow - true if actions are configured for rows, false if for columns
        settings - matrix settings
        Returns:
        new configured ActionsManager instance