Class ClassView
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.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.ClassifierView
com.nomagic.magicdraw.uml.symbols.shapes.ClassView
- All Implemented Interfaces:
BaseElement,com.nomagic.magicdraw.uml.CompartmentSupport,MDElement,ModelElementProvider,com.nomagic.magicdraw.uml.symbols.CompartmentContainer,com.nomagic.magicdraw.uml.symbols.CompartmentOwner,com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape,com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement,com.nomagic.magicdraw.uml.symbols.shapes.PortOwner,com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner,StereotypesDisplayModeOwner,com.nomagic.magicdraw.uml.symbols.shapes.TaggedValuesDisplayModeOwner,com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider,com.nomagic.magicdraw.uml.symbols.Wrapable,NameOwner,PropertyChangeListener,Cloneable,Comparable,EventListener
- Direct Known Subclasses:
ComponentView,NodeView
Class model element symbol representation.
-
Field Summary
FieldsFields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ClassifierView
ALL, ASSOCIATION_ENDS_DISPLAY_MODES, DEFAULT_SIZE, MEMBERS_DISPLAY_MODES, NOT_PRIVATE, ONLY_PUBLIC, WITHOUT_ASSOCIATIONFields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_DO_NOT_DISPLAY, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_IMAGE_AND_STEREOTYPES, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODE_STEREOTYPES, SECONDARY_IMAGE_AND_STEREOTYPE_DISPLAY_MODESFields 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.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner
QNAME_DISPLAY_MODE_ABOVE_NAME, QNAME_DISPLAY_MODE_BELOW_NAME, QNAME_DISPLAY_MODE_DO_NOT_DISPLAY, QNAME_DISPLAY_MODE_MERGE_WITH_NAME, QNAME_DISPLAY_MODESFields 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_SIMPLEFields inherited from interface com.nomagic.magicdraw.uml.symbols.shapes.TaggedValuesDisplayModeOwner
DO_NOT_DISPLAY, IN_COMPARTMENT, ON_SHAPE, TAGGED_VALUES_DISPLAY_MODES -
Constructor Summary
ConstructorsConstructorDescriptionClassView(PresentationElement parent) ClassView(PresentationElement parent, boolean canShowStructure) ClassView(PresentationElement parent, com.nomagic.magicdraw.uml.symbols.shapes.ClassHeaderView header) ClassView(PresentationElement parent, com.nomagic.magicdraw.uml.symbols.shapes.ClassHeaderView header, boolean canShowStructure) -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod accepts a visitor, and calls method "visit<class name>(this)" of a visitor.voidaddPresentationElement(PresentationElement element, int index, boolean resize) If a specified object not inserted in this container then adds a new object view to the container.booleancanAddInstance(PresentationElement symbol) Object view has no children.booleanclone()protected voidcreateSmartListenerConfig(List<SmartListenerConfig> configurations) com.nomagic.magicdraw.uml.symbols.shapes.BehaviorsCompartmentHelperGets behaviors compartment helper.com.nomagic.ui.UnmodifiableInsetsgetChildrenInsets(com.nomagic.magicdraw.uml.symbols.shapes.InsetsLevel insetsLevel) Returns model element of this presentation element.protected intgetHeaderInsetReduce(int edge, com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement.OnEdgeBounds bounds) static intgetHeaderInsetReduce(int edge, com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement.OnEdgeBounds bounds, com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView headerShape) com.nomagic.magicdraw.uml.symbols.shapes.ClassHeaderViewcom.nomagic.magicdraw.uml.symbols.shapes.PortsCompartmentHelpervoidinternalApplyProperties(com.dassault_systemes.modeler.magic.diagram.styledelegates.PresentationElementStyleChanger changer) Applies properties from given property managervoidSilently applies all properties after initializationbooleanbooleanIndicated if an element should show Rake IconvoidremoveUseCaseSubject(UseCaseView useCaseView) If given parent is ClassView the information about subject is removed from given UseCase.booleansetDummyResizeMode(boolean b) In dummy resize mode symbol may not resize according it children or move children on bounds changed and etc.voidsSetMembersDisplayMode(String membersDisplayMode) Sets members display mode.voidsSetShowFullType(boolean show) Sets show full type for membersvoidsSetUseAdvancedColoring(boolean use) Sets use advanced coloringMethods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ClassifierView
addConnectedPathElement, atInsert, canAddChild, canStereotypeIconGrow, createBoundsShape, createStateForUpdateOperation, dispose, drawShadow, getAdditionalCompartmentInsets, getAdditionalHeaderHeightForPreferredBounds, getAttributesCompartmentHelper, getBaseMembersCompartmentViewStream, getBoxBounds, getClassifierHeaderView, getCompartmentHelper, getDefaultDimension, getDrawComparator, getEncapsulatedClassifier, getEncapsulatedClassifierProvider, getMembersDisplayMode, getOperationsCompartmentHelper, getProxyPresentationElementsStream, getStructureCompartmentHelper, getStructureCompartmentView, getTaggedValuesDisplayMode, getTemplateSignatureExtent, getTemplateSignatureView, initialize, internalGetHeaderInsets, internalGetModelElementsForRelationshipConnecting, internalGetModelElementToConnectRelationship, internalGetSelfManipulationPreferredSize, internalIsSuitableToConnectRelationship, internalLayoutChildren, internalSpecificUpdate, isChildLayoutable, isCutMemberNames, isShowFullType, isShowInherited, isShowQualifiedNameInTaggedValues, isShowTaggedValuesStereotypes, isShowUML_2_0_Notation, isSuppressAttributes, isSuppressed, isSuppressMethods, isSuppressStructure, isTemplateSignatureVisible, isUseAdvancedColoring, preferredSizeIgnoringOrientation, removeConnectedPathElement, removePresentationElement, reshapeToPreferred, sAddPresentationElement, selfSpecificHeaderShapeDraw, setCutMemberNames, setMembersDisplayMode, setShowFullType, setShowInherited, setShowQualifiedNameInTaggedValues, setShowTaggedValuesStereotypes, setShowUML_2_0_Notation, setTaggedValuesDisplayMode, setUseAdvancedColoring, sRemovePresentationElement, sSetCutMemberNames, sSetShowInherited, sSetShowQualifiedNameInTaggedValues, sSetShowTaggedValuesStereotypes, sSetShowUML_2_0_Notation, sSetTaggedValuesDisplayMode, updateChildrenVisibilityMethods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
canSuppressContent, getBooleanCompartmentPropertyValue, getConstraintAndTaggedValueAlignment, getConstraintTextMode, getDefaultElementStereotypeToHeader, getDSLStereotypesDisplayMode, getElementNumberDisplayMode, getElementPropertiesCompartmentView, getMiddlePointByIcon, getQNameDisplayMode, getSecondaryImageAndStereotypeDisplayMode, getStereotypeLabel, getStereotypesDisplayMode, internalBeforeUpdate, isShowDerivedSign, isShowElementProperties, isShowIcon, isShowNumberTagName, isShowRakeSymbol, isShowTaggedValues, isShowType, propertyChange, recursiveAutosize, setConstraintAndTaggedValueAlignment, setConstraints, setConstraintTextMode, setDSLStereotypesDisplayMode, setElementNumberDisplayMode, setQNameDisplayMode, setSecondaryImageAndStereotypeDisplayMode, setShowConstraints, setShowDerivedSign, setShowElementProperties, setShowIcon, setShowNumberTagName, setShowTaggedValues, setShowType, setStereotype, setStereotypesDisplayMode, setTaggedValues, sSetConstraintAndTaggedValueAlignment, sSetConstraintTextMode, sSetDSLStereotypesDisplayMode, sSetElement, sSetElementNumberDisplayMode, sSetQNameDisplayMode, sSetSecondaryImageAndStereotypeDisplayMode, sSetShowConstraints, sSetShowDerivedSign, sSetShowElementProperties, sSetShowIcon, sSetShowNumberTagName, sSetShowTaggedValues, sSetShowType, sSetStereotypesDisplayMode, updateBorderVisibility, updateNameMethods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
addCompartment, addCompartment, applyCompartmentsStyle, areBoxCompartmentsSuppressed, askDeleteDataConfirmation, asPresentationElement, autosizeShapesOnEdge, canChangeParent, canHideBorder, childrenBoundsForReshape, createCompartmentElements, doInternalLayoutAdditionCompartment, doInternalLayoutChildren, getAdditionalCompartment, getAdditionalCompartmentContainer, getAdditionalCompartmentDescriptor, getAdditionalCompartmentToLayout, getAdditionalRenderersToNotifyOnPropertiesChange, getChildrenBoundsForPreferredBounds, getCollections, getCompartmentByID, getCompartmentIDs, getCompartments, getCompartmentsIDs, getCompartmentStyleDelegate, getConfiguredPreferredSizeForAutosize, getHeaderMaxYForShrinkableShape, getHeaderVerticalPositionForLayout, getLastHeaderShapeElementBottom, getMainCompartmentContainer, getName, getPreferredDimensionForAutosize, hasManipulatedChildrenIncludingIndirect, hasSharedModelElement, internalAddIndirectManipulatedChildrenRect, internalGetIndirectManipulatedChildrenRect, internalPostSpecificUpdate, internalSetCollections, isBorderVisible, isChildMovable, isMakePreferredSizeAfterPropertiesChange, isWrapEnabled, iterateCompartmentDelegates, makePreferredSizeAfterPropertiesChange, makePreferredSizeAfterPropertiesChange, onChildEdgeChange, paintSelf, removeCompartment, removeCompartment, setCollections, setCompartmentSuppressed, setHeaderObject, setMakePreferredSizeAfterPropertiesChange, setReshapeMode, setVisibleElements, setWrapEnabled, sSetCompartmentSuppressed, sSetName, sSetWrapEnabled, updateCompartmentsVisibilityMethods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
addExtraChildrenPrefSizePadding, adjustBoundsBeforeChange, autosize, autosizeAndResizeParent, calculateMinY, calculateOvalShapePreferredSize, correctChildrenVector, coversPoint, editName, getHeaderBoundsForPreferredBounds, getHeaderDistanceFromTopForOvalShape, getHeaderInsets, getHeaderObject, getHeaderVerticalPosition, getNameLabel, getOvalShapeAvailableWidth, getPreferredBounds, getPresentationElementAt, getStereotypesToDisplay, internalGetHeaderBoundsForPreferredBounds, internalPostUpdatePresentationElement, internalPreSpecificUpdate, internalUpdatePresentationElement, invalidate, isContentHidden, 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, getDefaultChildrenInsets, getLayoutHelper, getLayoutHelperClone, getManipulatedElementAt, getManipulationPreferredDimension, getPresentationElementIndex, getPresentationElements, getRemovableChildren, hasManipulatedShapesNotOnEdge, hasManipulatedShapesOnEdge, hasManipulatedShapesOnEdge, internalAppendChildRect, internalGetChildAt, internalGetManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalSetChildren, isCanChildrenChangeEdge, isCanMoveChildren, layoutChildren, moveChild, moveChildren, needAdjustToPreferred, paintChildrenBackground, prefDimensionByManipulatedChildren, removePresentationElement, setBounds, setBounds, setCanMoveChildren, setFillColor, setFillColorForChildren, setLayoutHelper, setPresentationElements, showPathElements, simpleSetBounds, simpleSetBounds, 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, getInsetsForOnEdgeShapes, getIntersection, getIntersection, getIntersection, getLoadedDimension, getMiddlePoint, getMiddlePoint, getMiddlePointX, getMiddlePointX, getMiddlePointY, getMiddlePointY, getMinimumDimension, getNearestEdge, getNearestEdge, getNeedAutosizeFlag, getNotCopyBounds, getOnEdge, getOnEdgeCornerDistance, getOnEdgePosition, getPreferredDimension, getReshapeMode, getSizeForDrawing, getSuspendShapeAutoResizeMode, hasManipulator, internalGetBoundsShape, intersects, 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
disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, 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, canChangeElementOwner, canChangeParent, canFill, changeProperties, checkProxyVisibility, childrenForMoving, collectSubManipulatedElements, collectSubPresentationElements, collectSubPresentationElements, collectSubShowingPresentationElements, coversPoint, createFillStrategy, 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, getDynamicConfigurations, getDynamicStyleOwner, getEffectiveStyleDelegate, getEffectiveStyleOwner, getElementsForRelationshipConnecting, getElementToConnectRelationship, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getModelElement, 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, internalCreatePropertyChangeListener, internalGetModelElementsForRelationshipConnecting, internalGetPresentationElementStroke, internalGetSpecificFont, internalGetSpecificTextColor, internalIsSuitableToConnectRelationship, internalSnapToGrid, internalSnapToGrid, intersects, isChildVisible, isCreateElementListener, isDetectable, isDisposed, isLayouting, isMovableByMoveManager, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, 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, setModelElement, setNeedRecreateListeners, setPropertyManagerName, setSelected, setSelected, setSize, setSize, setSize, setTextColor, setUseFillColor, setVisible, silentApply, silentApply, simpleSetBounds, snapToGrid, snapToGrid, snapViewToGrid, sortObjectsByX, sortObjectsByY, sSetBounds, sSetLocation, sSetLocation, sSetModelElement, 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.nomagic.magicdraw.uml.MDElement
getProjectMethods inherited from interface com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement
addProperty, asPresentationElement, getProperty, getPropertyManager
-
Field Details
-
ACTIVE_BORDER_DISTANCE
public static final int ACTIVE_BORDER_DISTANCE- See Also:
-
-
Constructor Details
-
ClassView
public ClassView() -
ClassView
-
ClassView
-
ClassView
public ClassView(@CheckForNull PresentationElement parent, com.nomagic.magicdraw.uml.symbols.shapes.ClassHeaderView header) -
ClassView
public ClassView(@CheckForNull PresentationElement parent, com.nomagic.magicdraw.uml.symbols.shapes.ClassHeaderView header, boolean canShowStructure)
-
-
Method Details
-
isShowRakeIcon
public boolean isShowRakeIcon()Description copied from class:com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeViewIndicated if an element should show Rake Icon- Overrides:
isShowRakeIconin classcom.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView- Returns:
- true in case should show, else false
-
accept
Description copied from interface:MDElementMethod accepts a visitor, and calls method "visit<class name>(this)" of a visitor. See "Visitor" pattern for more details.- Specified by:
acceptin interfaceMDElement- Overrides:
acceptin classClassifierView- Parameters:
visitor- which visits this element.- Throws:
Exception
-
isShowElementTypeAsLabel
public boolean isShowElementTypeAsLabel()- Overrides:
isShowElementTypeAsLabelin classPresentationElement
-
getPortsCompartmentHelper
public com.nomagic.magicdraw.uml.symbols.shapes.PortsCompartmentHelper getPortsCompartmentHelper() -
getBehaviorsCompartmentHelper
public com.nomagic.magicdraw.uml.symbols.shapes.BehaviorsCompartmentHelper getBehaviorsCompartmentHelper()Gets behaviors compartment helper.- Returns:
- behaviors compartment helper.
-
internalSilentApply
public void internalSilentApply()Description copied from class:PresentationElementSilently applies all properties after initialization- Overrides:
internalSilentApplyin classClassifierView
-
internalApplyProperties
public void internalApplyProperties(com.dassault_systemes.modeler.magic.diagram.styledelegates.PresentationElementStyleChanger changer) Description copied from class:PresentationElementApplies properties from given property manager- Overrides:
internalApplyPropertiesin classClassifierView- Parameters:
changer- new properties
-
clone
- Specified by:
clonein interfaceBaseElement- Overrides:
clonein classClassifierView
-
createSmartListenerConfig
- Overrides:
createSmartListenerConfigin classClassifierView
-
sSetShowFullType
public void sSetShowFullType(boolean show) Description copied from class:ClassifierViewSets show full type for members- Overrides:
sSetShowFullTypein classClassifierView- Parameters:
show- show full type
-
sSetUseAdvancedColoring
public void sSetUseAdvancedColoring(boolean use) Description copied from class:ClassifierViewSets use advanced coloring- Overrides:
sSetUseAdvancedColoringin classClassifierView- Parameters:
use- use advanced coloring flag
-
sSetMembersDisplayMode
Description copied from class:ClassifierViewSets members display mode. Does not update classifier symbol.- Overrides:
sSetMembersDisplayModein classClassifierView- Parameters:
membersDisplayMode- display mode- See Also:
-
setDummyResizeMode
public boolean setDummyResizeMode(boolean b) In dummy resize mode symbol may not resize according it children or move children on bounds changed and etc. This is more as hack for resize problems during load or diagram layout- Overrides:
setDummyResizeModein classcom.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView- Parameters:
b- value- Returns:
- true if dummy mode was applied
-
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
-
checkElementOwnerOnChange
- Overrides:
checkElementOwnerOnChangein classPresentationElement
-
canAddInstance
Description copied from class:PresentationElementObject view has no children.- Overrides:
canAddInstancein classClassifierView
-
addPresentationElement
Description copied from class:com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeViewIf a specified object not inserted in this container then adds a new object view to the container.- Overrides:
addPresentationElementin classClassifierView- Parameters:
element- new PresentationElement objectindex- index to add atresize- resize parent
-
removeUseCaseSubject
If given parent is ClassView the information about subject is removed from given UseCase. If not, does nothing.- Parameters:
useCaseView- use case
-
getHeaderInsetReduce
protected int getHeaderInsetReduce(int edge, com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement.OnEdgeBounds bounds) - Overrides:
getHeaderInsetReducein classShapeElement
-
getHeaderInsetReduce
public static int getHeaderInsetReduce(int edge, com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement.OnEdgeBounds bounds, com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView headerShape) -
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 classClassifierView- Returns:
- model element of this presentation element.
-
getHeaderView
public com.nomagic.magicdraw.uml.symbols.shapes.ClassHeaderView getHeaderView()- Overrides:
getHeaderViewin classClassifierView
-