Interface PRDiaNode
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MMFormatAble,PRPresContent,PRPresElement
- All Known Subinterfaces:
ACDiaACNode,ACDiaActNode,ACDiaConstraintNode,ACDiaControlNode,ACDiaDecisionInputBehavior,ACDiaFlowSelBehavior,ACDiaFlowTransBehavior,ACDiaGroupNode,ACDiaHorGroupNode,ACDiaNodeSelBehavior,ACDiaObjNode,ACDiaPostNode,ACDiaPreNode,ACDiaTextNode,ACDiaValSpecNode,ACDiaVariableNode,ACDiaVerGroupNode,BPDiaArtifactNode,BPDiaCatchThrowNode,BPDiaCollaborationViewNode,BPDiaDataNode,BPDiaEventNode,BPDiaFlowNode,BPDiaGatewayNode,BPDiaGroupNode,BPDiaItemNode,BPDiaLaneNode,BPDiaMaskCompartmentEntry,BPDiaMaskCompartmentNode,BPDiaMaskTaskNode,BPDiaMessageFlowNode,BPDiaParticipantNode,BPDiaProcessViewNode,BPDiaResourceNode,BPDiaSequenceFlowNode,BPDiaSubProcessNode,BPDiaTaskNode,BPDiaViewNode,BRDiaExprNode,BRDiaResourceNode,BRDiaTextNode,BSDiaNode,BSDiaPseudoStateNode,BSDiaStateMachineNode,BSDiaStateNode,BSDiaVertexNode,CLDiaActorNode,CLDiaAssocNode,CLDiaCLNode,CLDiaCnstrNode,CLDiaCollaborationNode,CLDiaCompartmentAbleNode,CLDiaCompartmentContentNode,CLDiaCompartmentNode,CLDiaConnectorNode,CLDiaElemNode,CLDiaHierCollaborationNode,CLDiaHierCollaborationUseNode,CLDiaHierCompNode,CLDiaHierCompStructNode,CLDiaHierDeployNode,CLDiaHierNode,CLDiaHierPartNode,CLDiaHierPkgStructNode,CLDiaHierStructDefinitionNode,CLDiaHierStructEntryNode,CLDiaHierStructGroupNode,CLDiaHierStructNode,CLDiaInstLinkNode,CLDiaInstNode,CLDiaMergeAbleNode,CLDiaOwnershipNode,CLDiaPkgNode,CLDiaPortBehaviorNode,CLDiaPortNode,CLDiaRelshipNode,CLDiaReqNode,CLDiaSocketBallNode,CLDiaSubjectNode,CLDiaUseCaseNode,DBDiaCnstrNode,DBDiaCompartmentContentNode,DBDiaCompartmentNode,DBDiaTableNode,DBDiaViewNode,DRDiaCompartmentContentNode,DRDiaCompartmentNode,DRDiaDecisionNode,DRDiaGroupNode,DRDiaHierServiceNode,DRDiaHierServicePartNode,DRDiaInputDataNode,DRDiaKnowledgeNode,DRDiaKnowledgeSourceNode,DRDiaNode,DRDiaServiceNode,ERDiaCnstrNode,ERDiaCompartmentContentNode,ERDiaCompartmentNode,ERDiaCubeDimensionNode,ERDiaCubeNode,ERDiaDimensionLevelNode,ERDiaDimensionTreeNode,ERDiaEntityNode,ERDiaGeneralizationSetNode,ERDiaHierarchyLevelNode,ERDiaHierarchyNode,ERDiaHierDimensionTreeNode,ERDiaHierHierarchyNode,ERDiaRelshipNode,ERDiaViewNode,GCDiaConceptNode,GCDiaJunctionNode,GCDiaLayerNode,GCDiaNode,IMDiaAssocNode,IMDiaClassifierNode,IMDiaCnstrNode,IMDiaCompartmentContentNode,IMDiaCompartmentNode,IMDiaGeneralizationSetNode,IMDiaHierNode,PRBDiaBENode,PRDiaAttachmentNode,PRDiaCalloutNode,PRDiaFrameNode,PRDiaNote,PRDiaSegNode,PRDiaWhiteboardNode,SMDiaConstraintNode,SMDiaDoActNode,SMDiaEntryActNode,SMDiaExitActNode,SMDiaGuardNode,SMDiaInvariantNode,SMDiaPostNode,SMDiaPreNode,SMDiaPseudoNode,SMDiaRegionNode,SMDiaSMNode,SMDiaStateNode,SMDiaTextNode,SMDiaTransActNode,SMDiaTriggerNode,SMDiaVertexNode,SQDiaCombinedNode,SQDiaConstraintNode,SQDiaContinuationNode,SQDiaExecNode,SQDiaIANode,SQDiaInvariantNode,SQDiaLifelineNode,SQDiaMessageEndNode,SQDiaOccSpecNode,SQDiaOperandNode,SQDiaPostNode,SQDiaPreNode,SQDiaRefNode,SQDiaTextNode
This is a utility class for PRDiaNode that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface PRDiaNode 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 TypeMethodDescriptionvoidcollapse()Collapses a node which is currently expanded.voidexpand()Expands a node which is expandable but currently collapsed.The diagram of the given node.The presentation context to be drawn as an expanded graphical content of the node.The specification if the node shall be placed inside of its owner (default) or if it shall be placed on its frame and where.Returns the orientation of the node.The frame node owning this node.Returns the position of the node.For a node in a node hierarchy with a position relative to its container the absolute position relative to the presentation context is returned.getPresContainer(PRPresElement refObj) The presentation container of this Diagram Node.getSize()Returns the size of the node.For a node in a node hierarchy with a text position relative to its container the absolute text position relative to the presentation context is returned.getXClientNode(String nameLabel, boolean dispCompleteness, boolean withAddAbleEdge, boolean withAddAbleCompartments, MESection ohSection) Fills the client X structure for this node which behaves like a presentation context.booleanTrue if there is a presentation context or content to be displayed.booleanTRUE if the node shall be expanded.voidSets the center point coordinate together with the width and height of the node.voidsetEmbeddedContent(boolean value) Set the value of Attribut HasEmbeddedContent.voidsetPosition(Point item) Sets the position of thePRDiaNode.voidSets the size of thePRDiaNode.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
-
getPosition
Returns the position of the node.- Throws:
InoNetExceptionSrvErrorException
-
getSize
Returns the size of the node.- Throws:
InoNetExceptionSrvErrorException
-
getOrientation
Returns the orientation of the node.- Throws:
InoNetExceptionSrvErrorException
-
isExpanded
TRUE if the node shall be expanded.- Throws:
InoNetExceptionSrvErrorException
-
getOnFramePositionSpecification
K_PRESSPEC_ONFRAME_POSITION getOnFramePositionSpecification() throws InoNetException, SrvErrorExceptionThe specification if the node shall be placed inside of its owner (default) or if it shall be placed on its frame and where.- Throws:
InoNetExceptionSrvErrorException
-
hasEmbeddedContent
True if there is a presentation context or content to be displayed.- Throws:
InoNetExceptionSrvErrorException
-
setEmbeddedContent
Set the value of Attribut HasEmbeddedContent.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPositionAbsolute
For a node in a node hierarchy with a position relative to its container the absolute position relative to the presentation context is returned. If one of the nodes in the hierarchy is not owned by another node or the context but by an edge, the result is undefined.- Throws:
InoNetExceptionSrvErrorException
-
getTextPositionAbsolute
For a node in a node hierarchy with a text position relative to its container the absolute text position relative to the presentation context is returned. If one of the nodes in the hierarchy is not owned by another node or the context but by an edge, the result is undefined.- Throws:
InoNetExceptionSrvErrorException
-
getDiagram
The diagram of the given node.- Throws:
InoNetExceptionSrvErrorException
-
getExpandedPresContext
The presentation context to be drawn as an expanded graphical content of the node.- Throws:
InoNetExceptionSrvErrorException
-
getExpandedNodeRoot
- Throws:
InoNetExceptionSrvErrorException
-
getPresContainer
The presentation container of this Diagram Node. 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
-
getXClientNode
ARG_XClientOut getXClientNode(String nameLabel, boolean dispCompleteness, boolean withAddAbleEdge, boolean withAddAbleCompartments, MESection ohSection) throws InoNetException, SrvErrorException Fills the client X structure for this node which behaves like a presentation context.- Parameters:
nameLabel- name of the color labeldispCompleteness- calculate the display completenesswithAddAbleEdge- show all add able edgeswithAddAbleCompartments- show all add able compartmentsohSection- model section (optional)- Throws:
InoNetExceptionSrvErrorException
-
collapse
Collapses a node which is currently expanded. The command may result in complex model modifications removing the graphical representation of the content displayed.- Throws:
InoNetExceptionSrvErrorException
-
expand
Expands a node which is expandable but currently collapsed. The command may result in complex model modifications building up a graphical representation of the content to be displayed in the expanded node.- Throws:
InoNetExceptionSrvErrorException
-
setCoord
Sets the center point coordinate together with the width and height of the node. The command indicates the change of the coordinates to the diagram via an event, so that the diagram may recalculate dependencies based on the coordinates of the diagram content.- Parameters:
posNode-sizNode-- Throws:
InoNetExceptionSrvErrorException
-
setPosition
Sets the position of thePRDiaNode. Zero values will cause the Innovator diagram to calculate default values for the position the next time thisPRDiaNodehas to be displayed. The command indicates the change of the coordinates to the diagram via an event, so that the diagram may recalculate dependencies based on the coordinates of the diagram content.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
setSize
Sets the size of thePRDiaNode. Zero values will cause the Innovator diagram to calculate default values for the size the next time thisPRDiaNodehas to be displayed. The command indicates the change of the coordinates to the diagram via an event, so that the diagram may recalculate dependencies based on the coordinates of the diagram content.- Parameters:
item-- Throws:
InoNetExceptionSrvErrorException
-
getOwningFrameNode
The frame node owning this node.- Throws:
InoNetExceptionSrvErrorException
-