Package com.nomagic.magicdraw.ui
Class ElementActivator
- java.lang.Object
-
- com.nomagic.magicdraw.ui.ElementActivator
-
@OpenApiAll public abstract class ElementActivator extends java.lang.Object
Handles element activation. Activators are registered inElementActivationManager
.- See Also:
ElementActivationManager
-
-
Constructor Summary
Constructors Constructor Description ElementActivator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
onActivate(Element element)
Invoked on element activation in UI.
-
-
-
Method Detail
-
onActivate
public abstract boolean onActivate(Element element)
Invoked on element activation in UI.- Parameters:
element
- element to activate.- Returns:
- true if element activation is handled by this instance, otherwise - false.
-
-