Class StateView
- java.lang.Object
 - 
- com.nomagic.magicdraw.uml.MDElementImpl
 - 
- com.nomagic.magicdraw.uml.ElementImpl
 - 
- 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.StateView
 
 
 
 
 
 
 
 
 
 
- 
- 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 StateView extends com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView.StereotypeDisplayData 
- 
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement.OnEdgeBounds 
- 
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
com.nomagic.magicdraw.uml.symbols.PresentationElement.SmartListenerConfigData, com.nomagic.magicdraw.uml.symbols.PresentationElement.StructureCache 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static intARC_HEIGHTstatic intARC_WIDTHprivate static UnmodifiableDimensionDEFAULT_SIZEprivate static com.nomagic.ui.UnmodifiableInsetsREGIONS_INSETS- 
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.shapes.ShapeElement
BORDER_ELEMENT_MARGIN_ALL, BORDER_ELEMENT_MARGIN_BOTTOM, BORDER_ELEMENT_MARGIN_LEFT, BORDER_ELEMENT_MARGIN_LEFT_RIGHT, BORDER_ELEMENT_MARGIN_MODES, BORDER_ELEMENT_MARGIN_NONE, BORDER_ELEMENT_MARGIN_RIGHT, BORDER_ELEMENT_MARGIN_TOP, BORDER_ELEMENT_MARGIN_TOP_BOTTOM, BOTTOM_EDGE, INSIDE_EDGE_POSITION, LEFT_EDGE, NEED_AUTOSIZE_FULL, NEED_AUTOSIZE_LAYOUT, NEED_AUTOSIZE_NONE, NO_EDGE, NULL_INSETS, ON_EDGE_POSITION, OUTSIDE_EDGE_POSITION, RIGHT_EDGE, SPACE, SPACE_INSETS, SPACE_INSETS_EMPTY_TOP_BOTTOM, SUSPEND_SHAPE_AUTO_RESIZE_FALSE, SUSPEND_SHAPE_AUTO_RESIZE_MODES, SUSPEND_SHAPE_AUTO_RESIZE_SAME_AS_DIAGRAM, SUSPEND_SHAPE_AUTO_RESIZE_TRUE, TOP_EDGE 
- 
Fields inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
showsProxy 
- 
Fields inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
DASHED_STROKE, DEFAULT_LINE_WIDTH, DOTTED_STROKE, HANDLE_SIZE, MAX_LINE_WIDTH, MIN_LINE_WIDTH, SHADOW_WIDTH, SOLID_STROKE 
- 
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 
- 
Fields inherited from interface com.nomagic.magicdraw.uml.symbols.shapes.StereotypesDisplayModeOwner
DSL_STEREOTYPE_DISPLAY_MODE_ALL, DSL_STEREOTYPE_DISPLAY_MODE_LAST, DSL_STEREOTYPE_DISPLAY_MODE_NONE, DSL_STEREOTYPE_DISPLAY_MODES, STEREOTYPE_DISPLAY_MODE_DO_NOT_DISPLAY_STEREOTYPES, STEREOTYPE_DISPLAY_MODE_ICON, STEREOTYPE_DISPLAY_MODE_SHAPE_IMAGE, STEREOTYPE_DISPLAY_MODE_SHAPE_IMAGE_AND_TEXT, STEREOTYPE_DISPLAY_MODE_TEXT, STEREOTYPE_DISPLAY_MODE_TEXT_AND_ICON, STEREOTYPES_DISPLAY_MODES, STEREOTYPES_DISPLAY_MODES_SIMPLE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description StateView()StateView(PresentationElement parent) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)Method accepts visitor, and calls method visit<class name>(this) of visitor .voidaddPresentationElement(PresentationElement element, int index, boolean resize)private com.nomagic.magicdraw.uml.symbols.shapes.RegionViewaddToRegion(PresentationElement child)booleancanAddChild(PresentationElement obj)Check of given symbol can be added as child into this symbol.booleancanAddInstance(PresentationElement obj)Object view has no children.protected booleancheckShowsProxy()ContainerShapecreateBoundsShape(PathElement path, BoundsTransformation transformation)Creates bounding shape for intersection calculation.protected voidcreateSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)static ElementfindParentForData(PresentationElement parent, PresentationElement child)ElementfindParentForData(PresentationElement parent, com.nomagic.uml2.ElementAddContext addContext)com.nomagic.magicdraw.uml.symbols.shapes.InternalStateCompartmentViewgetActionsCompartment()protected com.nomagic.ui.UnmodifiableInsetsgetAdditionalCompartmentInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level)protected UnmodifiableDimensiongetDefaultDimension()StategetElement()Returns model element of this presentation element.com.nomagic.magicdraw.uml.symbols.shapes.StateHeaderViewgetHeaderView()java.lang.StringgetOpaqueBehaviorDisplayMode()java.util.List<com.nomagic.magicdraw.uml.symbols.shapes.RegionView>getRegions()com.nomagic.magicdraw.uml.symbols.shapes.RegionsCompartmentViewgetRegionsCompartmentView()booleanhasSharedData()Returns true if data of this object can be shared.voidinternalApplyProperties(PropertyManager man)Applies properties from given property managervoidinternalSilentApply()Silently applies all properties after initializationvoidinternalSpecificUpdate()booleanisCompositeState()booleanisShowOperationsSignature()booleanisShowPort()Returns value of the "Show Port" symbol property.booleanisShowRegionName()booleanisSimpleState()booleanisSubmachine()booleanisSuppressActionsCompartment()booleanisUseAdvancedColoring()voidremovePresentationElement(PresentationElement element, boolean resizeParent)voidsAddPresentationElement(PresentationElement element, int index)Add given child to this symbol at given indexprotected voidselfSpecificHeaderShapeDraw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)voidsetOpaqueBehaviorDisplayMode(java.lang.String mode)voidsetShowOperationsSignature(boolean showSignature)Sets if trigger event operation signature should be shownvoidsetShowPort(boolean showPort)Sets value of the "Show Port" symbol property.voidsetShowRegionName(boolean showName)Set a new show name option for region(s).voidsetSuppressActionsCompartment(boolean b)Suppress actions compartmentvoidsetUseAdvancedColoring(boolean use)Sets if operation should be colored using advanced coloringprivate static booleanshouldAddToRegion(Element element)voidsRemovePresentationElement(PresentationElement element)Removes given childvoidsSetOpaqueBehaviorDisplayMode(java.lang.String mode)voidsSetShowOperationsSignature(boolean showSignature)Sets if trigger event operation signature should be shownvoidsSetShowPort(boolean showPort)Sets value of the "Show Port" symbol property.voidsSetShowRegionName(boolean showName)Set a new show name option for region(s).voidsSetSuppressActionsCompartment(boolean b)Suppress compartmentvoidsSetUseAdvancedColoring(boolean use)Sets if operation should be colored using advanced coloring- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
addCompartment, addCompartment, areBoxCompartmentsSuppressed, atInsert, canHideBorder, canSuppressContent, childrenBoundsForReshape, clone, createChangedCompartmentVisibilityProperty, createCompartmentElements, createStateForUpdateOperation, dispose, doInternalLayoutAdditionCompartment, doInternalLayoutChildren, getAdditionalCompartment, getAdditionalCompartmentContainer, getAdditionalCompartmentToLayout, getAdditionalRenderersToNotify, getBooleanCompartmentPropertyValue, getChildrenBoundsForPreferredBounds, getChildrenInsets, getCollections, getCompartmentByID, getCompartmentContainer, getCompartmentIDs, getCompartmentRegistrationInfo, getCompartments, getConfiguredPreferredSizeForAutosize, getConstraintAndTaggedValueAlignment, getConstraintTextMode, getDefaultElementStereotypeToHeader, getDSLStereotypesDisplayMode, getElementNumberDisplayMode, getElementPropertiesCompartmentView, getHeaderMaxYForShrinkableShape, getHeaderVerticalPositionForLayout, getMainCompartmentContainer, getName, getPreferredDimensionForAutosize, 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, preferredSizeIgnoringOrientation, propertyChange, recursiveAutosize, removeCompartment, removeCompartment, 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, updateName 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
autosize, autosizeAndResizeParent, calculateMinY, calculateOvalShapePreferredSize, 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, adjustBoundsForMoving, adjustChildBoundsForMoving, autosizeByChildren, calculateAutosizeDimension, calculateAutosizeDimension, canMoveChildOutside, clearShowsProxy, constructLayoutHelper, getChildrenBounds, getChildrenOnBorderBounds, getContainerBounds, getLayoutHelper, getLayoutHelperClone, getManipulatedElementAt, getManipulationPreferredDimension, getPresentationElementIndex, getPresentationElements, getRemovableChildren, hasManipulatedShapesNotOnEdge, hasManipulatedShapesOnEdge, hasManipulatedShapesOnEdge, internalAppendChildRect, internalGetChildAt, internalGetManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalRecursiveAutosizeForChildren, internalSetChildren, isCanChildrenChangeEdge, isCanMoveChildren, layoutChildren, moveChild, moveChildren, needAdjustToPreferred, paintChildrenBackground, prefDimensionByManipulatedChildren, removePresentationElement, setBounds, setBounds, setCanMoveChildren, setDummyResizeMode, setFillColor, setLayoutHelper, setPresentationElements, showPathElements, simpleSetBounds, simpleSetBounds, sSetPresentationElements 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
addBreakPoints, adjustBounds, adjustOnEdge, adjustOnEdge, adjustOnEdgeChildren, autosize, calculateAdjustOnEdgeLocation, calculateAndGetMinimumShrinkingDimension, calculateAndGetPreferredDimension, calculateEdge, calculateMinimumDimension, calculateOnEdgeBounds, calculatePreferredDimension, calculatePreferredDimension, canBeAutosized, canHavePaths, clearOldRect, edgeChanged, ensureDimension, ensurePreferredDimensionIfShrinkable, ensurePreferredDimensionIfShrinkable, findFreePlaceForShapeOnBorder, getBorderElementMargin, getBounds, getCenterlineableInnerParts, getDimensionForShrinking, getEdgeLine, getFixedConnectionPoints, getHeaderInsetReduce, getInsetsForOnEdgeShapes, getIntersection, getIntersection, getIntersection, getLoadedDimension, getMiddlePoint, getMiddlePoint, getMiddlePointX, getMiddlePointX, getMiddlePointY, getMiddlePointY, getMinimumDimension, getNearestEdge, getNearestEdge, getNeedAutosizeFlag, getNotCopyBounds, getOnEdge, getOnEdgeCornerDistance, getOnEdgePosition, getPreferredDimension, getReshapeMode, getSuspendShapeAutoResizeMode, hasManipulator, initialize, internalGetBoundsShape, intersects, isAutosized, isCenterlineInner, isHorizontalCenterlineProvider, isOnEdge, isShrinkable, isSnapShapesOnBorderToGrid, isSnapToGrid, isUseFixedConnectionPoints, isVerticalCenterlineProvider, layoutChildren, maximumDimension, minimumOrMinimumShrinkableDimension, moveLinksToSelf, movePathElement, movePathElements, needAdjustToMaximumDimension, prepareForShadowDrawing, providesHorizontalCenterline, providesVerticalCenterline, resetCalculatePreferredRegardingChildren, setAutosize, setBorderElementMargin, setCalculatePreferredRegardingChildren, setLoadedDimension, setMinimumDimension, setNeedAutosizeFlag, setOldRect, setOnEdge, setPreferredDimension, setSnapShapesOnBorderToGrid, setSuspendShapeAutoResizeMode, setUseFixedConnectionPoints, shouldDrawShadow, simpleSetBounds, simpleSetBounds, snapsToCenterlines, sSetBorderElementMargin, sSetBounds, sSetSuspendShapeAutoResizeMode, sSetVisibility, toString, updateLater 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
addConnectedPathElement, disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, removeConnectedPathElement, sAddConnectedPathElement, selectPathsForMoving, setParent, setVisibility, sRemoveConnectedPathElement, sSetConnectedPathElements 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
addPresentationElement, addProperty, adjustChildBounds, alwaysShowTooltip, applyProperties, askDeleteDataConfirmation, atInsertChildren, autosizeAndResizeManipulatedParent, beforeDelete, boundsChanged, boundsChanged, canAddChild, canAddInstance, canBeDisposedOnUpdate, canChangeElementParent, canChangeParent, canChangeParent, canFill, changeProperties, changeProperty, changePropertyManager, checkElementParentOnAdd, checkProxyVisibility, childrenForMoving, clearAntialiasingState, collectSubManipulatedElements, collectSubPresentationElements, collectSubPresentationElements, collectSubShowingPresentationElements, constructChangePropertyCommand, createPropertyChangeListener, createPropertyManager, disposeChildren, disposeListener, draw, drawBackground, drawSymbol, drawSymbolBackground, dynamicFillColor, dynamicLineColor, dynamicLineWidth, dynamicLineWidth, dynamicPaintShadow, dynamicStroke, dynamicStroke, dynamicStroke, dynamicStyleFillColor, dynamicStyleFillPaint, dynamicStyleLineColor, dynamicStyleTextColor, dynamicStyleTransparency, dynamicStyleTransparency, dynamicStyleValue, dynamicTextAlignment, dynamicTextColor, editName, findPresentationElement, firePropertyChange, generateID, getActualElement, getActualProperty, getAssignableModelElementsClasses, getBooleanPropertyValue, getBoundsShape, getBoundsToRepaint, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDrawComparator, getDynamicConfigurations, getDynamicStyleOwner, getElementsForLinkConnecting, getElementToConnectLink, getElementToMove, getExpectedDataParent, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getNotZoomedTolerance, getObjectParent, getParent, getParentSymbolPropertyOwner, getPreferredSize, getPresentationElementAt, getPresentationElementAt, getPresentationElementCount, getPresentationElementsAt, getPresentationElementsAt, getPresentationElementStroke, getPresentationElementStroke, getProjectImpl, getProperty, getPropertyManager, getPropertyManagerName, getRealPropertyManager, getRenderer, getSelected, getStereotypeColor, getStereotypeFont, getStringPropertyValue, getStroke, getStroke, getStroke, getStroke, getStroke, getStroke, getSymbolRenderer, getTextColor, getTolerance, getVisibility, getVisiblePresentationElements, handleModelDelete, hasDiagramSurface, hasManipulatedPresentationElements, initializeAndAutosize, internalCreatePropertyChangeListener, internalGetElementsForLinkConnecting, internalGetElementToConnectLink, internalGetPresentationElementStroke, internalSnapToGrid, internalSnapToGrid, isChildVisible, isCreateElementListener, isDetectable, isDisposed, isLayouting, isMovableByMoveManager, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, isShowElementTypeAsLabel, isSortable, isTestUpdateFlag, isTextEditable, isUseFillColor, isUseFillColorByProperty, isUseGradientForFill, isVisible, isVisibleInDiagram, isVisibleOrShrunken, movePathElementsRecursively, mustShowContextMenu, notifyCreated, notifyDiagramFrameSizeChange, notifyRepaintManager, onFind, onFind, onFontChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintSelfBackground, preDisposeOnUpdate, prepareForFillDrawing, prepareForLineDrawing, prepareForTextDrawing, recreateListeners, registerInSortManager, rememberBounds, rememberBounds, removeFromSortManager, removeItSelfOnUpdate, resizeParent, sAddPresentationElement, selectChildrenForMoving, selectObjectsForMoving, setAllSelected, setBounds, setCreateElementListener, setDiagramSurface, setElement, setFont, setFontProperty, setLayouting, setLineColor, setLineWidth, setLoadedVisibility, setLocation, setLocation, setNeedRecreateListeners, setPropertyManager, setPropertyManagerName, setSelected, setSelected, setSize, setSize, setSize, setStereotypeColor, setStereotypeFont, setStrokeIfNotTheSame, setTestUpdateFlag, setTextColor, setTextColorProperty, setUseFillColor, setVisible, silentApply, silentApply, simpleSetBounds, snapToGrid, snapToGrid, snapViewToGrid, sortObjectsByX, sortObjectsByY, sSetBounds, sSetLineWidth, sSetLocation, sSetLocation, sSetParent, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateAfterLoad, updateLabelsIgnoringSuspendableLater, updateModelByView, updateModelByViewInternal, updateViewAfterPropertyChange, useParentProperties 
- 
Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, canDeleteChild, compareTo, createSortKeys, getClassType, getCommandForAppending, getID, getProject, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, sGetID 
 - 
 
 - 
 
