Class DiagramPropertiesShape
- 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.TextShapeView
 - 
- com.nomagic.magicdraw.uml.symbols.shapes.TextBoxView
 - 
- com.nomagic.magicdraw.uml.symbols.shapes.DiagramPropertiesShape
 
 
 
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 BaseElement,MDElement,ModelElementProvider,com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape,com.nomagic.magicdraw.uml.symbols.shapes.PlainTextOrHTMLChangeable,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 DiagramPropertiesShape extends TextBoxView
 
- 
- 
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 Modifier and Type Field Description static java.lang.StringBGCOLORstatic intBORDER_WIDTHstatic java.util.List<java.lang.String>DEFAULT_KEYWORDSstatic java.lang.StringDIAGRAM_NAMEstatic java.lang.StringDIAGRAM_TYPEstatic java.lang.StringDOCUMENTATIONstatic intFREE_SPACEstatic java.lang.StringPENCOLORstatic java.lang.StringTAG_DELIMITERstatic java.lang.StringTAG_NAMEstatic java.lang.StringTAG_VALUEstatic java.lang.StringTEMPLATE_FILEstatic java.lang.StringTXTCOLOR- 
Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
CONTAINER_SHAPE_INSETS 
- 
Fields inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
BORDER_ELEMENT_MARGIN_ALL, BORDER_ELEMENT_MARGIN_BOTTOM, BORDER_ELEMENT_MARGIN_LEFT, BORDER_ELEMENT_MARGIN_LEFT_RIGHT, BORDER_ELEMENT_MARGIN_MODES, BORDER_ELEMENT_MARGIN_NONE, BORDER_ELEMENT_MARGIN_RIGHT, BORDER_ELEMENT_MARGIN_TOP, BORDER_ELEMENT_MARGIN_TOP_BOTTOM, BOTTOM_EDGE, INSIDE_EDGE_POSITION, LEFT_EDGE, NEED_AUTOSIZE_FULL, NEED_AUTOSIZE_LAYOUT, NEED_AUTOSIZE_NONE, NO_EDGE, NULL_INSETS, ON_EDGE_POSITION, OUTSIDE_EDGE_POSITION, RIGHT_EDGE, SPACE, SPACE_INSETS, SPACE_INSETS_EMPTY_TOP_BOTTOM, SUSPEND_SHAPE_AUTO_RESIZE_FALSE, SUSPEND_SHAPE_AUTO_RESIZE_MODES, SUSPEND_SHAPE_AUTO_RESIZE_SAME_AS_DIAGRAM, SUSPEND_SHAPE_AUTO_RESIZE_TRUE, TOP_EDGE 
- 
Fields inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
showsProxy 
- 
Fields inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
DASHED_STROKE, DEFAULT_LINE_WIDTH, DOTTED_STROKE, HANDLE_SIZE, MAX_LINE_WIDTH, MIN_LINE_WIDTH, SHADOW_WIDTH, SOLID_STROKE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DiagramPropertiesShape() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)Method accepts visitor, and calls method visit<class name>(this) of visitor .voidatInsert()Invalidates object at insertbooleancanBeAutosized()booleancanBeDeleted()Checks if element can be deleted from project.booleancanChangeParent(java.util.Collection<? extends PresentationElement> movedTogether, BaseElement newParent, boolean changeElementParent)Returns true, if element can change parent.booleancanDisplayHTMLText()booleancanHavePaths()static java.lang.StringconstructStandardModeText(java.util.Collection<java.lang.String> keywords)protected voidcreateSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)protected com.nomagic.magicdraw.uml.symbols.shapes.TextAreaViewcreateTextArea()voiddispose()disposes ends of links when link is deletedDiagramgetElement()Returns model element of this presentation element.static java.lang.StringgetHTMLTemplateFileName()java.lang.StringgetHumanName()Returns human representation of the data typeprivate ProjectOptionsgetOptions()java.util.List<java.lang.String>getSelectedTags()java.lang.StringinsertTaggedValues(java.lang.String source)voidinternalApplyProperties(PropertyManager man)Applies properties from given property managerprotected voidinternalSpecificUpdate()booleanisHTMLText()booleanisInInitialPositionOnFrame()Indicates if diagram properties shape is in the initial position and not moved by the user.booleanisUseCustomHTML()voidmakeFreeSpaceInDiagram()voidpropertyChange(java.beans.PropertyChangeEvent e)Listens for property change it can be: data was edited text box was editedprivate static TaggedValuesetTaggedValue(Diagram diagram, Property tag, java.util.function.Supplier<java.lang.String> newValueSupplier)static voidupdateModificationTime(Diagram diagram)Update diagram modification timevoidupdateViewAfterPropertyChange()- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.TextBoxView
canFill, checkShowsProxy, draw, getActualProperty, getDefaultDimension, getDynamicStyleOwner, getParentSymbolPropertyOwner, internalGetHeaderInsets, internalSilentApply, isLabelMode, isStereotypeLabel, isTextBoxLabelMode, minimumSizeForShrinkingIgnoringOrientation, mustShowContextMenu, needAdjustToMaximumDimension, paintSelf, providesHorizontalCenterline, providesVerticalCenterline, resizeParent, rotateBoundsForHeaderOrientation, setForcedToBeFillable, setHeaderOrientationVertical, setLabelMode, setStereotypeLabel, setVisibility, snapsToCenterlines, sSetVisibility, useParentProperties 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.TextShapeView
clone, editName, getName, getNameLabel, getTextObject, getUserText, hasText, internalGetSelfManipulationPreferredSize, isHeaderOrientationVertical, isWrapEnabled, setAutosize, setHTMLText, setName, setTextObject, setWrapEnabled, sSetAutosize, sSetHeaderOrientationVertical, sSetHTMLText, sSetName, sSetTextObject, sSetWrapEnabled 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
autosize, autosizeAndResizeParent, calculateMinY, calculateOvalShapePreferredSize, canAddInstance, correctChildrenVector, coversPoint, createBoundsShape, createStateForUpdateOperation, doInternalLayoutChildren, getAdditionalHeaderHeightForPreferredBounds, getChildrenBoundsForPreferredBounds, getHeaderBoundsForPreferredBounds, getHeaderDistanceFromTopForOvalShape, getHeaderInsets, getHeaderMaxYForShrinkableShape, getHeaderObject, getHeaderVerticalPosition, getHeaderVerticalPositionForLayout, getOvalShapeAvailableWidth, getPreferredBounds, getPresentationElementAt, getProxyPresentationElementsStream, getStereotypesToDisplay, internalGetHeaderBoundsForPreferredBounds, internalLayoutChildren, internalPostSpecificUpdate, internalPostUpdatePresentationElement, internalPreSpecificUpdate, internalUpdatePresentationElement, invalidate, isBorderVisible, isChildLayoutable, isContentHidden, isOvalShape, isParentShowsProxy, minimumDimension, minimumDimensionForShrinking, minimumSizeIgnoringOrientation, paintChildren, preferredDimension, preferredSizeIgnoringOrientation, setHeaderObject, setHeaderVerticalPosition, setTextEditable, sSetHeaderVerticalPosition, switchWidthHeightIfVerticalOrientation 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
addPresentationElement, addPresentationElement, addPresentationElementWithoutResize, adjustBoundsForMoving, adjustChildBoundsForMoving, autosizeByChildren, calculateAutosizeDimension, calculateAutosizeDimension, canAddChild, canMoveChildOutside, childrenBoundsForReshape, clearShowsProxy, constructLayoutHelper, getChildrenBounds, getChildrenInsets, getChildrenOnBorderBounds, getContainerBounds, getLayoutHelper, getLayoutHelperClone, getManipulatedElementAt, getManipulationPreferredDimension, getPresentationElementIndex, getPresentationElements, getRemovableChildren, hasManipulatedChildrenIncludingIndirect, hasManipulatedShapesNotOnEdge, hasManipulatedShapesOnEdge, hasManipulatedShapesOnEdge, internalAddIndirectManipulatedChildrenRect, internalAppendChildRect, internalGetChildAt, internalGetIndirectManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalGetManipulatedChildrenRect, internalRecursiveAutosizeForChildren, internalSetChildren, isCanChildrenChangeEdge, isCanMoveChildren, isChildMovable, layoutChildren, moveChild, moveChildren, needAdjustToPreferred, paintChildrenBackground, prefDimensionByManipulatedChildren, recursiveAutosize, removePresentationElement, removePresentationElement, sAddPresentationElement, setBounds, setBounds, setCanMoveChildren, setDummyResizeMode, setFillColor, 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, 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, getPreferredDimensionForAutosize, getReshapeMode, getSuspendShapeAutoResizeMode, hasManipulator, initialize, internalGetBoundsShape, intersects, isAutosized, isCenterlineInner, isHorizontalCenterlineProvider, isOnEdge, isShrinkable, isSnapShapesOnBorderToGrid, isSnapToGrid, isUseFixedConnectionPoints, isVerticalCenterlineProvider, layoutChildren, maximumDimension, minimumOrMinimumShrinkableDimension, moveLinksToSelf, movePathElement, movePathElements, onChildEdgeChange, prepareForShadowDrawing, resetCalculatePreferredRegardingChildren, setBorderElementMargin, setCalculatePreferredRegardingChildren, setLoadedDimension, setMinimumDimension, setNeedAutosizeFlag, setOldRect, setOnEdge, setPreferredDimension, setReshapeMode, setSnapShapesOnBorderToGrid, setSuspendShapeAutoResizeMode, setUseFixedConnectionPoints, shouldDrawShadow, simpleSetBounds, simpleSetBounds, sSetBorderElementMargin, sSetBounds, sSetSuspendShapeAutoResizeMode, toString, updateLater 
- 
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
addConnectedPathElement, disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, removeConnectedPathElement, sAddConnectedPathElement, selectPathsForMoving, setParent, 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, changeProperties, changeProperty, changePropertyManager, checkElementParentOnAdd, checkProxyVisibility, childrenForMoving, clearAntialiasingState, collectSubManipulatedElements, collectSubPresentationElements, collectSubPresentationElements, collectSubShowingPresentationElements, constructChangePropertyCommand, createPropertyChangeListener, createPropertyManager, disposeChildren, disposeListener, 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, getAdditionalRenderersToNotify, getAssignableModelElementsClasses, getBooleanPropertyValue, getBoundsShape, getBoundsToRepaint, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDrawComparator, getDynamicConfigurations, getElementNumberDisplayMode, getElementsForLinkConnecting, getElementToConnectLink, getElementToMove, getExpectedDataParent, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getNotZoomedTolerance, getObjectParent, getParent, 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, internalBeforeUpdate, internalCreatePropertyChangeListener, internalGetElementsForLinkConnecting, internalGetElementToConnectLink, 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, notifyCreated, notifyDiagramFrameSizeChange, notifyRepaintManager, onFind, onFind, onFontChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintSelfBackground, preDisposeOnUpdate, prepareForFillDrawing, prepareForLineDrawing, prepareForTextDrawing, recreateListeners, registerInSortManager, rememberBounds, rememberBounds, removeFromSortManager, removeItSelfOnUpdate, 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, sSetElement, sSetLineWidth, sSetLocation, sSetLocation, sSetParent, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateAfterLoad, updateLabelsIgnoringSuspendableLater, updateModelByView, updateModelByViewInternal 
- 
Methods inherited from class com.nomagic.magicdraw.uml.MDElementImpl
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canDeleteChild, compareTo, createSortKeys, getClassType, getCommandForAppending, getID, getProject, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setProjectProvider, sGetID 
 - 
 
 - 
 
