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_SIZEFields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
CONTAINER_SHAPE_INSETS, SHAPE_DISTANCE_FROM_EDGEFields 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_EDGEFields inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
showsProxyFields 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_STROKEFields inherited from interface com.dassault_systemes.modeler.magic.diagram.DiagramFrameShape
FRAME_DISTANCE_FROM_EDGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAddInstance(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.PackageShapeFillStrategycom.nomagic.magicdraw.uml.symbols.CompartmentDescriptorGets additional compartment descriptor.protected com.nomagic.ui.UnmodifiableInsetsgetAdditionalCompartmentInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level) protected ShapeElementprotected intgetAdditionalHeaderHeightForPreferredBounds(Rectangle headerBounds) protected Rectanglecom.nomagic.ui.UnmodifiableInsetsgetChildrenInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel insetsLevel) protected UnmodifiableDimensionprotected Integerprotected com.dassault_systemes.modeler.magic.kerml.diagram.CompartmentShapeintvoidinternalLayoutChildren(boolean calculatePrefSize) booleanprotected voidpreferredSizeIgnoringOrientation(Dimension pref, int locationX, int locationY) protected voidselfSpecificHeaderShapeDraw(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, updateNameMethods 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, updateCompartmentsVisibilityMethods 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, switchWidthHeightIfVerticalOrientationMethods 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, sSetPresentationElementsMethods 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, updateLaterMethods 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, supportsVisibleConnectedPathElementsIfSelfInvisibleMethods 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, useParentStyleMethods 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, sGetIDMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.nomagic.magicdraw.uml.BaseElement
canAdd, isSelfChangeableMethods inherited from interface com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape
getAbstractDiagramPresentationElement, getCenterlinePoint, getCenterlinePointX, getCenterlinePointYMethods inherited from interface com.nomagic.magicdraw.uml.CompartmentSupport
setVisibleElementsMethods inherited from interface com.dassault_systemes.modeler.magic.kerml.diagram.KerMLPresentationElement
asPresentationElement, canBeOwnedBy, getCompositeStyle, getEffectiveCompositeStyle, getResourceID, getSymbolStyleMethods 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.CompartmentOwnerGets additional compartment descriptor.- Specified by:
getAdditionalCompartmentDescriptorin interfacecom.nomagic.magicdraw.uml.symbols.CompartmentOwner- Overrides:
getAdditionalCompartmentDescriptorin classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView- Returns:
- compartment descriptor.
-
getAdditionalCompartmentToLayout
- Overrides:
getAdditionalCompartmentToLayoutin classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getMetadataCompartmentShape
protected com.dassault_systemes.modeler.magic.kerml.diagram.CompartmentShape getMetadataCompartmentShape() -
getDefaultDimension
- Overrides:
getDefaultDimensionin classShapeElement
-
selfSpecificHeaderShapeDraw
protected void selfSpecificHeaderShapeDraw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context) - Overrides:
selfSpecificHeaderShapeDrawin 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:
preferredSizeIgnoringOrientationin classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
internalLayoutChildren
public void internalLayoutChildren(boolean calculatePrefSize) - Overrides:
internalLayoutChildrenin classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getAdditionalCompartmentInsets
protected com.nomagic.ui.UnmodifiableInsets getAdditionalCompartmentInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel level) - Overrides:
getAdditionalCompartmentInsetsin classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getChildrenBoundsForPreferredBounds
- Overrides:
getChildrenBoundsForPreferredBoundsin classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getHeaderMaxYForShrinkableShape
- Overrides:
getHeaderMaxYForShrinkableShapein classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
-
getAdditionalHeaderHeightForPreferredBounds
- Overrides:
getAdditionalHeaderHeightForPreferredBoundsin classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
getMiddlePointY
public int getMiddlePointY()- Overrides:
getMiddlePointYin classShapeElement
-
createBoundsShape
Description copied from class:ShapeElementCreates bounding shape for intersection calculation.- Overrides:
createBoundsShapein 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:
getChildrenInsetsin classcom.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView- Parameters:
insetsLevel- describes the level of insets- Returns:
- shape insets for children
-
isContentHidden
public boolean isContentHidden()- Overrides:
isContentHiddenin classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
-
createFillStrategy
public com.dassault_systemes.modeler.magic.sysml.diagram.PackageShapeFillStrategy createFillStrategy()- Overrides:
createFillStrategyin 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:PresentationElementObject view has no children.- Overrides:
canAddInstancein 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>
-