Class GeneralizationSetView

  • All Implemented Interfaces:
    BaseElement, 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 GeneralizationSetView
    extends com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
    • Field Detail

      • headerOrientationVertical

        private boolean headerOrientationVertical
    • Constructor Detail

      • GeneralizationSetView

        public GeneralizationSetView()
      • GeneralizationSetView

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

      • accept

        public void accept​(Visitor visitor)
                    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.HeaderShapeView
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • isShowPowertype

        public boolean isShowPowertype()
      • sSetShowPowertype

        public void sSetShowPowertype​(boolean show)
      • getGeneralizationSetHeaderView

        private com.nomagic.magicdraw.uml.symbols.shapes.GeneralizationSetHeaderView getGeneralizationSetHeaderView()
      • setShowPowertype

        public void setShowPowertype​(boolean show)
      • isShowCompleteDisjoint

        public boolean isShowCompleteDisjoint()
      • sSetShowCompleteDisjoint

        public void sSetShowCompleteDisjoint​(boolean show)
      • setShowCompleteDisjoint

        public void setShowCompleteDisjoint​(boolean show)
      • internalApplyProperties

        public void internalApplyProperties​(PropertyManager man)
        Description copied from class: PresentationElement
        Applies properties from given property manager
        Overrides:
        internalApplyProperties in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
        Parameters:
        man - new properties
      • internalSilentApply

        public void internalSilentApply()
        Description copied from class: PresentationElement
        Silently applies all properties after initialization
        Overrides:
        internalSilentApply in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • createSmartListenerConfig

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

        protected void internalSpecificUpdate()
        Overrides:
        internalSpecificUpdate in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • updateCompleteDisjoinLabel

        private void updateCompleteDisjoinLabel()
      • constructCompleteDisjointText

        private static java.lang.String constructCompleteDisjointText​(GeneralizationSet set)
      • canHavePaths

        public boolean canHavePaths()
        Returns:
        true if symbol can have connected paths. Return false here.
      • sSetVisibility

        public void sSetVisibility​(com.nomagic.magicdraw.uml.symbols.PresentationElementVisibility visibility)
        Description copied from class: PresentationElement
        Sets element visibility flag.
        Parameters:
        visibility - flag value
      • setVisibility

        public void setVisibility​(com.nomagic.magicdraw.uml.symbols.PresentationElementVisibility visibility)
        Description copied from class: PresentationElement
        Sets element visibility flag.
        Parameters:
        visibility - flag value
      • checkShowsProxy

        protected boolean checkShowsProxy()
        Overrides:
        checkShowsProxy in class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
      • internalGetHeaderInsets

        protected com.nomagic.ui.UnmodifiableInsets internalGetHeaderInsets()
        Overrides:
        internalGetHeaderInsets in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • setWrapEnabled

        public void setWrapEnabled​(boolean b)
        Sets wrap enabled
        Specified by:
        setWrapEnabled in interface com.nomagic.magicdraw.uml.symbols.Wrapable
        Overrides:
        setWrapEnabled in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • sSetWrapEnabled

        public void sSetWrapEnabled​(boolean b)
        Sets wrap enabled
        Specified by:
        sSetWrapEnabled in interface com.nomagic.magicdraw.uml.symbols.Wrapable
        Overrides:
        sSetWrapEnabled in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • isWrapEnabled

        public boolean isWrapEnabled()
        Returns wrap enabled
        Specified by:
        isWrapEnabled in interface com.nomagic.magicdraw.uml.symbols.Wrapable
        Overrides:
        isWrapEnabled in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • selfSpecificHeaderShapeDraw

        protected void selfSpecificHeaderShapeDraw​(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
        Overrides:
        selfSpecificHeaderShapeDraw in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • draw

        public void draw​(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
        Description copied from class: PresentationElement
        Draw symbol using renderer or symbol specific draw if renderer is not available. Also draw adornments.
        Parameters:
        context - paint context
      • sSetHeaderOrientationVertical

        public void sSetHeaderOrientationVertical​(boolean value)
      • setHeaderOrientationVertical

        public void setHeaderOrientationVertical​(boolean value)
      • isHeaderOrientationVertical

        public boolean isHeaderOrientationVertical()
        Overrides:
        isHeaderOrientationVertical in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • needAdjustToMaximumDimension

        protected boolean needAdjustToMaximumDimension()
        Description copied from class: ShapeElement
        Check if shape should be resized to a maximum size.
        Returns:
        true if need adjustments