- 
- 
Field Detail
- 
ARC_WIDTH
public static final int ARC_WIDTH
- See Also:
 - Constant Field Values
 
 
- 
ARC_HEIGHT
public static final int ARC_HEIGHT
- See Also:
 - Constant Field Values
 
 
- 
DEFAULT_SIZE
private static final UnmodifiableDimension DEFAULT_SIZE
 
- 
REGIONS_INSETS
private static final com.nomagic.ui.UnmodifiableInsets REGIONS_INSETS
 
 - 
 
- 
Constructor Detail
- 
StateView
public StateView()
 
- 
StateView
public StateView(@CheckForNull PresentationElement parent) 
 - 
 
- 
Method Detail
- 
getRegionsCompartmentView
public com.nomagic.magicdraw.uml.symbols.shapes.RegionsCompartmentView getRegionsCompartmentView()
 
- 
selfSpecificHeaderShapeDraw
protected void selfSpecificHeaderShapeDraw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
- Overrides:
 selfSpecificHeaderShapeDrawin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
createBoundsShape
public ContainerShape createBoundsShape(PathElement path, BoundsTransformation transformation)
Description copied from class:ShapeElementCreates bounding shape for intersection calculation.- Overrides:
 createBoundsShapein classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView- Parameters:
 path- pathtransformation- transformation- Returns:
 - shape
 
 
