Interface PRDiaEdge
-
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MMFormatAble,PRPresContent,PRPresElement
- All Known Subinterfaces:
ACDiaConstraintEdge,ACDiaException,ACDiaFlowEdge,BPDiaAssocEdge,BPDiaDataAssocEdge,BPDiaFlowEdge,BPDiaGroupAssignment,BPDiaMappingAssoc,BPDiaMessageFlow,BPDiaRedundantEdge,BPDiaSequenceFlow,BPDiaStructureEdge,BPDiaSupportEdge,BPDiaTermEdge,BPDiaViewContentEdge,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
public interface PRDiaEdge extends PRPresContent
This is a utility class for PRDiaEdge that provides static methods for creation or other purposes.- See Also:
PRDiaEdgeHelper- 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 Modifier and Type Interface Description static classPRDiaEdge.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<PRDiaSegEdge>createEdgeSegs()java.util.List<java.awt.Point>getAbsoluteEdgePositions()Returns the absolute points or positions (relative to the upper left (0,0) corner of the diagram) which define the edge.java.util.List<java.awt.Point>getEdgePositions()Returns the points or positions which define the edge.K_PREDGETYPEgetEdgeType()Returns the type of the edge.java.util.List<PRDiaEdgePoint>getOwnedEdgePoint(K_CONTROL_OPTION... behaviourFlags)PRPresElementgetPresContainer(PRPresElement refObj)The presentation container of this Diagram Edge.PRPresContentgetSource()The source node of this edge.java.util.List<PRDiaEdgeSeg>getSourceEdgeSeg(K_CONTROL_OPTION... behaviourFlags)The combination of edge and node at the source side of thePRDiaEdge.java.awt.PointgetSourceTextPosition()The position of the text on source side of this edge.intgetSourceTextPresentationLevel()Presentation level of text on source side of thisPRDiaEdge.java.awt.PointgetSourceTextSize()The size of the text on source side of this edge.PRPresContentgetTarget()The target node of this edge.java.util.List<PRDiaEdgeSeg>getTargetEdgeSeg(K_CONTROL_OPTION... behaviourFlags)The combination of edge and node at the target side of thePRDiaEdge.java.awt.PointgetTargetTextPosition()The position of the text on target side of this edge.intgetTargetTextPresentationLevel()Presentation level of text on target side of thisPRDiaEdge.java.awt.PointgetTargetTextSize()The size of the text on target side of this edge.voidsetEdgePositions(java.util.List<java.awt.Point> seq)Sets the positions that define the edge.voidsetEdgeType(K_PREDGETYPE value)Set the value of Attribut EdgeType.voidsetSourceTextCoord(java.awt.Point posNode, java.awt.Point sizNode)Sets the position and the size of the source text.voidsetSourceTextPosition(java.awt.Point item)Sets the position of the source text.voidsetSourceTextPresentationLevel(int value)Set the value of Attribut SourceTextPresentationLevel.voidsetSourceTextSize(java.awt.Point item)Sets the size of the source text.voidsetTargetTextCoord(java.awt.Point posNode, java.awt.Point sizNode)Sets the position and the size of the target text.voidsetTargetTextPosition(java.awt.Point item)Sets the position of the target text.voidsetTargetTextPresentationLevel(int value)Set the value of Attribut TargetTextPresentationLevel.voidsetTargetTextSize(java.awt.Point item)Sets the size of the target text.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormat
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresContent
getIncoming, getMEModelElement, getModelContainer, getOutgoing, getOwnedPresContent, getOwningPresContent, getOwningPresContext, getOwningPresElement, getPresentationLevel, getTextPosition, getTextSize, setPresentationLevel, setTextCoord, setTextPosition, setTextSize
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresElement
getOpacity, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setOpacity, setPresColor
-
-
-
-
Method Detail
-
getEdgeType
K_PREDGETYPE getEdgeType() throws InoNetException, SrvErrorException
Returns the type of the edge.- Throws:
InoNetExceptionSrvErrorException
-
setEdgeType
void setEdgeType(K_PREDGETYPE value) throws InoNetException, SrvErrorException
Set the value of Attribut EdgeType.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextPosition
java.awt.Point getSourceTextPosition() throws InoNetException, SrvErrorExceptionThe position of the text on source side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextSize
java.awt.Point getSourceTextSize() throws InoNetException, SrvErrorExceptionThe size of the text on source side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextPosition
java.awt.Point getTargetTextPosition() throws InoNetException, SrvErrorExceptionThe position of the text on target side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextSize
java.awt.Point getTargetTextSize() throws InoNetException, SrvErrorExceptionThe size of the text on target side of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getSourceTextPresentationLevel
int getSourceTextPresentationLevel() throws InoNetException, SrvErrorExceptionPresentation level of text on source side of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextPresentationLevel
void setSourceTextPresentationLevel(int value) throws InoNetException, SrvErrorExceptionSet the value of Attribut SourceTextPresentationLevel.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTargetTextPresentationLevel
int getTargetTextPresentationLevel() throws InoNetException, SrvErrorExceptionPresentation level of text on target side of thisPRDiaEdge.- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextPresentationLevel
void setTargetTextPresentationLevel(int value) throws InoNetException, SrvErrorExceptionSet the value of Attribut TargetTextPresentationLevel.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPresContainer
PRPresElement getPresContainer(PRPresElement refObj) throws InoNetException, SrvErrorException
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
java.util.List<java.awt.Point> getAbsoluteEdgePositions() throws InoNetException, SrvErrorExceptionReturns the absolute points or positions (relative to the upper left (0,0) corner of the diagram) which define the edge.- Throws:
InoNetExceptionSrvErrorException
-
getEdgePositions
java.util.List<java.awt.Point> getEdgePositions() throws InoNetException, SrvErrorExceptionReturns the points or positions which define the edge.- Throws:
InoNetExceptionSrvErrorException
-
createEdgeSegs
java.util.List<PRDiaSegEdge> createEdgeSegs() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
setEdgePositions
void setEdgePositions(java.util.List<java.awt.Point> seq) throws InoNetException, SrvErrorExceptionSets the positions that define the edge.- Parameters:
seq-- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextCoord
void setSourceTextCoord(java.awt.Point posNode, java.awt.Point sizNode) throws InoNetException, SrvErrorExceptionSets the position and the size of the source text.- Parameters:
posNode-sizNode-- Throws:
InoNetExceptionSrvErrorException
-
setSourceTextPosition
void setSourceTextPosition(java.awt.Point item) throws InoNetException, SrvErrorExceptionSets 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
void setSourceTextSize(java.awt.Point item) throws InoNetException, SrvErrorExceptionSets 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
void setTargetTextCoord(java.awt.Point posNode, java.awt.Point sizNode) throws InoNetException, SrvErrorExceptionSets the position and the size of the target text.- Parameters:
posNode-sizNode-- Throws:
InoNetExceptionSrvErrorException
-
setTargetTextPosition
void setTargetTextPosition(java.awt.Point item) throws InoNetException, SrvErrorExceptionSets 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
void setTargetTextSize(java.awt.Point item) throws InoNetException, SrvErrorExceptionSets 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
java.util.List<PRDiaEdgeSeg> getSourceEdgeSeg(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The combination of edge and node at the source side of thePRDiaEdge.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getTargetEdgeSeg
java.util.List<PRDiaEdgeSeg> getTargetEdgeSeg(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The combination of edge and node at the target side of thePRDiaEdge.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedEdgePoint
java.util.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
PRPresContent getSource() throws InoNetException, SrvErrorException
The source node of this edge.- Throws:
InoNetExceptionSrvErrorException
-
getTarget
PRPresContent getTarget() throws InoNetException, SrvErrorException
The target node of this edge.- Throws:
InoNetExceptionSrvErrorException
-
-