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 class
PRDiaNode.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
collapse()
Collapses a node which is currently expanded.void
expand()
Expands a node which is expandable but currently collapsed.PRDia
getDiagram()
The diagram of the given node.PRDiaNode
getExpandedNodeRoot()
PRPresContext
getExpandedPresContext()
The presentation context to be drawn as an expanded graphical content of the node.K_PRESSPEC_ONFRAME_POSITION
getOnFramePositionSpecification()
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_ORIENTATION
getOrientation()
Returns the orientation of the node.PRDiaFrameNode
getOwningFrameNode()
The frame node owning this node.java.awt.Point
getPosition()
Returns the position of the node.java.awt.Point
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.PRPresElement
getPresContainer(PRPresElement refObj)
The presentation container of this Diagram Node.java.awt.Point
getSize()
Returns the size of the node.java.awt.Point
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.ARG_XClientOut
getXClientNode(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.boolean
hasEmbeddedContent()
True if there is a presentation context or content to be displayed.boolean
isExpanded()
TRUE if the node shall be expanded.void
setCoord(java.awt.Point posNode, java.awt.Point sizNode)
Sets the center point coordinate together with the width and height of the node.void
setEmbeddedContent(boolean value)
Set the value of Attribut HasEmbeddedContent.void
setPosition(java.awt.Point item)
Sets the position of thePRDiaNode
.void
setSize(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, SrvErrorException
Returns the position of the node.- Throws:
InoNetException
SrvErrorException
-
getSize
java.awt.Point getSize() throws InoNetException, SrvErrorException
Returns the size of the node.- Throws:
InoNetException
SrvErrorException
-
getOrientation
K_ORIENTATION getOrientation() throws InoNetException, SrvErrorException
Returns the orientation of the node.- Throws:
InoNetException
SrvErrorException
-
isExpanded
boolean isExpanded() throws InoNetException, SrvErrorException
TRUE if the node shall be expanded.- Throws:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
hasEmbeddedContent
boolean hasEmbeddedContent() throws InoNetException, SrvErrorException
True if there is a presentation context or content to be displayed.- Throws:
InoNetException
SrvErrorException
-
setEmbeddedContent
void setEmbeddedContent(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut HasEmbeddedContent.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getPositionAbsolute
java.awt.Point getPositionAbsolute() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
getTextPositionAbsolute
java.awt.Point getTextPositionAbsolute() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
getDiagram
PRDia getDiagram() throws InoNetException, SrvErrorException
The diagram of the given node.- Throws:
InoNetException
SrvErrorException
-
getExpandedPresContext
PRPresContext getExpandedPresContext() throws InoNetException, SrvErrorException
The presentation context to be drawn as an expanded graphical content of the node.- Throws:
InoNetException
SrvErrorException
-
getExpandedNodeRoot
PRDiaNode getExpandedNodeRoot() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
collapse
void collapse() throws InoNetException, SrvErrorException
Collapses a node which is currently expanded. The command may result in complex model modifications removing the graphical representation of the content displayed.- Throws:
InoNetException
SrvErrorException
-
expand
void expand() throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
setCoord
void setCoord(java.awt.Point posNode, java.awt.Point sizNode) throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
setPosition
void setPosition(java.awt.Point item) throws InoNetException, SrvErrorException
Sets the position of thePRDiaNode
. Zero values will cause the Innovator diagram to calculate default values for the position the next time thisPRDiaNode
has 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:
InoNetException
SrvErrorException
-
setSize
void setSize(java.awt.Point item) throws InoNetException, SrvErrorException
Sets the size of thePRDiaNode
. Zero values will cause the Innovator diagram to calculate default values for the size the next time thisPRDiaNode
has 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:
InoNetException
SrvErrorException
-
getOwningFrameNode
PRDiaFrameNode getOwningFrameNode() throws InoNetException, SrvErrorException
The frame node owning this node.- Throws:
InoNetException
SrvErrorException
-
-