Class SeqSelfMessageView
- 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.paths.PathElement
-
- com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
-
- com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
-
- com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
-
- com.nomagic.magicdraw.uml.symbols.paths.SeqSelfMessageView
-
- All Implemented Interfaces:
BaseElement,com.nomagic.magicdraw.uml.CompartmentSupport,MDElement,ModelElementProvider,com.nomagic.magicdraw.uml.symbols.LabelOwner,com.nomagic.magicdraw.uml.symbols.LineJumpDrawer,NumberedMessageView,StereotypesDisplayModeOwner,com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider,NameOwner,java.beans.PropertyChangeListener,java.lang.Cloneable,java.lang.Comparable,java.util.EventListener
@OpenApi public class SeqSelfMessageView extends com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype.AbstractConveyedInformationLabelWrapper, com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype.ConveyedInformationSourceToTargetLabelWrapper, com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype.ConveyedInformationTargetToSourceLabelWrapper
-
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 private UnmodifiableDimensiondefaultSize-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
DISTANCE_FROM_NESTED, MINIMAL_DISTANCE_FROM_SHAPE_EDGE, RECURSIVE_HEIGHT, RECURSIVE_WIDTH, SELF_MESSAGE_SIZE_X, SELF_MESSAGE_SIZE_Y
-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
ARROW_ADORNMENT_SIZE, CONVEYED_BOX_A_DISTANCE, CONVEYED_BOX_B_DISTANCE
-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathElement
BEZIER, LINE_STYLE, OBLIQUE, RECTILINEAR
-
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.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 SeqSelfMessageView()SeqSelfMessageView(PresentationElement parent)
-
Method Summary
All 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 .booleancoversPoint(int x, int y)checks if object covers provided pointjava.awt.PointgetMiddlePoint()Calculates and returns middle point of link.booleanintersectsInternal(int x, int y, int width, int height)checks whether object intersects with given rectanglebooleanisMessageOrientedToSelf()voidsetBounds(java.awt.Rectangle rct)Sets new bounds for this message.voidsetClientPoint(java.awt.Point p)Sets client point.voidsetSupplierPoint(java.awt.Point p)Sets 1st point.voidsimpleSetBounds(java.awt.Rectangle r)calls break point vector changed method.voidsSetBounds(java.awt.Rectangle rct)Sets new bounds for this message.-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
adjustBoundsForMoving, askDeleteDataConfirmation, calculateBranchingPoint, canAddInstance, canChangeLineStyle, canChangeParent, canClearBreakPoints, checkShowsProxy, connect, createLabels, createNameLabelWrapper, createSmartListenerConfig, dispose, getClientActivation, getClientLifeLine, getClientSequenceLifelineView, getElement, getMaximalDistanceFromTop, getMaxY, getMessage, getMinimalPossibleDistanceForMoving, getMinY, getNameLabelBox, getNameLabelWrapper, getNearestNestedMessage, getNearestTopMessageFromParentNestingLevel, getNewPointByTheLink, getNumber, getProxyPresentationElementsStream, getSeqContainer, getSpecificTailSize, getSupplierActivation, getSupplierLifeLine, getSupplierSequenceLifelineView, getTopMessage, hasSharedData, internalGetLogicalClientElementForConveyedInformation, internalGetPresentationElementStroke, internalUpdatePresentationElement, isAlwaysToSelf, isAsynchronous, isAsynchronousMessage, isBranchy, isConnectedToEntireActivation, isCreateMessage, isDestroyMessage, isDiagonal, isRectilinear, isRecursive, isReplyMessage, isToLeft, isToLeft, isTopMessage, isToRight, isToRight, movePathElement, rememberBounds, rememberBounds, setAsynchronous, setBranchy, setClientLifeline, setDiagonal, setNewClient, setNewSupplier, setNumber, setNumberInt, setRectilinear, setRecursive, setSupplierLifeline, setTopMessage, sSetNumber, sSetParent
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
canDisplayConveyedInformation, createCompartmentElements, createInformationFlowSmartListenerConfig, createStereotypeLabelWrapper, drawConveyedInformation, getCollections, getConstraintLabelBox, getConstraintLabelWrapper, getConstraintTextMode, getConveyedInformationSourceToTargetLabelWrapper, getConveyedInformationTargetToSourceLabelWrapper, getConveyedSourceToTargetLabelBox, getConveyedTargetToSourceLabelBox, getDSLStereotypesDisplayMode, getElementLabel, getElementPropertiesLabelBox, getElementPropertiesLabelWrapper, getPathAdornmentSize, getStereotypeLabelBox, getStereotypeLabelWrapper, getStereotypesDisplayMode, getTaggedValueLabelBox, getTaggedValueLabelWrapper, internalApplyProperties, isShowConstraints, isShowConveyedSourceToTarget, isShowConveyedTargetToSource, isShowElementLabel, paintChildren, setCollections, setConstraintTextMode, setDSLStereotypesDisplayMode, setShowConstraints, setShowConveyedSourceToTarget, setShowConveyedTargetToSource, setStereotypesDisplayMode, setVisibleElements, sSetConstraintTextMode, sSetDSLStereotypesDisplayMode, sSetShowConstraints, sSetShowConveyedSourceToTarget, sSetShowConveyedTargetToSource, sSetShowTaggedValues, sSetStereotypesDisplayMode
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
addLabel, addPresentationElement, canAddChild, clearShowsProxy, clone, editName, getLabelHandler, getManipulatedElementAt, getName, getPresentationElementAt, getPresentationElementIndex, getPresentationElements, getSupplierConnectionType, internalSilentApply, isChildVisible, isLabelWrapText, isNameWrapped, isShowNameBox, layoutLabelOnNotifyBreakPointsChanged, notifyBreakPointsChanged, notifyBreakPointsChangedForElement, recursiveAutosize, removeLabel, removePresentationElement, sAddPresentationElement, setLocationForChild, setName, setNameResizeLabel, setNameWrapped, setPresentationElements, setShowNameBox, setSuspendLabelAutoDisplayMode, setSuspendShapeAutoResizeMode, setTextEditable, sRemovePresentationElement, sSetElement, sSetNameWrapped, sSetPresentationElements, sSetShowNameBox, sSetSuspendLabelAutoDisplayMode, updateChildren, updateNameBox
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathElement
addConnectedPathElement, addLineJumps, applyStrokeForLineDrawing, atInsert, breakPointsChanged, cacheActualDrawPoints, cacheValues, calculatePathBounds, canChangeClient, canChangeSupplier, clearClientTranslation, clearRegisteredLineJumpInfos, clearSupplierTranslation, draw, draw, dynamicPathIcon, dynamicPathIcon, findOtherExistingElement, getActualClientDrawPoint, getActualSupplierDrawPoint, getAllBreakPoints, getBezierPath, getBezierPath, getBounds, getBoundsToRepaint, getBreakPoint, getBreakPointCount, getBreakPoints, getCachedActualClientDrawPoint, getCachedActualSupplierDrawPoint, getClient, getClientConnectionType, getClientDrawPoint, getClientPoint, getCustomClientPoint, getCustomStereotypeIcon, getCustomSupplierPoint, getDefaultParentForData, getIndexOfCoveredPath, getIndexOfCoveredPathInternal, getIntersection, getLineJumpStartAngle, getLinkLineStyle, getNearestLinkPart, getNearestPoint, getNewBreakPointIndex, getNextEnd, getNextPoint, getNotCopyBounds, getPathIcon, getPathPainter, getPaths, getPointOnPath, getPreviousPoint, getSupplier, getSupplierDrawPoint, getSupplierPoint, getSuspendShapeAutoResizeMode, handleRemoveBreaksAction, hasClientPoint, hasManipulator, hasSupplierPoint, internalGetBoundsShape, internalGetPresentationElementStroke, internalGetPresentationElementStroke, internalMovedAsToSelf, internalSnapToGrid, intersects, isBezier, isBezierIntersects, isBreakable, isConnectable, isConnectable, isDrawLineJumps, isFixed, isOblique, isRounded, isSmartLayoutNeeded, isSnapToGrid, isToSelf, isUseFlowLayoutLogic, isVertical, makeRectilinear, makeRectilinear, moveLinkToClientParent, needsToMoveOtherEnd, nextStyle, notifyRepaintManager, notifyRepaintManager, optimizeLoops, paintSelf, preDisposeOnUpdate, prepareForFillDrawing, prepareForLineDrawing, registerLineJumpInfos, registerLineJumpStartAngle, removeBreakPoints, removeBreaks, removeRedundantBreakPoints, removeUnnecessaryBreakPoints, resetCache, resizeParent, sAddBreakPoint, sClearBreakPoints, setBreakable, setBreakPoints, setCachedPathBounds, setClient, setCustomClientPoint, setCustomSupplierPoint, setLineJumpPlace, setLinkLineStyle, setPathPainter, setRounded, setSmartLayoutNeeded, setSupplier, sSetBreakable, sSetBreakPoint, sSetBreakPoints, sSetClient, sSetClientPoint, sSetLinkLineStyle, sSetRounded, sSetSupplier, sSetSupplierPoint, sSetSuspendShapeAutoResizeMode, swapEnds, translateClientPoint, translateSupplierPoint
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, movePathElements, removeConnectedPathElement, sAddConnectedPathElement, selectPathsForMoving, setParent, setVisibility, sRemoveConnectedPathElement, sSetConnectedPathElements, sSetVisibility
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
addPresentationElement, addPresentationElementWithoutResize, addProperty, adjustChildBounds, adjustChildBoundsForMoving, alwaysShowTooltip, applyProperties, atInsertChildren, autosizeAndResizeManipulatedParent, autosizeAndResizeParent, beforeDelete, boundsChanged, boundsChanged, canAddChild, canAddInstance, canBeDisposedOnUpdate, canChangeElementParent, canChangeParent, canFill, canHavePaths, changeProperties, changeProperty, changePropertyManager, checkElementParentOnAdd, checkProxyVisibility, childrenForMoving, clearAntialiasingState, collectSubManipulatedElements, collectSubPresentationElements, collectSubPresentationElements, collectSubShowingPresentationElements, constructChangePropertyCommand, createPropertyChangeListener, createPropertyManager, disposeChildren, disposeListener, drawBackground, drawSymbol, drawSymbolBackground, dynamicFillColor, dynamicLineColor, dynamicLineWidth, dynamicLineWidth, dynamicPaintShadow, dynamicStroke, dynamicStroke, dynamicStroke, dynamicStyleFillColor, dynamicStyleFillPaint, dynamicStyleLineColor, dynamicStyleTextColor, dynamicStyleTransparency, dynamicStyleTransparency, dynamicStyleValue, dynamicTextAlignment, dynamicTextColor, editName, findParentForData, findPresentationElement, firePropertyChange, generateID, getActualElement, getActualProperty, getAdditionalRenderersToNotify, getAssignableModelElementsClasses, getBooleanPropertyValue, getBoundsShape, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDrawComparator, getDynamicConfigurations, getDynamicStyleOwner, getElementNumberDisplayMode, getElementsForLinkConnecting, getElementToConnectLink, getElementToMove, getExpectedDataParent, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getManipulationPreferredDimension, getMiddlePoint, getMiddlePointX, getMiddlePointX, getMiddlePointY, getMiddlePointY, getMinimumDimension, getNotZoomedTolerance, getObjectParent, getParent, getParentSymbolPropertyOwner, getPreferredBounds, getPreferredDimension, getPreferredDimensionForAutosize, 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, initialize, initializeAndAutosize, internalBeforeUpdate, internalCreatePropertyChangeListener, internalGetElementsForLinkConnecting, internalGetElementToConnectLink, internalSnapToGrid, invalidate, isCanChildrenChangeEdge, isContentHidden, isCreateElementListener, isDetectable, isDisposed, isLayouting, isMovableByMoveManager, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, isShowElementTypeAsLabel, isSortable, isTestUpdateFlag, isTextEditable, isUseFillColor, isUseFillColorByProperty, isUseGradientForFill, isVisible, isVisibleInDiagram, isVisibleOrShrunken, movePathElementsRecursively, mustShowContextMenu, notifyCreated, notifyDiagramFrameSizeChange, onFind, onFind, onFontChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintChildrenBackground, paintSelfBackground, prepareForLineDrawing, prepareForShadowDrawing, prepareForTextDrawing, propertyChange, recreateListeners, registerInSortManager, removeFromSortManager, removeItSelfOnUpdate, sAddPresentationElement, selectChildrenForMoving, selectObjectsForMoving, setAllSelected, setBounds, setCreateElementListener, setDiagramSurface, setDummyResizeMode, setElement, setFillColor, 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, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateAfterLoad, updateLabelsIgnoringSuspendableLater, updateLater, 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, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
defaultSize
private final UnmodifiableDimension defaultSize
-
-
Constructor Detail
-
SeqSelfMessageView
public SeqSelfMessageView()
-
SeqSelfMessageView
public SeqSelfMessageView(@CheckForNull PresentationElement parent)
-
-
Method Detail
-
getMiddlePoint
public java.awt.Point getMiddlePoint()
Description copied from class:PathElementCalculates and returns middle point of link. For this link it is average between supplier's and client's points.- Returns:
- middle point.
-
intersectsInternal
public boolean intersectsInternal(int x, int y, int width, int height)checks whether object intersects with given rectangle- Parameters:
x- top left x point.y- top left y point.width- width of rectangle.height- height of rectangle.- Returns:
- true if object and rectangle intersects
-
coversPoint
public boolean coversPoint(int x, int y)checks if object covers provided point- Overrides:
coversPointin classcom.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView- Returns:
- true if object covers this point
-
setSupplierPoint
public void setSupplierPoint(java.awt.Point p)
Description copied from class:PathElementSets 1st point. Sets new location for text boxes ( if point is changed, text boxes must be moved too ).- Parameters:
p- new 1st point.
-
setClientPoint
public void setClientPoint(java.awt.Point p)
Description copied from class:PathElementSets client point.- Overrides:
setClientPointin classcom.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView- Parameters:
p- new client point.
-
sSetBounds
public void sSetBounds(java.awt.Rectangle rct)
Sets new bounds for this message.- Parameters:
rct- new bounds
-
setBounds
public void setBounds(java.awt.Rectangle rct)
Sets new bounds for this message.- Parameters:
rct- new bounds
-
simpleSetBounds
public void simpleSetBounds(java.awt.Rectangle r)
Description copied from class:PathElementcalls break point vector changed method.- Overrides:
simpleSetBoundsin classcom.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView- Parameters:
r- new bounding rectangle.
-
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.
-
isMessageOrientedToSelf
public boolean isMessageOrientedToSelf()
- Specified by:
isMessageOrientedToSelfin classcom.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
-
-