Class PackageShape
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.BaseHeaderShapeView
com.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>,com.dassault_systemes.modeler.kerml.model.kerml.Package,com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElementImpl<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>,com.dassault_systemes.modeler.kerml.model.kerml.Package>,com.dassault_systemes.modeler.kerml.diagram.style.kermlstyles.ShapeStyle>
com.dassault_systemes.modeler.magic.sysml.diagram.PackageShape
- All Implemented Interfaces:
com.dassault_systemes.modeler.magic.diagram.DiagramFrameShape
,com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElement<com.dassault_systemes.modeler.kerml.model.kerml.Package,
,com.dassault_systemes.modeler.kerml.diagram.style.kermlstyles.ShapeStyle> 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.SuspendShapeAutoResizeModeProvider
,com.nomagic.magicdraw.uml.symbols.Wrapable
,NameOwner
,PropertyChangeListener
,Cloneable
,Comparable
,EventListener
@OpenApi
public class PackageShape
extends com.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>,com.dassault_systemes.modeler.kerml.model.kerml.Package,com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElementImpl<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>,com.dassault_systemes.modeler.kerml.model.kerml.Package>,com.dassault_systemes.modeler.kerml.diagram.style.kermlstyles.ShapeStyle>
-
Field Summary
Fields inherited from class com.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape
FRAME_LIKE_CONTAINER_BORDER_INTERSECTION_PADDING, FRAME_LIKE_CONTAINER_SHAPE_INSETS, IS_DIAGRAM_FRAME_MODE, SHAPE_BORDER_INNER_SELECTION_SIZE, SHAPE_DISTANCE_FROM_CONTAINING_SHAPE_EDGE, SHAPE_HEADER_BORDER_INNER_SELECTION_SIZE
Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
CONTAINER_SHAPE_INSETS, SHAPE_DISTANCE_FROM_EDGE
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, 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, peStyle, SHADOW_WIDTH, SOLID_STROKE
Fields inherited from interface com.dassault_systemes.modeler.magic.diagram.DiagramFrameShape
FRAME_DISTANCE_FROM_EDGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canAddInstance
(PresentationElement symbol) Object view has no children.createBoundsShape
(PathElement path, BoundsTransformation transformation) Creates bounding shape for intersection calculation.com.dassault_systemes.modeler.magic.sysml.diagram.PackageShapeFillStrategy
com.nomagic.magicdraw.uml.symbols.CompartmentDescriptor
Gets additional compartment descriptor.protected com.nomagic.ui.UnmodifiableInsets
getAdditionalCompartmentInsets
(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level) protected ShapeElement
protected int
getAdditionalHeaderHeightForPreferredBounds
(Rectangle headerBounds) protected Rectangle
com.nomagic.ui.UnmodifiableInsets
getChildrenInsets
(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel insetsLevel) protected UnmodifiableDimension
protected Integer
protected com.dassault_systemes.modeler.magic.kerml.diagram.CompartmentShape
int
void
internalLayoutChildren
(boolean calculatePrefSize) boolean
protected void
preferredSizeIgnoringOrientation
(Dimension pref, int locationX, int locationY) protected void
selfSpecificHeaderShapeDraw
(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context) Methods inherited from class com.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape
atInsert, canChangeElementOwner, canSuppressContent, clone, coversPoint, createCompartmentElements, createElementAdapter, createGraphicalCompartment, createImpl, dispose, getCollections, getDefaultChildrenInsets, getDistanceForOnBorderChildShape, getElementAdapter, getHeaderObject, getHeaderView, getKerMLElement, getModelElement, getSymbolStyleClass, impl, internalGetHeaderInsets, internalGetModelElementsForRelationshipConnecting, internalGetModelElementToConnectRelationship, internalGetSelfManipulationPreferredSize, internalPreSpecificUpdate, internalSetCollections, internalSpecificUpdate, intersects, isDiagramFrameMode, isOwningMode, isSetAsDiagramFrame, layoutFrameIfSet, paintOnlyFilledHeader, propertyChange, setDiagramFrameMode, setKerMLElement, setModelElement, setVisibleElements, sSetKerMLElement, sSetModelElement, updateName
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
accept, addCompartment, addCompartment, addPresentationElement, applyCompartmentsStyle, areBoxCompartmentsSuppressed, askDeleteDataConfirmation, asPresentationElement, autosizeShapesOnEdge, canAddChild, canChangeParent, canHideBorder, childrenBoundsForReshape, createStateForUpdateOperation, doInternalLayoutAdditionCompartment, doInternalLayoutChildren, getAdditionalCompartment, getAdditionalCompartmentContainer, getAdditionalRenderersToNotifyOnPropertiesChange, getCompartmentByID, getCompartmentIDs, getCompartments, getCompartmentsIDs, getCompartmentStyleDelegate, getConfiguredPreferredSizeForAutosize, getHeaderVerticalPositionForLayout, getLastHeaderShapeElementBottom, getMainCompartmentContainer, getMiddlePointByIcon, getName, getPreferredDimensionForAutosize, hasManipulatedChildrenIncludingIndirect, hasSharedModelElement, internalAddIndirectManipulatedChildrenRect, internalApplyProperties, internalGetIndirectManipulatedChildrenRect, internalPostSpecificUpdate, internalSilentApply, isBorderVisible, isChildLayoutable, isChildMovable, isMakePreferredSizeAfterPropertiesChange, isWrapEnabled, iterateCompartmentDelegates, makePreferredSizeAfterPropertiesChange, makePreferredSizeAfterPropertiesChange, onChildEdgeChange, paintSelf, removeCompartment, removeCompartment, removePresentationElement, setCollections, setCompartmentSuppressed, setHeaderObject, setMakePreferredSizeAfterPropertiesChange, setReshapeMode, setWrapEnabled, sSetCompartmentSuppressed, sSetName, sSetWrapEnabled, updateBorderVisibility, updateChildrenVisibility, updateCompartmentsVisibility
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
addExtraChildrenPrefSizePadding, adjustBoundsBeforeChange, autosize, autosizeAndResizeParent, calculateMinY, calculateOvalShapePreferredSize, correctChildrenVector, editName, getHeaderBoundsForPreferredBounds, getHeaderDistanceFromTopForOvalShape, getHeaderInsets, getHeaderVerticalPosition, getNameLabel, getOvalShapeAvailableWidth, getPreferredBounds, getPresentationElementAt, getProxyPresentationElementsStream, getStereotypesToDisplay, internalGetHeaderBoundsForPreferredBounds, internalPostUpdatePresentationElement, internalUpdatePresentationElement, invalidate, 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, recursiveAutosize, removePresentationElement, sAddPresentationElement, setBounds, setBounds, setCanMoveChildren, setDummyResizeMode, setFillColor, setFillColorForChildren, setLayoutHelper, setPresentationElements, showPathElements, simpleSetBounds, simpleSetBounds, sRemovePresentationElement, 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, getMinimumDimension, getNearestEdge, getNearestEdge, getNeedAutosizeFlag, getNotCopyBounds, getOnEdge, getOnEdgeCornerDistance, getOnEdgePosition, getPreferredDimension, getReshapeMode, getSizeForDrawing, getSuspendShapeAutoResizeMode, hasManipulator, initialize, internalGetBoundsShape, isAutosized, isCenterlineInner, isHorizontalCenterlineProvider, isOnEdge, isShapeOnEdge, 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, createSmartListenerConfig, disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, removeConnectedPathElement, sAddConnectedPathElement, selectPathsForMoving, setParent, setVisibility, sRemoveConnectedPathElement, sSetConnectedPathElements, supportsVisibleConnectedPathElementsIfSelfInvisible
Methods inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
addPresentationElement, addProperty, adjustChildBounds, alwaysShowTooltip, applyProperties, atInsertChildren, autosizeAndResizeManipulatedParent, beforeDelete, boundsChanged, boundsChanged, canAddChild, canAddInstance, canBeDisposedOnUpdate, canChangeParent, canFill, changeProperties, checkElementOwnerOnChange, checkProxyVisibility, childrenForMoving, collectSubManipulatedElements, collectSubPresentationElements, collectSubPresentationElements, collectSubShowingPresentationElements, coversPoint, createPresentationElementStyle, createPropertyChangeListener, disposeChildren, disposePropertyChangeListener, draw, drawBackground, drawSymbol, drawSymbolBackground, dynamicFillColor, dynamicLineColor, dynamicLineWidth, dynamicLineWidth, dynamicPaintShadow, dynamicStroke, dynamicStroke, dynamicStroke, dynamicStyleFillColor, dynamicStyleLineColor, dynamicStyleTextColor, dynamicStyleTransparency, dynamicStyleTransparency, dynamicStyleValue, dynamicTextAlignment, dynamicTextColor, editName, findOwnerForChildElement, findOwnerForElement, findPresentationElement, firePropertyChange, generateID, getAbstractDiagramPresentationElement, getActualElement, getAssignableModelElementsClasses, getBoundsShape, getBoundsToRepaint, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDrawComparator, getDynamicConfigurations, getDynamicStyleOwner, getEffectiveStyleDelegate, getEffectiveStyleOwner, getElement, getElementsForRelationshipConnecting, getElementToConnectRelationship, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getModelElementsForRelationshipConnecting, getModelElementToConnectRelationship, getModelElementToMove, getNotZoomedTolerance, getObjectParent, getOwnStyleDelegate, getParent, getParentSymbolStyleOwner, getPreferredSize, getPresentationElementAt, getPresentationElementAt, getPresentationElementAt, getPresentationElementAt, getPresentationElementCount, getPresentationElementsAt, getPresentationElementsAt, getPresentationElementsAt, getPresentationElementsAt, getPresentationElementStroke, getPresentationElementStroke, getProjectImpl, getProperty, getPropertyManager, getPropertyManagerName, getRenderer, getSelected, getStroke, getStroke, getStroke, getStroke, getStroke, getStroke, getStyle, getSymbolRenderer, getTextColor, getTolerance, getVisibility, getVisiblePresentationElements, handleModelDelete, hasManipulatedPresentationElements, initializeAndAutosize, internalBeforeUpdate, internalCreatePropertyChangeListener, internalGetModelElementsForRelationshipConnecting, internalGetPresentationElementStroke, internalGetSpecificFont, internalGetSpecificTextColor, internalIsSuitableToConnectRelationship, internalIsSuitableToConnectRelationship, internalSnapToGrid, internalSnapToGrid, intersects, isChildVisible, isCreateElementListener, isDetectable, isDisposed, isLayouting, isMovableByMoveManager, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, isShowElementTypeAsLabel, isSortable, isSuitableToConnectRelationship, isTextEditable, isUseFillColor, isUseFillColorByProperty, isUseGradientForFill, isVisible, isVisibleInDiagram, isVisibleOrShrunken, movePathElementsRecursively, mustShowContextMenu, notifyCreated, notifyDiagramFrameSizeChange, notifyRepaintManager, onChildAdd, onChildRemove, onDiagramSurfaceSet, onFind, onFind, onFontChange, onParentChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintSelfBackground, preDisposeOnUpdate, prepareForLineDrawing, prepareForTextDrawing, recreateListeners, registerInSortManager, rememberBounds, rememberBounds, removeFromSortManager, removeItSelfOnUpdate, resizeParent, sAddPresentationElement, selectChildrenForMoving, selectObjectsForMoving, setAllSelected, setBounds, setCreateElementListener, setElement, setFont, setLayouting, setLineColor, setLineWidth, setLoadedVisibility, setLocation, setLocation, setNeedRecreateListeners, setPropertyManagerName, setSelected, setSelected, setSize, setSize, setSize, setTextColor, setUseFillColor, setVisible, silentApply, silentApply, simpleSetBounds, snapToGrid, snapToGrid, snapViewToGrid, sortObjectsByX, sortObjectsByY, sSetBounds, sSetElement, sSetLocation, sSetLocation, sSetParent, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateAfterLoad, updateLabelsIgnoringSuspendableLater, updateModelByView, updateModelByViewInternal, updateViewAfterPropertyChange, useParentProperties, useParentStyle
Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl
accept, addPropertyChangeListener, canAdd, canAddChild, canBeDeleted, canDeleteChild, compareTo, createSortKeys, getClassType, getID, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, setResourceIDProvider, 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, isSelfChangeable
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
Methods inherited from interface com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElement
asPresentationElement, canBeOwnedBy, getCompositeStyle, getEffectiveCompositeStyle, getResourceID, getSymbolStyle
Methods inherited from interface com.nomagic.magicdraw.uml.MDElement
getProject
-
Constructor Details
-
PackageShape
public PackageShape() -
PackageShape
-
-
Method Details
-
getAdditionalCompartmentDescriptor
@CheckForNull public com.nomagic.magicdraw.uml.symbols.CompartmentDescriptor getAdditionalCompartmentDescriptor()Description copied from interface:com.nomagic.magicdraw.uml.symbols.CompartmentOwner
Gets additional compartment descriptor.- Specified by:
getAdditionalCompartmentDescriptor
in interfacecom.nomagic.magicdraw.uml.symbols.CompartmentOwner
- Overrides:
getAdditionalCompartmentDescriptor
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
- Returns:
- compartment descriptor.
-
getAdditionalCompartmentToLayout
- Overrides:
getAdditionalCompartmentToLayout
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getMetadataCompartmentShape
protected com.dassault_systemes.modeler.magic.kerml.diagram.CompartmentShape getMetadataCompartmentShape() -
getDefaultDimension
- Overrides:
getDefaultDimension
in classShapeElement
-
selfSpecificHeaderShapeDraw
protected void selfSpecificHeaderShapeDraw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context) - Overrides:
selfSpecificHeaderShapeDraw
in classcom.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>,
com.dassault_systemes.modeler.kerml.model.kerml.Package, com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElementImpl<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>, com.dassault_systemes.modeler.kerml.model.kerml.Package>, com.dassault_systemes.modeler.kerml.diagram.style.kermlstyles.ShapeStyle>
-
preferredSizeIgnoringOrientation
- Overrides:
preferredSizeIgnoringOrientation
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
internalLayoutChildren
public void internalLayoutChildren(boolean calculatePrefSize) - Overrides:
internalLayoutChildren
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getAdditionalCompartmentInsets
protected com.nomagic.ui.UnmodifiableInsets getAdditionalCompartmentInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level) - Overrides:
getAdditionalCompartmentInsets
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getChildrenBoundsForPreferredBounds
- Overrides:
getChildrenBoundsForPreferredBounds
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getHeaderMaxYForShrinkableShape
- Overrides:
getHeaderMaxYForShrinkableShape
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getAdditionalHeaderHeightForPreferredBounds
- Overrides:
getAdditionalHeaderHeightForPreferredBounds
in classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
getMiddlePointY
public int getMiddlePointY()- Overrides:
getMiddlePointY
in classShapeElement
-
createBoundsShape
Description copied from class:ShapeElement
Creates bounding shape for intersection calculation.- Overrides:
createBoundsShape
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
- Parameters:
path
- pathtransformation
- transformation- Returns:
- shape
-
getChildrenInsets
public com.nomagic.ui.UnmodifiableInsets getChildrenInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel insetsLevel) - Overrides:
getChildrenInsets
in classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
- Parameters:
insetsLevel
- describes the level of insets- Returns:
- shape insets for children
-
isContentHidden
public boolean isContentHidden()- Overrides:
isContentHidden
in classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
createFillStrategy
public com.dassault_systemes.modeler.magic.sysml.diagram.PackageShapeFillStrategy createFillStrategy()- Overrides:
createFillStrategy
in classcom.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>,
com.dassault_systemes.modeler.kerml.model.kerml.Package, com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElementImpl<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>, com.dassault_systemes.modeler.kerml.model.kerml.Package>, com.dassault_systemes.modeler.kerml.diagram.style.kermlstyles.ShapeStyle>
-
canAddInstance
Description copied from class:PresentationElement
Object view has no children.- Overrides:
canAddInstance
in classcom.dassault_systemes.modeler.magic.kerml.diagram.HeaderShape<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>,
com.dassault_systemes.modeler.kerml.model.kerml.Package, com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElementImpl<com.dassault_systemes.modeler.magic.kerml.diagram.adapter.ElementAdapter<com.dassault_systemes.modeler.kerml.model.kerml.Package>, com.dassault_systemes.modeler.kerml.model.kerml.Package>, com.dassault_systemes.modeler.kerml.diagram.style.kermlstyles.ShapeStyle>
-