- 
isSubmachine
public boolean isSubmachine()
 
- 
isCompositeState
public boolean isCompositeState()
 
- 
isSimpleState
public boolean isSimpleState()
 
- 
canAddInstance
public boolean canAddInstance(PresentationElement obj)
Description copied from class:PresentationElementObject view has no children.- Overrides:
 canAddInstancein classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
 
- 
canAddChild
public boolean canAddChild(PresentationElement obj)
Description copied from class:PresentationElementCheck of given symbol can be added as child into this symbol.- Overrides:
 canAddChildin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView- Parameters:
 obj- symbol- Returns:
 - true if symbol can be added
 
 
- 
accept
public void accept(Visitor visitor) throws java.lang.Exception
Description copied from interface:MDElementMethod accepts visitor, and calls method visit<class name>(this) of visitor . See Visitor pattern for more details. 
- 
internalSpecificUpdate
public void internalSpecificUpdate()
- Overrides:
 internalSpecificUpdatein classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
createSmartListenerConfig
protected void createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
- Overrides:
 createSmartListenerConfigin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
checkShowsProxy
protected boolean checkShowsProxy()
- Overrides:
 checkShowsProxyin classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
 
- 
getDefaultDimension
protected UnmodifiableDimension getDefaultDimension()
 
- 
setSuppressActionsCompartment
public void setSuppressActionsCompartment(boolean b)
Suppress actions compartment- Parameters:
 b- new value
 
