Interface PRDiaEdge
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MMFormatAble,PRPresContent,PRPresElement
- All Known Subinterfaces:
ACDiaConstraintEdge,ACDiaException,ACDiaFlowEdge,BPDiaAssocEdge,BPDiaDataAssocEdge,BPDiaDataSeqFlowEdge,BPDiaFlowEdge,BPDiaMessageFlow,BPDiaSequenceFlow,BPDiaSupportEdge,BRDiaResourceEdge,BRDiaResourceHierEdge,BRDiaResourceNonHierEdge,BSDiaTransitionEdge,CLDiaAssocEndEdge,CLDiaCnstrLinkEdge,CLDiaCommPathEdge,CLDiaConnectorEdge,CLDiaInstLinkEdge,CLDiaMergeAbleEdge,CLDiaOwnershipEdge,CLDiaPartEdge,CLDiaPortBehaviorEdge,CLDiaReferenceEdge,CLDiaRelshipLinkEdge,CLDiaSocketBallEdge,DBDiaCnstrLinkEdge,DBDiaReferenceEdge,DRDiaRequirementEdge,ERDiaCnstrLinkEdge,ERDiaCubeDimensionEdge,ERDiaCubeDimensionHierarchyEdge,ERDiaDimensionLevelEdge,ERDiaDimensionPrecedenceEdge,ERDiaGeneralizationEdge,ERDiaHierarchyEdge,ERDiaHierarchyLevelEdge,ERDiaReferenceEdge,ERDiaRelshipEdge,ERDiaRoleEdge,GCDiaConceptEdge,IMDiaCnstrLinkEdge,IMDiaEdge,PRDiaAttachmentEdge,PRDiaCalloutEdge,PRDiaNoteEdge,PRDiaSegEdge,PRDiaWhiteboardAttributeEdge,PRDiaWhiteboardEdge,SMDiaConstraintEdge,SMDiaTransEdge,SQDiaConstraintEdge,SQDiaMessageEdge,SQDiaOrderingEdge
This is a utility class for PRDiaEdge that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface PRDiaEdge describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the absolute points or positions (relative to the upper left (0,0) corner of the diagram) which define the edge.Returns the points or positions which define the edge.Returns the type of the edge.getOwnedEdgePoint(K_CONTROL_OPTION... behaviourFlags) getPresContainer(PRPresElement refObj) The presentation container of this Diagram Edge.The source node of this edge.The combination of edge and node at the source side of thePRDiaEdge.The horizontal source text alignment of thisPRDiaEdge.The position of the text on source side of this edge.intPresentation level of text on source side of thisPRDiaEdge.The size of the text on source side of this edge.The vertical source text alignment of thisPRDiaEdge.The target node of this edge.The combination of edge and node at the target side of thePRDiaEdge.The horizontal target text alignment of thisPRDiaEdge.The position of the text on target side of this edge.intPresentation level of text on target side of thisPRDiaEdge.The size of the text on target side of this edge.The vertical target text alignment of thisPRDiaEdge.Returns the user defined type of the edge.voidsetEdgePositions(List<Point> seq) Sets the positions that define the edge.voidsetEdgeType(K_PREDGETYPE value) Set the value of Attribut EdgeType.voidsetSourceTextCoord(Point posNode, Point sizNode) Sets the position and the size of the source text.voidSet the value of Attribut SourceTextHorizontalAlignment.voidsetSourceTextPosition(Point item) Sets the position of the source text.voidsetSourceTextPresentationLevel(int value) Set the value of Attribut SourceTextPresentationLevel.voidsetSourceTextSize(Point item) Sets the size of the source text.voidSet the value of Attribut SourceTextVerticalAlignment.voidsetTargetTextCoord(Point posNode, Point sizNode) Sets the position and the size of the target text.voidSet the value of Attribut TargetTextHorizontalAlignment.voidsetTargetTextPosition(Point item) Sets the position of the target text.voidsetTargetTextPresentationLevel(int value) Set the value of Attribut TargetTextPresentationLevel.voidsetTargetTextSize(Point item) Sets the size of the target text.voidSet the value of Attribut TargetTextVerticalAlignment.voidsetUserEdgeType(K_PREDGETYPE value) Set the value of Attribut UserEdgeType.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormatMethods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresContent
getIncoming, getMEModelElement, getModelContainer, getOutgoing, getOwnedPresContent, getOwningPresContent, getOwningPresContext, getOwningPresElement, getPresentationLevel, getTextHorizontalAlignment, getTextPosition, getTextSize, getTextVerticalAlignment, setPresentationLevel, setTextCoord, setTextHorizontalAlignment, setTextPosition, setTextSize, setTextVerticalAlignmentMethods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresElement
getDiagramTagValue, getOpacity, getOwnedDiagramTags, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setDiagramTagValue, setOpacity, setPresColor
-
Method Details
-
getEdgeType
Returns the type of the edge.- Throws:
InoNetExceptionSrvErrorException
-
setEdgeType
Set the value of Attribut EdgeType.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getUserEdgeType
Returns the user defined type of the edge.- Throws:
InoNetExceptionSrvErrorException
-
setUserEdgeType
Set the value of Attribut UserEdgeType.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextPosition
The position of the text on source side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextSize
The size of the text on source side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextPosition
The position of the text on target side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextSize
The size of the text on target side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextPresentationLevel
Presentation level of text on source side of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextPresentationLevel
Set the value of Attribut SourceTextPresentationLevel.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextPresentationLevel
Presentation level of text on target side of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextPresentationLevel
Set the value of Attribut TargetTextPresentationLevel.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextHorizontalAlignment
The horizontal source text alignment of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextHorizontalAlignment
Set the value of Attribut SourceTextHorizontalAlignment.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextVerticalAlignment
The vertical source text alignment of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextVerticalAlignment
Set the value of Attribut SourceTextVerticalAlignment.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextHorizontalAlignment
The horizontal target text alignment of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextHorizontalAlignment
Set the value of Attribut TargetTextHorizontalAlignment.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextVerticalAlignment
The vertical target text alignment of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextVerticalAlignment
Set the value of Attribut TargetTextVerticalAlignment.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPresContainer
The presentation container of this Diagram Edge. A context of this element may be specified byargument refObj.- Parameters:
refObj- A further instance of type PRPresElement which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-
getAbsoluteEdgePositions
Returns the absolute points or positions (relative to the upper left (0,0) corner of the diagram) which define the edge.- Throws:
InoNetExceptionSrvErrorException
-
getEdgePositions
Returns the points or positions which define the edge.- Throws:
InoNetExceptionSrvErrorException
-
createEdgeSegs
- Throws:
InoNetExceptionSrvErrorException
-
setEdgePositions
Sets the positions that define the edge.- Parameters:
seq-- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextCoord
Sets the position and the size of the source text.- Parameters:
posNode-sizNode-- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextPosition
Sets the position of the source text. Zero values will cause the Innovator diagram to calculate default values for the position the next time this element has to be displayed.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextSize
Sets the size of the source text. Zero values will cause the Innovator diagram to calculate default values for the size the next time this element has to be displayed.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextCoord
Sets the position and the size of the target text.- Parameters:
posNode-sizNode-- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextPosition
Sets the position of the target text. Zero values will cause the Innovator diagram to calculate default values for the position the next time this element has to be displayed.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextSize
Sets the size of the target text. Zero values will cause the Innovator diagram to calculate default values for the size the next time this element has to be displayed.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
getSourceEdgeSeg
The combination of edge and node at the source side of thePRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
getTargetEdgeSeg
The combination of edge and node at the target side of thePRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedEdgePoint
List<PRDiaEdgePoint> getOwnedEdgePoint(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getSource
The source node of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getTarget
The target node of this edge.- Throws:
InoNetExceptionSrvErrorException
-