@OpenApiAll
public final class ElementActivationManager
extends java.lang.Object
ElementActivator
instances.ElementActivator
Modifier and Type | Method and Description |
---|---|
boolean |
activate(Element element)
Activate given element with registered activators.
|
void |
addActivator(ElementActivator activator)
Register given activator.
|
static ElementActivationManager |
getInstance()
Get singleton instance.
|
void |
removeActivator(ElementActivator activator)
Remove given registered activator.
|
public static ElementActivationManager getInstance()
public void addActivator(ElementActivator activator)
activator
- activator to register.public void removeActivator(ElementActivator activator)
activator
- activator to remove.public boolean activate(Element element)
element
- element to activate.