Class CollaborationUseView

  • All Implemented Interfaces:
    BaseElement, CompartmentElement, com.nomagic.magicdraw.uml.CompartmentSupport, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.CompartmentContainer, com.nomagic.magicdraw.uml.symbols.CompartmentOwner, com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape, com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, com.nomagic.magicdraw.uml.symbols.Wrapable, NameOwner, java.beans.PropertyChangeListener, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener

    @OpenApi
    public class CollaborationUseView
    extends com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
    implements CompartmentElement
    • Constructor Detail

      • CollaborationUseView

        public CollaborationUseView()
      • CollaborationUseView

        public CollaborationUseView​(@CheckForNull
                                    PresentationElement parent)
    • Method Detail

      • getClassifier

        public Classifier getClassifier()
        Specified by:
        getClassifier in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • sSetClassifiers

        public void sSetClassifiers​(java.util.List<Classifier> type)
        Specified by:
        sSetClassifiers in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • getMetaClassifiersQPropertyName

        public java.lang.String getMetaClassifiersQPropertyName()
        Specified by:
        getMetaClassifiersQPropertyName in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • accept

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

        protected void createSmartListenerConfig​(java.util.List<SmartListenerConfig> configurations)
        Overrides:
        createSmartListenerConfig in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • internalGetPresentationElementStroke

        public java.awt.BasicStroke internalGetPresentationElementStroke​(int width)
        Description copied from class: PresentationElement
        Return a stroke used to paint symbol's main part
        Parameters:
        width - a custom stroke width. Other stroke parameters will be specific to symbol
        Returns:
        a stroke used to paint symbol's main part
      • findParentForData

        public Element findParentForData​(PresentationElement newParent,
                                         com.nomagic.uml2.ext.jmi.helpers.ElementAddContext addContext)
      • getTypeClass

        public java.lang.Class getTypeClass()
        Overrides:
        getTypeClass in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • doActualShapeDrawing

        protected void doActualShapeDrawing​(java.awt.Graphics2D g,
                                            java.awt.Rectangle bounds)
        Overrides:
        doActualShapeDrawing in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • getDefaultDimension

        protected UnmodifiableDimension getDefaultDimension()
        Overrides:
        getDefaultDimension in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • isOvalShape

        protected boolean isOvalShape()
        Overrides:
        isOvalShape in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • internalGetElementToConnectLink

        public Element internalGetElementToConnectLink​(@CheckForNull
                                                       Element path,
                                                       boolean asClient)
        Description copied from class: PresentationElement
        Returns element that should be used for given link connecting. All possible elements are return by method getElementsForLinkConnecting. Usually this method should be overridden together with getElementsForLinkConnecting().
        Returns:
        all possible elements
        See Also:
        PresentationElement.getElementsForLinkConnecting()
      • internalGetElementsForLinkConnecting

        public java.util.Collection<? extends Element> internalGetElementsForLinkConnecting()
        Description copied from class: PresentationElement
        Returns all possible element that can be used for some link connecting. One of these elements are return in method getElementToConnectLink() in specific situation. Usually this method should be overridden together with getElementsForLinkConnecting().
        Returns:
        all possible elements
        See Also:
        PresentationElement.getElementToConnectLink(Element, boolean)