Class LinkView
- 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.paths.PathElement
-
- com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
-
- com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
-
- com.nomagic.magicdraw.uml.symbols.paths.LinkView
-
- All Implemented Interfaces:
BaseElement
,com.nomagic.magicdraw.uml.CompartmentSupport
,MDElement
,ModelElementProvider
,com.nomagic.magicdraw.uml.symbols.LabelOwner
,com.nomagic.magicdraw.uml.symbols.LineJumpDrawer
,StereotypesDisplayModeOwner
,com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider
,NameOwner
,java.beans.PropertyChangeListener
,java.lang.Cloneable
,java.lang.Comparable
,java.util.EventListener
@OpenApi public class LinkView extends com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
LinkView
represents instance specification whose classifier is an association. It is shown using the same notation as for an association, but the solid path connects instance specifications rather than classifiers.Link end names represent corresponding association end names. Navigation arrows are shown and they agree with the navigation of corresponding association ends.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
com.nomagic.magicdraw.uml.symbols.paths.LinkView.LinkLabelLayouter
Vertical layouter for Link labels.private static class
com.nomagic.magicdraw.uml.symbols.paths.LinkView.RoleLabelWrapper
Wrapper for label used to display role's name.-
Nested classes/interfaces inherited from class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype.AbstractConveyedInformationLabelWrapper, com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype.ConveyedInformationSourceToTargetLabelWrapper, com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype.ConveyedInformationTargetToSourceLabelWrapper
-
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.paths.LinkWithStereotype
ARROW_ADORNMENT_SIZE, CONVEYED_BOX_A_DISTANCE, CONVEYED_BOX_B_DISTANCE
-
Fields inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathElement
BEZIER, LINE_STYLE, OBLIQUE, RECTILINEAR
-
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.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 LinkView()
LinkView(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 .boolean
canHavePaths()
protected void
createLabels()
protected com.nomagic.magicdraw.uml.symbols.shapes.NameLabelWrapper
createNameLabelWrapper()
protected void
createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
Association
getAssociation()
Gets association related to this link.java.util.Collection
getClassifiers()
InstanceSpecification
getElement()
Returns model element of this presentation element.Property
getFirstMemberEnd()
Gets first member end of assigned association.TextBoxView
getRoleA()
Gets role A of assigned association.com.nomagic.magicdraw.uml.symbols.shapes.LabelWrapper
getRoleALabelWrapper()
TextBoxView
getRoleB()
Gets role B of assigned association.com.nomagic.magicdraw.uml.symbols.shapes.LabelWrapper
getRoleBLabelWrapper()
Property
getSecondMemberEnd()
Gets second member end of assigned association.com.nomagic.magicdraw.uml.symbols.shapes.LabelWrapper
getSlotsLabelWrapper()
Gets Slots value compartment label wrapperTextBoxView
getSlotsTextBox()
Gets text box symbol of Slot value compartmentint
getSupplierConnectionType()
void
internalApplyProperties(PropertyManager man)
Applies propertiesvoid
internalSilentApply()
Silently applies all properties after initializationboolean
isShowNavigability()
Returns "Show Navigability" symbol property value.boolean
isShowRoleA()
Returns "Show Role A" symbol property value.boolean
isShowRoleB()
Returns "Show Role B" symbol property value.boolean
representsAssociationClass()
Returns true if this link has association class as its instance specification.void
setShowNavigability(boolean show)
Sets "Show Navigability" symbol property value.void
setShowRoleA(boolean show)
Sets "Show Role A" symbol property value.void
setShowRoleB(boolean show)
Sets "Show Role B" symbol property value.void
sSetShowNavigability(boolean show)
Simple sets (silent, no updates) "Show Navigability" symbol property value.void
sSetShowRoleA(boolean show)
Simple sets (silent, no updates) "Show Role A" symbol property value.void
sSetShowRoleB(boolean show)
Simple sets (silent, no updates) "Show Role B" symbol property value.void
updateNameBox()
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
canDisplayConveyedInformation, createCompartmentElements, createInformationFlowSmartListenerConfig, createStereotypeLabelWrapper, drawConveyedInformation, getCollections, getConstraintLabelBox, getConstraintLabelWrapper, getConstraintTextMode, getConveyedInformationSourceToTargetLabelWrapper, getConveyedInformationTargetToSourceLabelWrapper, getConveyedSourceToTargetLabelBox, getConveyedTargetToSourceLabelBox, getDSLStereotypesDisplayMode, getElementLabel, getElementPropertiesLabelBox, getElementPropertiesLabelWrapper, getPathAdornmentSize, getStereotypeLabelBox, getStereotypeLabelWrapper, getStereotypesDisplayMode, getTaggedValueLabelBox, getTaggedValueLabelWrapper, internalGetLogicalClientElementForConveyedInformation, isShowConstraints, isShowConveyedSourceToTarget, isShowConveyedTargetToSource, isShowElementLabel, paintChildren, setCollections, setConstraintTextMode, setDSLStereotypesDisplayMode, setShowConstraints, setShowConveyedSourceToTarget, setShowConveyedTargetToSource, setStereotypesDisplayMode, setVisibleElements, sSetConstraintTextMode, sSetDSLStereotypesDisplayMode, sSetShowConstraints, sSetShowConveyedSourceToTarget, sSetShowConveyedTargetToSource, sSetShowTaggedValues, sSetStereotypesDisplayMode
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
addLabel, addPresentationElement, canAddChild, canAddInstance, clearShowsProxy, clone, editName, getLabelHandler, getManipulatedElementAt, getName, getNameLabelBox, getNameLabelWrapper, getPresentationElementAt, getPresentationElementIndex, getPresentationElements, getProxyPresentationElementsStream, internalUpdatePresentationElement, isChildVisible, isLabelWrapText, isNameWrapped, isShowNameBox, layoutLabelOnNotifyBreakPointsChanged, notifyBreakPointsChanged, notifyBreakPointsChangedForElement, recursiveAutosize, removeLabel, removePresentationElement, sAddPresentationElement, setLocationForChild, setName, setNameResizeLabel, setNameWrapped, setPresentationElements, setShowNameBox, setSuspendLabelAutoDisplayMode, setSuspendShapeAutoResizeMode, setTextEditable, sRemovePresentationElement, sSetElement, sSetNameWrapped, sSetPresentationElements, sSetShowNameBox, sSetSuspendLabelAutoDisplayMode, updateChildren
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathElement
addConnectedPathElement, addLineJumps, applyStrokeForLineDrawing, askDeleteDataConfirmation, atInsert, breakPointsChanged, cacheActualDrawPoints, cacheValues, calculatePathBounds, canChangeClient, canChangeLineStyle, canChangeSupplier, canClearBreakPoints, clearClientTranslation, clearRegisteredLineJumpInfos, clearSupplierTranslation, coversPoint, dispose, draw, draw, dynamicPathIcon, dynamicPathIcon, findOtherExistingElement, getActualClientDrawPoint, getActualSupplierDrawPoint, getAllBreakPoints, getBezierPath, getBezierPath, getBounds, getBoundsToRepaint, getBreakPoint, getBreakPointCount, getBreakPoints, getCachedActualClientDrawPoint, getCachedActualSupplierDrawPoint, getClient, getClientConnectionType, getClientDrawPoint, getClientPoint, getCustomClientPoint, getCustomStereotypeIcon, getCustomSupplierPoint, getDefaultParentForData, getIndexOfCoveredPath, getIndexOfCoveredPathInternal, getIntersection, getLineJumpStartAngle, getLinkLineStyle, getMiddlePoint, getNearestLinkPart, getNearestPoint, getNewBreakPointIndex, getNewPointByTheLink, getNextEnd, getNextPoint, getNotCopyBounds, getPathIcon, getPathPainter, getPaths, getPointOnPath, getPreviousPoint, getSupplier, getSupplierDrawPoint, getSupplierPoint, getSuspendShapeAutoResizeMode, handleRemoveBreaksAction, hasClientPoint, hasManipulator, hasSharedData, hasSupplierPoint, internalGetBoundsShape, internalGetPresentationElementStroke, internalGetPresentationElementStroke, internalGetPresentationElementStroke, internalMovedAsToSelf, internalSnapToGrid, intersects, intersectsInternal, isAlwaysToSelf, isBezier, isBezierIntersects, isBreakable, isConnectable, isConnectable, isDrawLineJumps, isFixed, isOblique, isRectilinear, isRounded, isSmartLayoutNeeded, isSnapToGrid, isToSelf, isUseFlowLayoutLogic, isVertical, makeRectilinear, makeRectilinear, moveLinkToClientParent, movePathElement, needsToMoveOtherEnd, nextStyle, notifyRepaintManager, notifyRepaintManager, optimizeLoops, paintSelf, preDisposeOnUpdate, prepareForFillDrawing, prepareForLineDrawing, registerLineJumpInfos, registerLineJumpStartAngle, removeBreakPoints, removeBreaks, removeRedundantBreakPoints, removeUnnecessaryBreakPoints, resetCache, resizeParent, sAddBreakPoint, sClearBreakPoints, setBounds, setBreakable, setBreakPoints, setCachedPathBounds, setClient, setClientPoint, setCustomClientPoint, setCustomSupplierPoint, setLineJumpPlace, setLinkLineStyle, setPathPainter, setRectilinear, setRounded, setSmartLayoutNeeded, setSupplier, setSupplierPoint, simpleSetBounds, sSetBounds, sSetBreakable, sSetBreakPoint, sSetBreakPoints, sSetClient, sSetClientPoint, sSetLinkLineStyle, sSetParent, sSetRounded, sSetSupplier, sSetSupplierPoint, sSetSuspendShapeAutoResizeMode, swapEnds, translateClientPoint, translateSupplierPoint
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.paths.PathConnector
checkShowsProxy, disposeConnectedPaths, findSymbolForEnd, findSymbolForEnd, getConnectedPathElement, getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements, getPreferredArrowLength, isShowsProxy, movePathElement, movePathElements, removeConnectedPathElement, sAddConnectedPathElement, selectPathsForMoving, setParent, setVisibility, sRemoveConnectedPathElement, sSetConnectedPathElements, sSetVisibility
-
Methods inherited from class com.nomagic.magicdraw.uml.symbols.PresentationElement
addPresentationElement, addPresentationElementWithoutResize, addProperty, adjustBoundsForMoving, adjustChildBounds, adjustChildBoundsForMoving, alwaysShowTooltip, applyProperties, atInsertChildren, autosizeAndResizeManipulatedParent, autosizeAndResizeParent, 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, 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, getAdditionalRenderersToNotify, getAssignableModelElementsClasses, getBooleanPropertyValue, getBoundsShape, getBoundsWithChildrenOnEdge, getCenterlinePoint, getCenterlinePointX, getCenterlinePointY, getChildPresentationElementForContextMenu, getChildrenWithSymbolProperties, getConfiguration, getDiagramPresentationElement, getDiagramSurface, getDrawComparator, getDynamicConfigurations, getDynamicStyleOwner, getElementNumberDisplayMode, getElementsForLinkConnecting, getElementToConnectLink, getElementToMove, getExpectedDataParent, getFillColor, getFont, getFontHeight, getFontRenderContext, getHumanName, getHumanType, getLineColor, getLineWidth, getManipulatedElementAt, getManipulatedIntersectionWith, getManipulatedIntersectionWith, getManipulatedParent, getManipulatedPresentationElements, getManipulationBounds, getManipulationPreferredDimension, getMiddlePoint, getMiddlePointX, getMiddlePointX, getMiddlePointY, getMiddlePointY, getMinimumDimension, getNotZoomedTolerance, getObjectParent, getParent, getParentSymbolPropertyOwner, getPreferredBounds, getPreferredDimension, getPreferredDimensionForAutosize, 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, initialize, initializeAndAutosize, internalBeforeUpdate, internalCreatePropertyChangeListener, internalGetElementsForLinkConnecting, internalGetElementToConnectLink, internalSnapToGrid, invalidate, isCanChildrenChangeEdge, isContentHidden, isCreateElementListener, isDetectable, isDisposed, isLayouting, isMovableByMoveManager, isNotNull, isParentOf, isParentOf, isPreserveProportionsWhenGrowing, isSelected, isShowElementTypeAsLabel, isSortable, isTestUpdateFlag, isTextEditable, isUseFillColor, isUseFillColorByProperty, isUseGradientForFill, isVisible, isVisibleInDiagram, isVisibleOrShrunken, movePathElementsRecursively, mustShowContextMenu, notifyCreated, notifyDiagramFrameSizeChange, onFind, onFind, onFontChange, paintAdornments, paintAdornmentsBackground, paintChildrenAndAdornments, paintChildrenBackground, paintSelfBackground, prepareForLineDrawing, prepareForShadowDrawing, prepareForTextDrawing, propertyChange, recreateListeners, registerInSortManager, rememberBounds, rememberBounds, removeFromSortManager, removeItSelfOnUpdate, sAddPresentationElement, selectChildrenForMoving, selectObjectsForMoving, setAllSelected, setBounds, setCreateElementListener, setDiagramSurface, setDummyResizeMode, setElement, setFillColor, 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, sSetParentForAll, sSetSize, sSetSize, sSetSize, sSetVisible, tryToDeleteModelElementUponRemoval, update, updateAfterLoad, updateLabelsIgnoringSuspendableLater, updateLater, 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, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
LinkView
public LinkView()
-
LinkView
public LinkView(@CheckForNull PresentationElement parent)
-
-
Method Detail
-
createLabels
protected void createLabels()
- Overrides:
createLabels
in classcom.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
-
createNameLabelWrapper
protected com.nomagic.magicdraw.uml.symbols.shapes.NameLabelWrapper createNameLabelWrapper()
- Overrides:
createNameLabelWrapper
in classcom.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
-
getSupplierConnectionType
public int getSupplierConnectionType()
- Overrides:
getSupplierConnectionType
in classcom.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
-
canHavePaths
public boolean canHavePaths()
- Returns:
- true if symbol can have connected paths. Return false here.
-
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.
-
updateNameBox
public void updateNameBox()
- Overrides:
updateNameBox
in classcom.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
-
getAssociation
@CheckForNull public Association getAssociation()
Gets association related to this link. If more classifiers are assigned to the instance specification associated with this link, null is returned.- Returns:
- association if link represents single association, null otherwise.
-
getClassifiers
public java.util.Collection getClassifiers()
-
createSmartListenerConfig
protected void createSmartListenerConfig(java.util.List<SmartListenerConfig> configurations)
- Overrides:
createSmartListenerConfig
in classcom.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
-
representsAssociationClass
public boolean representsAssociationClass()
Returns true if this link has association class as its instance specification.- Returns:
- true if this link specifies association class, false otherwise.
-
isShowRoleA
public boolean isShowRoleA()
Returns "Show Role A" symbol property value.- Returns:
- "Show Role A" symbol property value.
-
sSetShowRoleA
public void sSetShowRoleA(boolean show)
Simple sets (silent, no updates) "Show Role A" symbol property value.- Parameters:
show
- "Show Role A" symbol property value to set.
-
setShowRoleA
public void setShowRoleA(boolean show)
Sets "Show Role A" symbol property value.- Parameters:
show
- "Show Role A" symbol property value to set.
-
isShowRoleB
public boolean isShowRoleB()
Returns "Show Role B" symbol property value.- Returns:
- "Show Role B" symbol property value.
-
sSetShowRoleB
public void sSetShowRoleB(boolean show)
Simple sets (silent, no updates) "Show Role B" symbol property value.- Parameters:
show
- "Show Role B" symbol property value to set.
-
setShowRoleB
public void setShowRoleB(boolean show)
Sets "Show Role B" symbol property value.- Parameters:
show
- "Show Role B" symbol property value to set.
-
isShowNavigability
public boolean isShowNavigability()
Returns "Show Navigability" symbol property value.- Returns:
- "Show Navigability" symbol property value.
-
sSetShowNavigability
public void sSetShowNavigability(boolean show)
Simple sets (silent, no updates) "Show Navigability" symbol property value.- Parameters:
show
- "Show Navigability" symbol property value to set.
-
setShowNavigability
public void setShowNavigability(boolean show)
Sets "Show Navigability" symbol property value.- Parameters:
show
- "Show Navigability" symbol property value to set.
-
internalApplyProperties
public void internalApplyProperties(PropertyManager man)
Description copied from class:PathElement
Applies properties- Overrides:
internalApplyProperties
in classcom.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
- Parameters:
man
- new properties
-
internalSilentApply
public void internalSilentApply()
Description copied from class:PresentationElement
Silently applies all properties after initialization- Overrides:
internalSilentApply
in classcom.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
-
getFirstMemberEnd
@CheckForNull public Property getFirstMemberEnd()
Gets first member end of assigned association.- Returns:
- first member end of assigned association or null if no association exists.
-
getSecondMemberEnd
@CheckForNull public Property getSecondMemberEnd()
Gets second member end of assigned association.- Returns:
- second member end of assigned association or null if no association exists.
-
getRoleA
@CheckForNull public TextBoxView getRoleA()
Gets role A of assigned association.- Returns:
- role A of assigned association.
-
getRoleALabelWrapper
public com.nomagic.magicdraw.uml.symbols.shapes.LabelWrapper getRoleALabelWrapper()
-
getRoleBLabelWrapper
public com.nomagic.magicdraw.uml.symbols.shapes.LabelWrapper getRoleBLabelWrapper()
-
getSlotsLabelWrapper
public com.nomagic.magicdraw.uml.symbols.shapes.LabelWrapper getSlotsLabelWrapper()
Gets Slots value compartment label wrapper- Returns:
- Slots value label wrapper
-
getRoleB
@CheckForNull public TextBoxView getRoleB()
Gets role B of assigned association.- Returns:
- role B of assigned association.
-
getSlotsTextBox
@CheckForNull public TextBoxView getSlotsTextBox()
Gets text box symbol of Slot value compartment- Returns:
- text box symbol
-
getElement
public InstanceSpecification 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 interfacecom.nomagic.magicdraw.uml.symbols.LabelOwner
- Specified by:
getElement
in interfaceModelElementProvider
- Overrides:
getElement
in classPresentationElement
- Returns:
- model element of this presentation element.
-
-