Class EnumerationView
- 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.AbstractHeaderShapeView
-
- com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
-
- com.nomagic.magicdraw.uml.symbols.shapes.ClassifierView
-
- com.nomagic.magicdraw.uml.symbols.shapes.EnumerationView
-
- 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.shapes.PortOwner
,com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner
,StereotypesDisplayModeOwner
,com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider
,com.nomagic.magicdraw.uml.symbols.Wrapable
,NameOwner
,java.beans.PropertyChangeListener
,java.lang.Cloneable
,java.lang.Comparable
,java.util.EventListener
@OpenApi public class EnumerationView extends ClassifierView
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView.StereotypeDisplayData
-
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 inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ClassifierView
ALL, ASSOCIATION_ENDS_DISPLAY_MODES, DEFAULT_SIZE, DIFFERENCE_PERCENT, DO_NOT_DISPLAY, IN_COMPARTMENT, MEMBERS_DISPLAY_MODES, MIN_WIDTH_PERCENT, NOT_PRIVATE, ON_SHAPE, ONLY_PUBLIC, TAGGED_VALUES_DISPLAY_MODES, WITHOUT_ASSOCIATION
-
Fields 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_MODES
-
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
-
Fields 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_MODES
-
Fields inherited from interface com.nomagic.magicdraw.uml.symbols.shapes.StereotypesDisplayModeOwner
DSL_STEREOTYPE_DISPLAY_MODE_ALL, DSL_STEREOTYPE_DISPLAY_MODE_LAST, DSL_STEREOTYPE_DISPLAY_MODE_NONE, DSL_STEREOTYPE_DISPLAY_MODES, STEREOTYPE_DISPLAY_MODE_DO_NOT_DISPLAY_STEREOTYPES, STEREOTYPE_DISPLAY_MODE_ICON, STEREOTYPE_DISPLAY_MODE_SHAPE_IMAGE, STEREOTYPE_DISPLAY_MODE_SHAPE_IMAGE_AND_TEXT, STEREOTYPE_DISPLAY_MODE_TEXT, STEREOTYPE_DISPLAY_MODE_TEXT_AND_ICON, STEREOTYPES_DISPLAY_MODES, STEREOTYPES_DISPLAY_MODES_SIMPLE
-
-
Constructor Summary
Constructors Constructor Description EnumerationView()
EnumerationView(PresentationElement parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor visitor)
Method accepts visitor, and calls method visit<class name>(this) of visitor .protected void
createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
Enumeration
getElement()
Returns model element of this presentation element.java.lang.String
getEnumerationLiteralsConstraintsTextMode()
com.nomagic.magicdraw.uml.symbols.shapes.EnumerationHeaderView
getHeaderView()
java.awt.Color
getLiteralsColor()
java.awt.Font
getLiteralsFont()
java.lang.String
getLiteralsSortMode()
void
internalApplyProperties(PropertyManager man)
Applies properties from given property managervoid
internalSilentApply()
Silently applies all properties after initializationboolean
isShowEnumerationLiteralsCompartmentName()
Indicates if enumeration literals compartment name should be displayed.boolean
isShowEnumerationLiteralsConstraints()
boolean
isShowEnumerationLiteralsStereotype()
boolean
isShowEnumerationLiteralsTaggedValues()
boolean
isShowInheritedLiteralsSign()
boolean
isShowLiteralsMoreSign()
boolean
isSuppressLiterals()
void
setEnumerationLiteralsConstraintsTextMode(java.lang.String mode)
void
setLiteralsColor(java.awt.Color color)
void
setLiteralsFont(java.awt.Font font)
protected void
setLiteralsSortMode(java.lang.String sm)
void
setShowEnumerationLiteralsCompartmentName(boolean show)
Sets show enumeration literals compartment name flag value.void
setShowEnumerationLiteralsConstraints(boolean show)
void
setShowEnumerationLiteralsStereotype(boolean show)
void
setShowEnumerationLiteralsTaggedValues(boolean show)
void
setShowInheritedLiteralsSign(boolean showInheritedSign)
Show inherited literals signvoid
setShowLiteralsMoreSign(boolean showMoreSign)
Show literals more sign.void
setSuppressLiterals(boolean suppress)
void
sSetEnumerationLiteralsConstraintsTextMode(java.lang.String mode)
void
sSetLiteralsColor(java.awt.Color color)
void
sSetLiteralsFont(java.awt.Font font)
void
sSetLiteralsSortMode(java.lang.String sm)
void
sSetShowEnumerationLiteralsCompartmentName(boolean show)
Simple sets show enumeration literals compartment name flag value.void
sSetShowEnumerationLiteralsConstraints(boolean show)
void
sSetShowEnumerationLiteralsStereotype(boolean show)
void
sSetShowEnumerationLiteralsTaggedValues(boolean show)
void
sSetShowInheritedLiteralsSign(boolean showInheritedSign)
Show inherited sign for literalsvoid
sSetShowLiteralsMoreSign(boolean showMoreSign)
Show more sign for literals.void
sSetSuppressLiterals(boolean suppress)
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ClassifierView
addConnectedPathElement, addPresentationElement, atInsert, canAddChild, canAddInstance, canStereotypeIconGrow, clone, createBoundsShape, createChangedCompartmentVisibilityProperty, createStateForUpdateOperation, dispose, drawShadow, getAdditionalCompartmentInsets, getAdditionalHeaderHeightForPreferredBounds, getAttributesCompartmentHelper, getBaseMembersCompartmentViewStream, getBoxBounds, getClassifierHeaderView, getCompartmentHelper, getDefaultDimension, getDrawComparator, getEncapsulatedClassifier, getEncapsulatedClassifierProvider, getMembersDisplayMode, getOperationsCompartmentHelper, getProxyPresentationElementsStream, getStructureCompartmentHelper, getStructureCompartmentView, getTaggedValuesDisplayMode, getTemplateSignatureExtent, getTemplateSignatureView, initialize, internalGetElementsForLinkConnecting, internalGetElementToConnectLink, internalGetHeaderInsets, internalGetSelfManipulationPreferredSize, 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, sSetMembersDisplayMode, sSetShowFullType, sSetShowInherited, sSetShowQualifiedNameInTaggedValues, sSetShowTaggedValuesStereotypes, sSetShowUML_2_0_Notation, sSetTaggedValuesDisplayMode, sSetUseAdvancedColoring, updateChildrenVisibility
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
addCompartment, addCompartment, areBoxCompartmentsSuppressed, canHideBorder, canSuppressContent, childrenBoundsForReshape, createCompartmentElements, doInternalLayoutAdditionCompartment, doInternalLayoutChildren, getAdditionalCompartment, getAdditionalCompartmentContainer, getAdditionalCompartmentToLayout, getAdditionalRenderersToNotify, getBooleanCompartmentPropertyValue, getChildrenBoundsForPreferredBounds, getChildrenInsets, getCollections, getCompartmentByID, getCompartmentContainer, getCompartmentIDs, getCompartmentRegistrationInfo, getCompartments, getConfiguredPreferredSizeForAutosize, getConstraintAndTaggedValueAlignment, getConstraintTextMode, getDefaultElementStereotypeToHeader, getDSLStereotypesDisplayMode, getElementNumberDisplayMode, getElementPropertiesCompartmentView, getHeaderMaxYForShrinkableShape, getHeaderVerticalPositionForLayout, getMainCompartmentContainer, getName, getPreferredDimensionForAutosize, getQNameDisplayMode, getSecondaryImageAndStereotypeDisplayMode, getStereotypeLabel, getStereotypesDisplayMode, getSuppressCompartmentPropertyID, hasManipulatedChildrenIncludingIndirect, internalAddIndirectManipulatedChildrenRect, internalBeforeUpdate, internalGetIndirectManipulatedChildrenRect, internalPostSpecificUpdate, internalSetCollections, isBorderVisible, isChildMovable, isMakePreferredSizeAfterPropertiesChange, isShowConstraints, isShowDerivedSign, isShowElementProperties, isShowIcon, isShowNumberTagName, isShowRakeIcon, isShowRakeSymbol, isShowTaggedValues, isShowType, isWrapEnabled, makePreferredSizeAfterPropertiesChange, makePreferredSizeAfterPropertiesChange, onChildEdgeChange, paintSelf, propertyChange, recursiveAutosize, removeCompartment, removeCompartment, setCollections, setCompartmentSuppressed, setConstraintAndTaggedValueAlignment, setConstraints, setConstraintTextMode, setDSLStereotypesDisplayMode, setElementNumberDisplayMode, setHeaderObject, setMakePreferredSizeAfterPropertiesChange, setQNameDisplayMode, setReshapeMode, setSecondaryImageAndStereotypeDisplayMode, setShowCompartmentName, setShowConstraints, setShowDerivedSign, setShowElementProperties, setShowIcon, setShowNumberTagName, setShowTaggedValues, setShowType, setStereotype, setStereotypesDisplayMode, setTaggedValues, setVisibleElements, setWrapEnabled, sSetCompartmentSuppressed, sSetConstraintAndTaggedValueAlignment, sSetConstraintTextMode, sSetDSLStereotypesDisplayMode, sSetElement, sSetElementNumberDisplayMode, sSetName, sSetQNameDisplayMode, sSetSecondaryImageAndStereotypeDisplayMode, sSetShowCompartmentName, sSetShowConstraints, sSetShowDerivedSign, sSetShowElementProperties, sSetShowIcon, sSetShowNumberTagName, sSetShowTaggedValues, sSetShowType, sSetStereotypesDisplayMode, sSetWrapEnabled, updateBorderVisibility, updateCompartmentsVisibility, updateName
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
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, switchWidthHeightIfVerticalOrientation
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
addPresentationElement, addPresentationElementWithoutResize, adjustBoundsForMoving, 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, internalRecursiveAutosizeForChildren, internalSetChildren, isCanChildrenChangeEdge, isCanMoveChildren, layoutChildren, moveChild, moveChildren, needAdjustToPreferred, paintChildrenBackground, prefDimensionByManipulatedChildren, removePresentationElement, setBounds, setBounds, setCanMoveChildren, setDummyResizeMode, setFillColor, setLayoutHelper, setPresentationElements, showPathElements, simpleSetBounds, simpleSetBounds, 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, getMiddlePointY, getMinimumDimension, getNearestEdge, getNearestEdge, getNeedAutosizeFlag, getNotCopyBounds, getOnEdge, getOnEdgeCornerDistance, getOnEdgePosition, getPreferredDimension, getReshapeMode, getSuspendShapeAutoResizeMode, hasManipulator, internalGetBoundsShape, intersects, isAutosized, isCenterlineInner, isHorizontalCenterlineProvider, isOnEdge, 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
disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, sAddConnectedPathElement, selectPathsForMoving, setParent, setVisibility, sRemoveConnectedPathElement, sSetConnectedPathElements
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
addPresentationElement, addProperty, adjustChildBounds, alwaysShowTooltip, applyProperties, askDeleteDataConfirmation, 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, findParentForData, findPresentationElement, firePropertyChange, generateID, getActualElement, getActualProperty, getAssignableModelElementsClasses, getBooleanPropertyValue, getBoundsShape, getBoundsToRepaint, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDynamicConfigurations, getDynamicStyleOwner, getElementsForLinkConnecting, getElementToConnectLink, getElementToMove, getExpectedDataParent, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getNotZoomedTolerance, getObjectParent, getParent, getParentSymbolPropertyOwner, 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, internalGetPresentationElementStroke, internalSnapToGrid, internalSnapToGrid, isChildVisible, isCreateElementListener, isDetectable, isDisposed, isLayouting, isMovableByMoveManager, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, isShowElementTypeAsLabel, isSortable, isTestUpdateFlag, isTextEditable, isUseFillColor, isUseFillColorByProperty, isUseGradientForFill, isVisible, isVisibleInDiagram, isVisibleOrShrunken, movePathElementsRecursively, mustShowContextMenu, notifyCreated, notifyDiagramFrameSizeChange, notifyRepaintManager, onFind, onFind, onFontChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintSelfBackground, preDisposeOnUpdate, prepareForFillDrawing, prepareForLineDrawing, prepareForTextDrawing, 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, setUseFillColor, setVisible, silentApply, silentApply, simpleSetBounds, snapToGrid, snapToGrid, snapViewToGrid, sortObjectsByX, sortObjectsByY, sSetBounds, sSetLineWidth, sSetLocation, sSetLocation, sSetParent, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateAfterLoad, updateLabelsIgnoringSuspendableLater, updateModelByView, updateModelByViewInternal, updateViewAfterPropertyChange, useParentProperties
-
Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, canDeleteChild, compareTo, createSortKeys, getClassType, getCommandForAppending, getID, getProject, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, sGetID
-
-
-
-
Constructor Detail
-
EnumerationView
public EnumerationView()
-
EnumerationView
public EnumerationView(@CheckForNull PresentationElement parent)
-
-
Method Detail
-
accept
public void accept(Visitor visitor) throws java.lang.Exception
Description copied from interface:MDElement
Method accepts visitor, and calls method visit<class name>(this) of visitor . See Visitor pattern for more details.
-
setSuppressLiterals
public void setSuppressLiterals(boolean suppress)
-
sSetSuppressLiterals
public void sSetSuppressLiterals(boolean suppress)
-
isSuppressLiterals
public boolean isSuppressLiterals()
-
getLiteralsColor
public java.awt.Color getLiteralsColor()
-
getLiteralsFont
public java.awt.Font getLiteralsFont()
-
sSetLiteralsColor
public void sSetLiteralsColor(java.awt.Color color)
-
setLiteralsColor
public void setLiteralsColor(java.awt.Color color)
-
sSetLiteralsFont
public void sSetLiteralsFont(java.awt.Font font)
-
setLiteralsFont
public void setLiteralsFont(java.awt.Font font)
-
internalSilentApply
public void internalSilentApply()
Description copied from class:PresentationElement
Silently applies all properties after initialization
-
internalApplyProperties
public void internalApplyProperties(PropertyManager man)
Description copied from class:PresentationElement
Applies properties from given property manager- Parameters:
man
- new properties
-
isShowEnumerationLiteralsCompartmentName
public boolean isShowEnumerationLiteralsCompartmentName()
Indicates if enumeration literals compartment name should be displayed.- Returns:
- true if deployed elements compartment name should be displayed, false otherwise.
-
sSetShowEnumerationLiteralsCompartmentName
public void sSetShowEnumerationLiteralsCompartmentName(boolean show)
Simple sets show enumeration literals compartment name flag value.- Parameters:
show
- value to set.
-
setShowEnumerationLiteralsCompartmentName
public void setShowEnumerationLiteralsCompartmentName(boolean show)
Sets show enumeration literals compartment name flag value.- Parameters:
show
- value to set.
-
sSetShowEnumerationLiteralsStereotype
public void sSetShowEnumerationLiteralsStereotype(boolean show)
-
setShowEnumerationLiteralsStereotype
public void setShowEnumerationLiteralsStereotype(boolean show)
-
isShowEnumerationLiteralsStereotype
public boolean isShowEnumerationLiteralsStereotype()
-
isShowEnumerationLiteralsTaggedValues
public boolean isShowEnumerationLiteralsTaggedValues()
-
sSetShowEnumerationLiteralsTaggedValues
public void sSetShowEnumerationLiteralsTaggedValues(boolean show)
-
setShowEnumerationLiteralsTaggedValues
public void setShowEnumerationLiteralsTaggedValues(boolean show)
-
sSetShowEnumerationLiteralsConstraints
public void sSetShowEnumerationLiteralsConstraints(boolean show)
-
setShowEnumerationLiteralsConstraints
public void setShowEnumerationLiteralsConstraints(boolean show)
-
isShowEnumerationLiteralsConstraints
public boolean isShowEnumerationLiteralsConstraints()
-
sSetEnumerationLiteralsConstraintsTextMode
public void sSetEnumerationLiteralsConstraintsTextMode(java.lang.String mode)
-
setEnumerationLiteralsConstraintsTextMode
public void setEnumerationLiteralsConstraintsTextMode(java.lang.String mode)
-
getEnumerationLiteralsConstraintsTextMode
public java.lang.String getEnumerationLiteralsConstraintsTextMode()
-
createSmartListenerConfig
protected void createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
-
sSetLiteralsSortMode
public void sSetLiteralsSortMode(java.lang.String sm)
-
setLiteralsSortMode
protected void setLiteralsSortMode(java.lang.String sm)
-
getLiteralsSortMode
public java.lang.String getLiteralsSortMode()
-
isShowInheritedLiteralsSign
public boolean isShowInheritedLiteralsSign()
- Returns:
- true if inherited sign is shown for literals
-
sSetShowInheritedLiteralsSign
public void sSetShowInheritedLiteralsSign(boolean showInheritedSign)
Show inherited sign for literals- Parameters:
showInheritedSign
- show
-
setShowInheritedLiteralsSign
public void setShowInheritedLiteralsSign(boolean showInheritedSign)
Show inherited literals sign- Parameters:
showInheritedSign
- show
-
isShowLiteralsMoreSign
public boolean isShowLiteralsMoreSign()
- Returns:
- true if more sign is shown for literals.
-
sSetShowLiteralsMoreSign
public void sSetShowLiteralsMoreSign(boolean showMoreSign)
Show more sign for literals.- Parameters:
showMoreSign
- show.
-
setShowLiteralsMoreSign
public void setShowLiteralsMoreSign(boolean showMoreSign)
Show literals more sign.- Parameters:
showMoreSign
- show.
-
getElement
public Enumeration getElement()
Description copied from class:PresentationElement
Returns model element of this presentation element. Some presentation elements (for example TextBoxes) do not have model elements.- Specified by:
getElement
in interfaceModelElementProvider
- Returns:
- model element of this presentation element.
-
getHeaderView
public com.nomagic.magicdraw.uml.symbols.shapes.EnumerationHeaderView getHeaderView()
-
-