- 
- 
Field Detail
- 
TAG_DELIMITER
public static final java.lang.String TAG_DELIMITER
- See Also:
 - Constant Field Values
 
 
- 
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
 - Constant Field Values
 
 
- 
TAG_VALUE
public static final java.lang.String TAG_VALUE
- See Also:
 - Constant Field Values
 
 
- 
DIAGRAM_NAME
public static final java.lang.String DIAGRAM_NAME
- See Also:
 - Constant Field Values
 
 
- 
DIAGRAM_TYPE
public static final java.lang.String DIAGRAM_TYPE
- See Also:
 - Constant Field Values
 
 
- 
DOCUMENTATION
public static final java.lang.String DOCUMENTATION
- See Also:
 - Constant Field Values
 
 
- 
BGCOLOR
public static final java.lang.String BGCOLOR
- See Also:
 - Constant Field Values
 
 
- 
TXTCOLOR
public static final java.lang.String TXTCOLOR
- See Also:
 - Constant Field Values
 
 
- 
PENCOLOR
public static final java.lang.String PENCOLOR
- See Also:
 - Constant Field Values
 
 
- 
FREE_SPACE
public static final int FREE_SPACE
- See Also:
 - Constant Field Values
 
 
- 
TEMPLATE_FILE
public static final java.lang.String TEMPLATE_FILE
 
