Class SwimlaneCellView
- 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.SwimlaneCellView
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 BaseElement,MDElement,ModelElementProvider,com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape,com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider,NameOwner,java.beans.PropertyChangeListener,java.lang.Cloneable,java.lang.Comparable,java.util.EventListener
@OpenApi public class SwimlaneCellView extends com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView 
- 
- 
Nested Class Summary
- 
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 UnmodifiableDimensionDEFAULT_SIZEprivate com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderViewmHorizontalHeaderprivate booleanmIgnoreAdjustChildBoundsprivate java.util.Set<ActivityPartition>mPartitionsprivate com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderViewmVerticalHeader- 
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 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SwimlaneCellView()SwimlaneCellView(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 .voidaddPartition(ActivityPartition partition)voidaddPresentationElement(PresentationElement element, int index, boolean resize)voidaddToPartition(ActivityPartition partition, PresentationElement view)voidaddToPartitions(PresentationElement element)voidadjustChildBounds(java.awt.Rectangle bounds, PresentationElement element)For adjusting child bounds when child type is not known but bounds should be corrected.booleancanAddChild()Checks if new elements can be added to this elementbooleancanAddInstance(PresentationElement obj)Object view has no children.booleancanBeDeleted()Checks if element can be deleted from project.SwimlaneCellViewclone()Clones this object.private static java.util.Collection<Element>getActivityPartitionContainer(Element element, ActivityPartition partition)protected UnmodifiableDimensiongetDefaultDimension()PresentationElementgetDynamicStyleOwner()ElementgetElement()Returns model element of this presentation element.com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderViewgetHeader(boolean vertical)com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderViewgetHorizontalHeader()SwimlaneViewgetMultiSwimlane()java.util.Set<ActivityPartition>getPartitions()java.util.Set<ActivityPartition>getPartitionsRecursively()protected java.util.stream.Stream<PresentationElement>getProxyPresentationElementsStream()com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderViewgetVerticalHeader()booleanhasManipulator()Returns true, if view has manipulator (is selectable)private static voidinit(SwimlaneCellView swimlaneCellView)ElementinternalGetElementToConnectLink(Element path, boolean asClient)Returns element that should be used for given link connecting.java.awt.BasicStrokeinternalGetPresentationElementStroke(int width)Return a stroke used to paint symbol's main partprotected voidinternalUpdatePresentationElement()Internal symbol update method for subclassing.booleanisHeaderInner()booleanisHorizontalCenterlineProvider()Indicates whether this shape provides horizontal centerlines to other shapes.booleanisMovableByMoveManager()Method indicates if object of this instance must be registered in move manager.booleanisSortable()If OV is sortable (must be added to sort manager for sorting) method must return true;booleanisVerticalCenterlineProvider()Indicates whether this shape provides vertical centerlines to other shapes.protected voidmoveChildren(int dx, int dy, java.util.function.Predicate<PresentationElement> filter)booleanmustShowContextMenu()voidpaintSelf(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)static voidremoveFromPartition(PresentationElement parent, PresentationElement toRemove)If given parent is ActivityPartition (SwimlaneCellView), the information about inPartition is removed from Element of given toRemove symbol.voidremoveFromPartitions(PresentationElement element)voidremoveHeader(boolean vertical)voidremoveHeaderFromCell(com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView header)Removes header from cell data structures.voidremovePartition(ActivityPartition partition)voidsAddPresentationElement(PresentationElement element, int index)Add given child to this symbol at given indexvoidsetHeader(com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView header)booleansnapsToCenterlines()voidsRemovePresentationElement(PresentationElement element)Removes given childvoidsSetElement(Element element)booleanuseParentProperties()Does this element uses parent properties or has it own?- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
addPresentationElement, addPresentationElementWithoutResize, adjustBoundsForMoving, adjustChildBoundsForMoving, autosize, autosizeByChildren, calculateAutosizeDimension, calculateAutosizeDimension, canAddChild, canMoveChildOutside, checkShowsProxy, childrenBoundsForReshape, clearShowsProxy, constructLayoutHelper, correctChildrenVector, getChildrenBounds, getChildrenInsets, getChildrenOnBorderBounds, getContainerBounds, getLayoutHelper, getLayoutHelperClone, getManipulatedElementAt, getManipulationPreferredDimension, getPresentationElementAt, getPresentationElementIndex, getPresentationElements, getRemovableChildren, hasManipulatedChildrenIncludingIndirect, hasManipulatedShapesNotOnEdge, hasManipulatedShapesOnEdge, hasManipulatedShapesOnEdge, internalAddIndirectManipulatedChildrenRect, internalAppendChildRect, internalGetChildAt, internalGetIndirectManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalGetSelfManipulationPreferredSize, internalLayoutChildren, internalRecursiveAutosizeForChildren, internalSetChildren, isCanChildrenChangeEdge, isCanMoveChildren, isChildMovable, layoutChildren, moveChild, needAdjustToPreferred, paintChildren, paintChildrenBackground, prefDimensionByManipulatedChildren, preferredDimension, recursiveAutosize, removePresentationElement, removePresentationElement, setBounds, setBounds, setCanMoveChildren, setDummyResizeMode, setFillColor, setLayoutHelper, setPresentationElements, showLinks, simpleSetBounds, simpleSetBounds, sSetPresentationElements 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
addBreakPoints, adjustBounds, adjustOnEdge, adjustOnEdge, adjustOnEdgeChildren, autosize, autosizeAndResizeParent, calculateAdjustOnEdgeLocation, calculateAndGetMinimumShrinkingDimension, calculateAndGetPreferredDimension, calculateEdge, calculateMinimumDimension, calculateOnEdgeBounds, calculatePreferredDimension, calculatePreferredDimension, canBeAutosized, canHavePaths, clearOldRect, coversPoint, createBoundsShape, 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, getPreferredDimensionForAutosize, getReshapeMode, getSuspendShapeAutoResizeMode, initialize, internalApplyProperties, internalGetBoundsShape, internalSilentApply, intersects, isAutosized, isCenterlineInner, isChildLayoutable, isOnEdge, isShrinkable, isSnapShapesOnBorderToGrid, isSnapToGrid, isUseFixedConnectionPoints, layoutChildren, maximumDimension, minimumDimension, minimumDimensionForShrinking, minimumOrMinimumShrinkableDimension, moveLinksToSelf, movePathElement, movePathElements, needAdjustToMaximumDimension, onChildEdgeChange, prepareForShadowDrawing, providesHorizontalCenterline, providesVerticalCenterline, resetCalculatePreferredRegardingChildren, setAutosize, setBorderElementMargin, setCalculatePreferredRegardingChildren, setLoadedDimension, setMinimumDimension, setNeedAutosizeFlag, setOldRect, setOnEdge, setPreferredDimension, setReshapeMode, setSnapShapesOnBorderToGrid, setSuspendShapeAutoResizeMode, setUseFixedConnectionPoints, shouldDrawShadow, simpleSetBounds, simpleSetBounds, sSetAutosize, sSetBorderElementMargin, sSetBounds, sSetSuspendShapeAutoResizeMode, sSetVisibility, toString, updateLater 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
addConnectedPathElement, createSmartListenerConfig, dispose, 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, alwaysShowTooltip, applyProperties, askDeleteDataConfirmation, atInsert, 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, editName, findParentForData, findPresentationElement, firePropertyChange, getActualElement, getActualProperty, getAdditionalRenderersToNotify, getAssignableModelElementsClasses, getBooleanPropertyValue, getBoundsShape, getBoundsToRepaint, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDrawComparator, getDynamicConfigurations, getElementNumberDisplayMode, getElementsForLinkConnecting, getElementToConnectLink, getElementToMove, getExpectedDataParent, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getNotZoomedTolerance, getObjectParent, getParent, getParentSymbolPropertyOwner, getPreferredBounds, 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, hasSharedData, initializeAndAutosize, internalCreatePropertyChangeListener, internalGetElementsForLinkConnecting, internalSnapToGrid, internalSnapToGrid, invalidate, isChildVisible, isContentHidden, isCreateElementListener, isDetectable, isDisposed, isLayouting, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, isShowElementTypeAsLabel, isTestUpdateFlag, isTextEditable, isUseFillColor, isUseFillColorByProperty, isUseGradientForFill, isVisible, isVisibleInDiagram, isVisibleOrShrunken, movePathElementsRecursively, notifyCreated, notifyDiagramFrameSizeChange, notifyRepaintManager, onFind, onFind, onFontChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintSelfBackground, preDisposeOnUpdate, prepareForFillDrawing, prepareForLineDrawing, prepareForTextDrawing, propertyChange, 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, setTextEditable, setUseFillColor, setVisible, silentApply, silentApply, simpleSetBounds, snapToGrid, snapToGrid, snapViewToGrid, sortObjectsByX, sortObjectsByY, sSetBounds, sSetLineWidth, sSetLocation, sSetLocation, sSetParent, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateLabelsIgnoringSuspendableLater, updateModelByView, updateModelByViewInternal, updateViewAfterPropertyChange 
- 
Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl
accept, addPropertyChangeListener, canAdd, canAdd, canDeleteChild, compareTo, createSortKeys, generateID, getClassType, getCommandForAppending, getID, getName, getProject, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, sGetID 
- 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
 - 
 
 - 
 
- 
- 
Field Detail
- 
mIgnoreAdjustChildBounds
private boolean mIgnoreAdjustChildBounds
 
- 
DEFAULT_SIZE
public static final UnmodifiableDimension DEFAULT_SIZE
 
- 
mPartitions
private java.util.Set<ActivityPartition> mPartitions
 
- 
mVerticalHeader
private com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView mVerticalHeader
 
- 
mHorizontalHeader
private com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView mHorizontalHeader
 
 - 
 
- 
Constructor Detail
- 
SwimlaneCellView
public SwimlaneCellView()
 
- 
SwimlaneCellView
public SwimlaneCellView(@CheckForNull PresentationElement parent) 
 - 
 
- 
Method Detail
- 
init
private static void init(SwimlaneCellView swimlaneCellView)
 
- 
getPartitions
public java.util.Set<ActivityPartition> getPartitions()
 
- 
getPartitionsRecursively
public java.util.Set<ActivityPartition> getPartitionsRecursively()
 
- 
getDefaultDimension
protected UnmodifiableDimension getDefaultDimension()
 
- 
getHorizontalHeader
public com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView getHorizontalHeader()
 
- 
getVerticalHeader
public com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView getVerticalHeader()
 
- 
getHeader
public com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView getHeader(boolean vertical)
 
- 
setHeader
public void setHeader(com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView header)
 
- 
paintSelf
public void paintSelf(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
 
- 
internalGetPresentationElementStroke
public java.awt.BasicStroke internalGetPresentationElementStroke(int width)
Description copied from class:PresentationElementReturn 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
 
 
- 
isHeaderInner
public boolean isHeaderInner()
 
- 
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. 
- 
getElement
public Element 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.
 
 
- 
internalGetElementToConnectLink
public Element internalGetElementToConnectLink(@CheckForNull Element path, boolean asClient)
Description copied from class:PresentationElementReturns 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()
 
- 
canAddInstance
public boolean canAddInstance(PresentationElement obj)
Description copied from class:PresentationElementObject view has no children.- Overrides:
 canAddInstancein classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
 
- 
canAddChild
public boolean canAddChild()
Description copied from interface:BaseElementChecks if new elements can be added to this element- Specified by:
 canAddChildin interfaceBaseElement- Overrides:
 canAddChildin classcom.nomagic.magicdraw.uml.MDElementImpl- Returns:
 - true, if new sub elements can be added.
 
 
- 
canBeDeleted
public boolean canBeDeleted()
Description copied from interface:BaseElementChecks if element can be deleted from project. Element cannot be deleted if it is not isEditable(), parent is not set or parent does not allow to remove this element.- Specified by:
 canBeDeletedin interfaceBaseElement- Overrides:
 canBeDeletedin classcom.nomagic.magicdraw.uml.MDElementImpl- Returns:
 - true, if element can be deleted from project.
 - See Also:
 BaseElement.isEditable()
 
- 
isSortable
public boolean isSortable()
Description copied from class:PresentationElementIf OV is sortable (must be added to sort manager for sorting) method must return true; 
- 
addToPartitions
public void addToPartitions(PresentationElement element)
 
- 
addToPartition
public void addToPartition(ActivityPartition partition, PresentationElement view)
 
- 
getActivityPartitionContainer
@CheckForNull private static java.util.Collection<Element> getActivityPartitionContainer(@CheckForNull Element element, ActivityPartition partition)
 
- 
addPartition
public void addPartition(ActivityPartition partition)
 
- 
removePartition
public void removePartition(ActivityPartition partition)
 
- 
removeHeader
public void removeHeader(boolean vertical)
 
- 
removeFromPartitions
public void removeFromPartitions(PresentationElement element)
 
- 
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
 
- 
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
 
- 
addPresentationElement
public void addPresentationElement(PresentationElement element, int index, boolean resize)
- Overrides:
 addPresentationElementin classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
 
- 
mustShowContextMenu
public boolean mustShowContextMenu()
 
- 
getMultiSwimlane
public SwimlaneView getMultiSwimlane()
 
- 
sSetElement
public void sSetElement(Element element)
 
- 
moveChildren
protected void moveChildren(int dx, int dy, java.util.function.Predicate<PresentationElement> filter)- Overrides:
 moveChildrenin classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
 
- 
adjustChildBounds
public void adjustChildBounds(java.awt.Rectangle bounds, PresentationElement element)Description copied from class:PresentationElementFor adjusting child bounds when child type is not known but bounds should be corrected. 
- 
useParentProperties
public boolean useParentProperties()
Description copied from class:PresentationElementDoes this element uses parent properties or has it own?- Overrides:
 useParentPropertiesin classPresentationElement- Returns:
 - true, if element does not have properties and uses parent's.
 
 
- 
isMovableByMoveManager
public boolean isMovableByMoveManager()
Description copied from class:PresentationElementMethod indicates if object of this instance must be registered in move manager. 
- 
clone
public SwimlaneCellView clone()
Clones this object.- Specified by:
 clonein interfaceBaseElement- Overrides:
 clonein classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView- Returns:
 - the cloned object
 
 
- 
getProxyPresentationElementsStream
protected java.util.stream.Stream<PresentationElement> getProxyPresentationElementsStream()
- Overrides:
 getProxyPresentationElementsStreamin classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
 
- 
isVerticalCenterlineProvider
public boolean isVerticalCenterlineProvider()
Description copied from class:ShapeElementIndicates whether this shape provides vertical centerlines to other shapes.- Returns:
 - true if this shape provides vertical centerlines, false otherwise.
 
 
- 
isHorizontalCenterlineProvider
public boolean isHorizontalCenterlineProvider()
Description copied from class:ShapeElementIndicates whether this shape provides horizontal centerlines to other shapes.- Returns:
 - true if this shape provides horizontal centerlines, false otherwise.
 
 
- 
removeHeaderFromCell
public void removeHeaderFromCell(com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView header)
Removes header from cell data structures.- Parameters:
 header- which has to be removed.
 
- 
internalUpdatePresentationElement
protected void internalUpdatePresentationElement()
Description copied from class:PresentationElementInternal symbol update method for subclassing. It is called from update as part of full update action.- Overrides:
 internalUpdatePresentationElementin classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView- See Also:
 PresentationElement.update()
 
- 
snapsToCenterlines
public boolean snapsToCenterlines()
- Specified by:
 snapsToCenterlinesin interfacecom.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape
 
- 
removeFromPartition
public static void removeFromPartition(PresentationElement parent, PresentationElement toRemove)
If given parent is ActivityPartition (SwimlaneCellView), the information about inPartition is removed from Element of given toRemove symbol. If not, does nothing.- Parameters:
 parent- possible ActivityPartition symboltoRemove- element to remove from partition
 
- 
hasManipulator
public boolean hasManipulator()
Description copied from class:PresentationElementReturns true, if view has manipulator (is selectable) 
- 
getDynamicStyleOwner
@CheckForNull public PresentationElement getDynamicStyleOwner()
 
 - 
 
 -