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,BPDiaChoreographySubProcessNode,BPDiaChoreographyTaskNode,BPDiaChoreographyViewNode,BPDiaCollaborationViewNode,BPDiaDataNode,BPDiaErrorNode,BPDiaEventNode,BPDiaFlowNode,BPDiaGatewayNode,BPDiaGroupNode,BPDiaItemDefinitionNode,BPDiaItemNode,BPDiaLaneNode,BPDiaMaskCompartmentEntry,BPDiaMaskCompartmentNode,BPDiaMaskNode,BPDiaMaskTaskNode,BPDiaMessageFlowNode,BPDiaMessageNode,BPDiaParticipantCompartmentNode,BPDiaParticipantNode,BPDiaProcessViewNode,BPDiaRenderingNode,BPDiaSequenceFlowNode,BPDiaSubProcessNode,BPDiaTaskNode,BPDiaTermNode,BPDiaTextNode,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,CLDiaHierStructDefinitionNode,CLDiaHierStructEntryNode,CLDiaHierStructGroupNode,CLDiaHierStructNode,CLDiaInstLinkNode,CLDiaInstNode,CLDiaMergeAbleNode,CLDiaOwnershipNode,CLDiaPkgNode,CLDiaPortBehaviorNode,CLDiaPortNode,CLDiaRelshipNode,CLDiaReqNode,CLDiaSocketBallNode,CLDiaSubjectNode,CLDiaUseCaseNode,DBDiaCnstrNode,DBDiaCompartmentContentNode,DBDiaCompartmentNode,DBDiaTableNode,DBDiaViewNode,DRDiaCompartmentContentNode,DRDiaCompartmentNode,DRDiaDecisionNode,DRDiaHierServiceNode,DRDiaHierServicePartNode,DRDiaInputDataNode,DRDiaKnowledgeNode,DRDiaKnowledgeSourceNode,DRDiaNode,DRDiaServiceNode,ERDiaCnstrNode,ERDiaCompartmentContentNode,ERDiaCompartmentNode,ERDiaCubeDimensionNode,ERDiaCubeNode,ERDiaDimensionLevelNode,ERDiaDimensionTreeNode,ERDiaEntityNode,ERDiaGeneralizationSetNode,ERDiaHierarchyLevelNode,ERDiaHierarchyNode,ERDiaHierDimensionTreeNode,ERDiaHierHierarchyNode,ERDiaRelshipNode,ERDiaViewNode,GCDiaConceptNode,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
public interface PRDiaNode extends PRPresContent
This is a utility class for PRDiaNode that provides static methods for creation or other purposes.- See Also:
PRDiaNodeHelper- 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 Modifier and Type Interface Description static classPRDiaNode.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcollapse()Collapses a node which is currently expanded.voidexpand()Expands a node which is expandable but currently collapsed.PRDiagetDiagram()The diagram of the given node.PRDiaNodegetExpandedNodeRoot()PRPresContextgetExpandedPresContext()The presentation context to be drawn as an expanded graphical content of the node.K_PRESSPEC_ONFRAME_POSITIONgetOnFramePositionSpecification()The specification if the node shall be placed inside of its owner (default) or if it shall be placed on its frame and where.K_ORIENTATIONgetOrientation()Returns the orientation of the node.PRDiaFrameNodegetOwningFrameNode()The frame node owning this node.java.awt.PointgetPosition()Returns the position of the node.java.awt.PointgetPositionAbsolute()For a node in a node hierarchy with a position relative to its container the absolute position relative to the presentation context is returned.PRPresElementgetPresContainer(PRPresElement refObj)The presentation container of this Diagram Node.java.awt.PointgetSize()Returns the size of the node.java.awt.PointgetTextPositionAbsolute()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.ARG_XClientOutgetXClientNode(java.lang.String nameLabel, boolean dispCompleteness, boolean withAddAbleEdge, boolean withAddAbleCompartments, MESection ohSection, K_ERDIA kERDia)Fills the client X structure for this node which behaves like a presentation context.booleanhasEmbeddedContent()True if there is a presentation context or content to be displayed.booleanisExpanded()TRUE if the node shall be expanded.voidsetCoord(java.awt.Point posNode, java.awt.Point sizNode)Sets the center point coordinate together with the width and height of the node.voidsetEmbeddedContent(boolean value)Set the value of Attribut HasEmbeddedContent.voidsetPosition(java.awt.Point item)Sets the position of thePRDiaNode.voidsetSize(java.awt.Point item)Sets the size of thePRDiaNode.-
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
-
getPosition
java.awt.Point getPosition() throws InoNetException, SrvErrorExceptionReturns the position of the node.- Throws:
InoNetExceptionSrvErrorException
-
getSize
java.awt.Point getSize() throws InoNetException, SrvErrorExceptionReturns the size of the node.- Throws:
InoNetExceptionSrvErrorException
-
getOrientation
K_ORIENTATION getOrientation() throws InoNetException, SrvErrorException
Returns the orientation of the node.- Throws:
InoNetExceptionSrvErrorException
-
isExpanded
boolean isExpanded() throws InoNetException, SrvErrorExceptionTRUE if the node shall be expanded.- Throws:
InoNetExceptionSrvErrorException
-
getOnFramePositionSpecification
K_PRESSPEC_ONFRAME_POSITION getOnFramePositionSpecification() throws InoNetException, SrvErrorException
The 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
boolean hasEmbeddedContent() throws InoNetException, SrvErrorExceptionTrue if there is a presentation context or content to be displayed.- Throws:
InoNetExceptionSrvErrorException
-
setEmbeddedContent
void setEmbeddedContent(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut HasEmbeddedContent.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getPositionAbsolute
java.awt.Point getPositionAbsolute() throws InoNetException, SrvErrorExceptionFor 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
java.awt.Point getTextPositionAbsolute() throws InoNetException, SrvErrorExceptionFor 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
PRDia getDiagram() throws InoNetException, SrvErrorException
The diagram of the given node.- Throws:
InoNetExceptionSrvErrorException
-
getExpandedPresContext
PRPresContext getExpandedPresContext() throws InoNetException, SrvErrorException
The presentation context to be drawn as an expanded graphical content of the node.- Throws:
InoNetExceptionSrvErrorException
-
getExpandedNodeRoot
PRDiaNode getExpandedNodeRoot() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
getPresContainer
PRPresElement getPresContainer(PRPresElement refObj) throws InoNetException, SrvErrorException
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(java.lang.String nameLabel, boolean dispCompleteness, boolean withAddAbleEdge, boolean withAddAbleCompartments, MESection ohSection, K_ERDIA kERDia) 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)kERDia- kind of er diagram (optional)- Throws:
InoNetExceptionSrvErrorException
-
collapse
void collapse() throws InoNetException, SrvErrorExceptionCollapses 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
void expand() throws InoNetException, SrvErrorExceptionExpands 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
void setCoord(java.awt.Point posNode, java.awt.Point sizNode) throws InoNetException, SrvErrorExceptionSets 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
void setPosition(java.awt.Point item) throws InoNetException, SrvErrorExceptionSets 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
void setSize(java.awt.Point item) throws InoNetException, SrvErrorExceptionSets 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
PRDiaFrameNode getOwningFrameNode() throws InoNetException, SrvErrorException
The frame node owning this node.- Throws:
InoNetExceptionSrvErrorException
-
-