Class ExceptionHandlerView

java.lang.Object
com.nomagic.magicdraw.uml.MDElementImpl
com.nomagic.magicdraw.uml.symbols.PresentationElement
com.nomagic.magicdraw.uml.symbols.paths.PathConnector
com.nomagic.magicdraw.uml.symbols.paths.PathElement
com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
com.nomagic.magicdraw.uml.symbols.paths.ExceptionHandlerView
All Implemented Interfaces:
BaseElement, com.nomagic.magicdraw.uml.CompartmentSupport, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.LabelOwner, com.nomagic.magicdraw.uml.symbols.LineJumpDrawer, com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener

@OpenApi public class ExceptionHandlerView extends com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
  • Constructor Details

    • ExceptionHandlerView

      public ExceptionHandlerView()
    • ExceptionHandlerView

      public ExceptionHandlerView(@CheckForNull PresentationElement parent)
  • Method Details

    • createStereotypeLabelWrapper

      protected com.nomagic.magicdraw.uml.symbols.shapes.StereotypeLabelWrapper createStereotypeLabelWrapper()
      Overrides:
      createStereotypeLabelWrapper in class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
    • accept

      public void accept(Visitor visitor) throws Exception
      Description copied from interface: MDElement
      Method accepts a visitor, and calls method "visit<class name>(this)" of a visitor. See "Visitor" pattern for more details.
      Specified by:
      accept in interface MDElement
      Overrides:
      accept in class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
      Parameters:
      visitor - which visits this element.
      Throws:
      Exception
    • createSmartListenerConfig

      protected void createSmartListenerConfig(List<SmartListenerConfig> configurations)
      Overrides:
      createSmartListenerConfig in class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
    • askDeleteDataConfirmation

      public boolean askDeleteDataConfirmation()
      Description copied from class: PathElement
      Return true, because while deleting link view user must be prompt about deleting data
      Overrides:
      askDeleteDataConfirmation in class PathElement
      Returns:
      confirmation status -- true if asking is necessary, false otherwise
    • getElement

      public ExceptionHandler getElement()
      Description copied from class: PresentationElement
      Returns model element of this presentation element. Some presentation elements (for example TextBoxes) do not have model elements.
      Specified by:
      getElement in interface com.nomagic.magicdraw.uml.symbols.LabelOwner
      Specified by:
      getElement in interface ModelElementProvider
      Overrides:
      getElement in class PresentationElement
      Returns:
      model element of this presentation element.