Class StateInvariantView

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.shapes.ShapeElement
com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.FrameView
com.nomagic.magicdraw.uml.symbols.shapes.FragmentView
com.nomagic.magicdraw.uml.symbols.shapes.StateInvariantView
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.OwnerNameLabelOwner, com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, com.nomagic.magicdraw.uml.symbols.Wrapable, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener

@OpenApi public class StateInvariantView extends com.nomagic.magicdraw.uml.symbols.shapes.FragmentView

Represents state invariant symbol in a sequence diagram.

State invariant is described as a runtime constraint on the participants of the interaction. It may be used to specify a variety of different kinds of constraints, such as values of attributes or variables, internal or external states, and so on.

State invariant has two presentation options. By default it is represented by rounded rectangle with state name in it (state notation). The other presentation option is curly brackets with constraint specification between them (constraint specification notation).

  • Field Summary

    Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView

    SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_DO_NOT_DISPLAY, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_IMAGE_AND_STEREOTYPES, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_STEREOTYPES, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODES

    Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView

    CONTAINER_SHAPE_INSETS

    Fields inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement

    DASHED_STROKE, DOTTED_STROKE, SOLID_STROKE

    Fields inherited from interface com.nomagic.magicdraw.uml.symbols.shapes.OwnerNameLabelOwner

    OWNER_DISPLAY_MODE_OLD, OWNER_DISPLAY_MODE_STD, OWNER_DISPLAY_MODES

    Fields inherited from interface com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner

    QNAME_DISPLAY_MODE_ABOVE_NAME, QNAME_DISPLAY_MODE_BELOW_NAME, QNAME_DISPLAY_MODE_DO_NOT_DISPLAY, QNAME_DISPLAY_MODE_MERGE_WITH_NAME, QNAME_DISPLAY_MODES
  • Method Summary

    Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.FragmentView

    addCoveredLifeline, addCoveredLifelineToFragment, addCoveredLifelineView, adjustBoundsByCoveredLifelines, atInsert, clone, getCoveredLifelineElements, getCoveredLifelines, getOwnerDisplayMode, getPreferredDimensionForAutosize, getSeqContainer, hasSharedData, internalApplyProperties, internalSilentApply, isNestedFragment, preferredSizeIgnoringOrientation, propertyChange, removeCoveredLifeline, removeCoveredLifelines, setCoveredLifelines, setOwnerDisplayMode, sSetOwnerDisplayMode

    Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.FrameView

    drawFrameBoundary, drawFrameShadow, fill, getFrameHeaderView, paintFrameBackground

    Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView

    addCompartment, addCompartment, addPresentationElement, areBoxCompartmentsSuppressed, askDeleteDataConfirmation, autosizeShapesOnEdge, canAddChild, canChangeParent, canHideBorder, canSuppressContent, childrenBoundsForReshape, createChangedCompartmentVisibilityProperty, createCompartmentElements, doInternalLayoutAdditionCompartment, doInternalLayoutChildren, getAdditionalCompartment, getAdditionalCompartmentContainer, getAdditionalCompartmentInsets, getAdditionalCompartmentToLayout, getAdditionalRenderersToNotify, getBooleanCompartmentPropertyValue, getChildrenBoundsForPreferredBounds, getChildrenInsets, getCollections, getCompartmentByID, getCompartmentContainer, getCompartmentIDs, getCompartmentRegistrationInfo, getCompartments, getConfiguredPreferredSizeForAutosize, getConstraintAndTaggedValueAlignment, getConstraintTextMode, getDefaultElementStereotypeToHeader, getDSLStereotypesDisplayMode, getElementNumberDisplayMode, getElementPropertiesCompartmentView, getHeaderMaxYForShrinkableShape, getHeaderVerticalPositionForLayout, getHeaderView, getMainCompartmentContainer, getName, getQNameDisplayMode, getSecondaryImageAndStereotypeDisplayMode, getStereotypeLabel, getStereotypesDisplayMode, getSuppressCompartmentPropertyID, hasManipulatedChildrenIncludingIndirect, internalAddIndirectManipulatedChildrenRect, internalBeforeUpdate, internalGetHeaderInsets, internalGetIndirectManipulatedChildrenRect, internalGetSelfManipulationPreferredSize, internalLayoutChildren, internalPostSpecificUpdate, internalSetCollections, isBorderVisible, isChildLayoutable, isChildMovable, isMakePreferredSizeAfterPropertiesChange, isShowConstraints, isShowDerivedSign, isShowElementProperties, isShowIcon, isShowNumberTagName, isShowRakeIcon, isShowRakeSymbol, isShowTaggedValues, isShowType, isWrapEnabled, makePreferredSizeAfterPropertiesChange, makePreferredSizeAfterPropertiesChange, onChildEdgeChange, paintSelf, recursiveAutosize, removeCompartment, removeCompartment, removePresentationElement, setCollections, setCompartmentSuppressed, setConstraintAndTaggedValueAlignment, setConstraints, setConstraintTextMode, setDSLStereotypesDisplayMode, setElementNumberDisplayMode, setHeaderObject, setMakePreferredSizeAfterPropertiesChange, setQNameDisplayMode, setReshapeMode, setSecondaryImageAndStereotypeDisplayMode, setShowCompartmentName, setShowConstraints, setShowDerivedSign, setShowElementProperties, setShowIcon, setShowNumberTagName, setShowTaggedValues, setShowType, setStereotype, setStereotypesDisplayMode, setTaggedValues, setVisibleElements, setWrapEnabled, sSetCompartmentSuppressed, sSetConstraintAndTaggedValueAlignment, sSetConstraintTextMode, sSetDSLStereotypesDisplayMode, sSetElement, sSetElementNumberDisplayMode, sSetName, sSetQNameDisplayMode, sSetSecondaryImageAndStereotypeDisplayMode, sSetShowCompartmentName, sSetShowConstraints, sSetShowDerivedSign, sSetShowElementProperties, sSetShowIcon, sSetShowNumberTagName, sSetShowTaggedValues, sSetShowType, sSetStereotypesDisplayMode, sSetWrapEnabled, updateBorderVisibility, updateChildrenVisibility, updateCompartmentsVisibility

    Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView

    autosize, autosizeAndResizeParent, calculateMinY, calculateOvalShapePreferredSize, canAddInstance, correctChildrenVector, coversPoint, editName, getAdditionalHeaderHeightForPreferredBounds, getHeaderBoundsForPreferredBounds, getHeaderDistanceFromTopForOvalShape, getHeaderInsets, getHeaderObject, getHeaderVerticalPosition, getNameLabel, getOvalShapeAvailableWidth, getPreferredBounds, getPresentationElementAt, getProxyPresentationElementsStream, getStereotypesToDisplay, internalGetHeaderBoundsForPreferredBounds, internalPostUpdatePresentationElement, internalPreSpecificUpdate, internalUpdatePresentationElement, invalidate, isContentHidden, isHeaderOrientationVertical, isOvalShape, isParentShowsProxy, minimumDimension, minimumDimensionForShrinking, minimumSizeForShrinkingIgnoringOrientation, minimumSizeIgnoringOrientation, paintChildren, preferredDimension, setHeaderVerticalPosition, setName, setTextEditable, sSetAutosize, sSetHeaderVerticalPosition, switchWidthHeightIfVerticalOrientation

    Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView

    addPresentationElement, addPresentationElementWithoutResize, adjustChildBoundsForMoving, autosizeByChildren, calculateAutosizeDimension, calculateAutosizeDimension, canMoveChildOutside, checkShowsProxy, clearShowsProxy, constructLayoutHelper, getChildrenBounds, getChildrenOnBorderBounds, getContainerBounds, getLayoutHelper, getLayoutHelperClone, getManipulatedElementAt, getManipulationPreferredDimension, getPresentationElementIndex, getPresentationElements, getRemovableChildren, hasManipulatedShapesNotOnEdge, hasManipulatedShapesOnEdge, hasManipulatedShapesOnEdge, internalAppendChildRect, internalGetChildAt, internalGetManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalSetChildren, isCanChildrenChangeEdge, isCanMoveChildren, layoutChildren, moveChild, moveChildren, needAdjustToPreferred, paintChildrenBackground, prefDimensionByManipulatedChildren, removePresentationElement, sAddPresentationElement, setBounds, setBounds, setCanMoveChildren, setDummyResizeMode, setFillColor, setLayoutHelper, setPresentationElements, showPathElements, simpleSetBounds, simpleSetBounds, sRemovePresentationElement, sSetPresentationElements

    Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector

    getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements

    Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl

    accept, addPropertyChangeListener, canAdd, canAddChild, canBeDeleted, canDeleteChild, compareTo, createSortKeys, getClassType, getCommandForAppending, getID, getProject, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, sGetID

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement

    canAdd

    Methods inherited from interface com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape

    getAbstractDiagramPresentationElement, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY

    Methods inherited from interface com.nomagic.magicdraw.uml.CompartmentSupport

    setVisibleElements