- 
DEFAULT_KEYWORDS
public static final java.util.List<java.lang.String> DEFAULT_KEYWORDS
 
- 
BORDER_WIDTH
public static final int BORDER_WIDTH
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
isUseCustomHTML
public boolean isUseCustomHTML()
 
- 
canDisplayHTMLText
public boolean canDisplayHTMLText()
 
- 
isHTMLText
public boolean isHTMLText()
- Specified by:
 isHTMLTextin interfacecom.nomagic.magicdraw.uml.symbols.shapes.PlainTextOrHTMLChangeable- Overrides:
 isHTMLTextin classcom.nomagic.magicdraw.uml.symbols.shapes.TextShapeView
 
- 
createTextArea
protected com.nomagic.magicdraw.uml.symbols.shapes.TextAreaView createTextArea()
- Overrides:
 createTextAreain classcom.nomagic.magicdraw.uml.symbols.shapes.TextShapeView
 
- 
updateViewAfterPropertyChange
public void updateViewAfterPropertyChange()
 
- 
internalSpecificUpdate
protected void internalSpecificUpdate()
- Overrides:
 internalSpecificUpdatein classcom.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
 
- 
getOptions
private ProjectOptions getOptions()
 
- 
atInsert
public void atInsert()
Description copied from class:PresentationElementInvalidates object at insert- Specified by:
 atInsertin interfaceBaseElement
 
