Class ElementActivator

java.lang.Object
com.nomagic.magicdraw.ui.ElementActivator

@OpenApiAll public abstract class ElementActivator extends Object
Handles element activation. Activators are registered in ElementActivationManager.
See Also:
  • Constructor Details

    • ElementActivator

      public ElementActivator()
  • Method Details

    • 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.