- 
sSetSuppressActionsCompartment
public void sSetSuppressActionsCompartment(boolean b)
Suppress compartment- Parameters:
 b- new value
 
- 
isSuppressActionsCompartment
public boolean isSuppressActionsCompartment()
- Returns:
 - true if suppress compartment
 
 
- 
internalApplyProperties
public void internalApplyProperties(PropertyManager man)
Description copied from class:PresentationElementApplies properties from given property manager- Overrides:
 internalApplyPropertiesin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView- Parameters:
 man- new properties
 
- 
internalSilentApply
public void internalSilentApply()
Description copied from class:PresentationElementSilently applies all properties after initialization- Overrides:
 internalSilentApplyin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
findParentForData
public Element findParentForData(PresentationElement parent, com.nomagic.uml2.ElementAddContext addContext)
 
- 
findParentForData
@CheckForNull public static Element findParentForData(PresentationElement parent, PresentationElement child)
 
- 
getActionsCompartment
public com.nomagic.magicdraw.uml.symbols.shapes.InternalStateCompartmentView getActionsCompartment()
 
- 
getRegions
public java.util.List<com.nomagic.magicdraw.uml.symbols.shapes.RegionView> getRegions()
 
- 
isShowRegionName
public boolean isShowRegionName()
- Returns:
 - shown name option of this region
 
 
