Class ElementActivationManager

    • Constructor Detail

      • ElementActivationManager

        private ElementActivationManager()
    • Method Detail

      • addActivator

        public void addActivator​(ElementActivator activator)
        Register given activator.
        Parameters:
        activator - activator to register.
      • removeActivator

        public void removeActivator​(ElementActivator activator)
        Remove given registered activator.
        Parameters:
        activator - activator to remove.
      • activate

        public boolean activate​(Element element)
        Activate given element with registered activators.
        Parameters:
        element - element to activate.
        Returns:
        true if activated, otherwise - false.