- 
dispose
public void dispose()
Description copied from class:PresentationElementdisposes ends of links when link is deleted- Specified by:
 disposein interfaceBaseElement
 
- 
getHTMLTemplateFileName
public static java.lang.String getHTMLTemplateFileName()
 
- 
constructStandardModeText
public static java.lang.String constructStandardModeText(java.util.Collection<java.lang.String> keywords)
 
- 
accept
public void accept(Visitor visitor) throws java.lang.Exception
Description copied from interface:MDElementMethod accepts visitor, and calls method visit<class name>(this) of visitor . See Visitor pattern for more details. 
- 
canBeAutosized
public boolean canBeAutosized()
 
- 
getElement
public Diagram getElement()
Description copied from class:PresentationElementReturns model element of this presentation element. Some presentation elements (for example TextBoxes) do not have model elements.- Specified by:
 getElementin interfaceModelElementProvider- Overrides:
 getElementin classPresentationElement- Returns:
 - model element of this presentation element.
 
 
- 
insertTaggedValues
public java.lang.String insertTaggedValues(java.lang.String source)
 
- 
getSelectedTags
public java.util.List<java.lang.String> getSelectedTags()
- Returns:
 - names of selected for displaying tag definitions names, including some hardcoded constants like DIAGRAM_NAME etc.
 
 
- 
canHavePaths
public boolean canHavePaths()
- Returns:
 - true if symbol can have connected paths. Return false here.
 
 
- 
canBeDeleted
public boolean canBeDeleted()
Description copied from interface:BaseElementChecks if element can be deleted from project. Element cannot be deleted if it is not isEditable(), parent is not set or parent does not allow to remove this element.- Specified by:
 canBeDeletedin interfaceBaseElement- Overrides:
 canBeDeletedin classcom.nomagic.magicdraw.uml.MDElementImpl- Returns:
 - true, if element can be deleted from project.
 - See Also:
 BaseElement.isEditable()
 
- 
updateModificationTime
public static void updateModificationTime(Diagram diagram)
Update diagram modification time- Parameters:
 diagram- diagram
 
- 
setTaggedValue
@CheckForNull private static TaggedValue setTaggedValue(Diagram diagram, @CheckForNull Property tag, java.util.function.Supplier<java.lang.String> newValueSupplier)
 
- 
getHumanName
public java.lang.String getHumanName()
Description copied from class:PresentationElementReturns human representation of the data type- Specified by:
 getHumanNamein interfaceBaseElement- Overrides:
 getHumanNamein classcom.nomagic.magicdraw.uml.symbols.shapes.TextShapeView- Returns:
 - the name of the data
 
 
- 
makeFreeSpaceInDiagram
public void makeFreeSpaceInDiagram()
 
- 
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
Description copied from class:PresentationElementListens for property change it can be: data was edited text box was edited- Specified by:
 propertyChangein interfacejava.beans.PropertyChangeListener
 
- 
internalApplyProperties
public void internalApplyProperties(PropertyManager man)
Description copied from class:PresentationElementApplies properties from given property manager- Parameters:
 man- new properties
 
- 
createSmartListenerConfig
protected void createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
 
- 
canChangeParent
public boolean canChangeParent(java.util.Collection<? extends PresentationElement> movedTogether, @CheckForNull BaseElement newParent, boolean changeElementParent)
Description copied from class:PresentationElementReturns true, if element can change parent.- Parameters:
 movedTogether- collection of the elements, whose will change the parent together with this.newParent- new symbol parentchangeElementParent- change element parent- Returns:
 - true if parent of symbol can be changed
 
 
- 
isInInitialPositionOnFrame
public boolean isInInitialPositionOnFrame()
Indicates if diagram properties shape is in the initial position and not moved by the user.- Returns:
 - true if diagram properties shape is in initial position, false otherwise.
 
 
 - 
 
 -