- 
sSetShowRegionName
public void sSetShowRegionName(boolean showName)
Set a new show name option for region(s).- Parameters:
 showName- new value
 
- 
setShowRegionName
public void setShowRegionName(boolean showName)
Set a new show name option for region(s). Updates shape- Parameters:
 showName- new value
 
- 
getOpaqueBehaviorDisplayMode
public java.lang.String getOpaqueBehaviorDisplayMode()
 
- 
sSetOpaqueBehaviorDisplayMode
public void sSetOpaqueBehaviorDisplayMode(java.lang.String mode)
 
- 
setOpaqueBehaviorDisplayMode
public void setOpaqueBehaviorDisplayMode(java.lang.String mode)
 
- 
isShowPort
public boolean isShowPort()
Returns value of the "Show Port" symbol property.- Returns:
 - value of the "Show Port" property.
 
 
- 
setShowPort
public void setShowPort(boolean showPort)
Sets value of the "Show Port" symbol property.- Parameters:
 showPort- value of the "Show Port" property.
 
- 
sSetShowPort
public void sSetShowPort(boolean showPort)
Sets value of the "Show Port" symbol property.- Parameters:
 showPort- value of the "Show Port" property.
 
- 
addPresentationElement
public void addPresentationElement(PresentationElement element, int index, boolean resize)
- Overrides:
 addPresentationElementin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
sAddPresentationElement
public void sAddPresentationElement(PresentationElement element, int index)
Description copied from class:PresentationElementAdd given child to this symbol at given index- Overrides:
 sAddPresentationElementin classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView- Parameters:
 element- child to addindex- index to add at. Can be -1
 
- 
removePresentationElement
public void removePresentationElement(PresentationElement element, boolean resizeParent)
- Overrides:
 removePresentationElementin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
sRemovePresentationElement
public void sRemovePresentationElement(PresentationElement element)
Description copied from class:PresentationElementRemoves given child- Overrides:
 sRemovePresentationElementin classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView- Parameters:
 element- child
 
- 
addToRegion
@CheckForNull private com.nomagic.magicdraw.uml.symbols.shapes.RegionView addToRegion(PresentationElement child)
 
- 
shouldAddToRegion
private static boolean shouldAddToRegion(@CheckForNull Element element) 
- 
isShowOperationsSignature
public boolean isShowOperationsSignature()
- Returns:
 - is trigger event operation signature shown
 
 
- 
sSetShowOperationsSignature
public void sSetShowOperationsSignature(boolean showSignature)
Sets if trigger event operation signature should be shown- Parameters:
 showSignature- new value
 
- 
setShowOperationsSignature
public void setShowOperationsSignature(boolean showSignature)
Sets if trigger event operation signature should be shown- Parameters:
 showSignature- new value
 
- 
isUseAdvancedColoring
public boolean isUseAdvancedColoring()
- Returns:
 - true if advanced coloring should be used
 
 
- 
sSetUseAdvancedColoring
public void sSetUseAdvancedColoring(boolean use)
Sets if operation should be colored using advanced coloring- Parameters:
 use- new value
 
- 
setUseAdvancedColoring
public void setUseAdvancedColoring(boolean use)
Sets if operation should be colored using advanced coloring- Parameters:
 use- new value
 
- 
getElement
public State getElement()
Description copied from class:PresentationElementReturns model element of this presentation element. Some presentation elements (for example TextBoxes) do not have model elements.- Specified by:
 getElementin interfaceModelElementProvider- Overrides:
 getElementin classPresentationElement- Returns:
 - model element of this presentation element.
 
 
- 
getHeaderView
public com.nomagic.magicdraw.uml.symbols.shapes.StateHeaderView getHeaderView()
- Overrides:
 getHeaderViewin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
getAdditionalCompartmentInsets
protected com.nomagic.ui.UnmodifiableInsets getAdditionalCompartmentInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level)
- Overrides:
 getAdditionalCompartmentInsetsin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
 
- 
hasSharedData
public boolean hasSharedData()
Description copied from class:PresentationElementReturns true if data of this object can be shared. If data is not shared data can be deleted with del key. Or it must be deleted with CRL+D- Returns:
 - true if data of this object can be shared.
 
 
 - 
 
 -