Interface PRPresContent
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MMFormatAble,PRPresElement
- All Known Subinterfaces:
ACDiaACNode,ACDiaActNode,ACDiaConstraintEdge,ACDiaConstraintNode,ACDiaControlNode,ACDiaDecisionInputBehavior,ACDiaException,ACDiaFlowEdge,ACDiaFlowSelBehavior,ACDiaFlowTransBehavior,ACDiaGroupNode,ACDiaHorGroupNode,ACDiaNodeSelBehavior,ACDiaObjNode,ACDiaPostNode,ACDiaPreNode,ACDiaTextNode,ACDiaValSpecNode,ACDiaVariableNode,ACDiaVerGroupNode,BPDiaArtifactNode,BPDiaAssocEdge,BPDiaCatchThrowNode,BPDiaCollaborationViewNode,BPDiaDataAssocEdge,BPDiaDataNode,BPDiaDataSeqFlowEdge,BPDiaEventNode,BPDiaFlowEdge,BPDiaFlowNode,BPDiaGatewayNode,BPDiaGroupNode,BPDiaItemNode,BPDiaLaneNode,BPDiaMaskCompartmentEntry,BPDiaMaskCompartmentNode,BPDiaMaskTaskNode,BPDiaMessageFlow,BPDiaMessageFlowNode,BPDiaParticipantNode,BPDiaProcessViewNode,BPDiaResourceNode,BPDiaSequenceFlow,BPDiaSequenceFlowNode,BPDiaSubProcessNode,BPDiaSupportEdge,BPDiaTaskNode,BPDiaViewNode,BRDiaExprNode,BRDiaResourceEdge,BRDiaResourceHierEdge,BRDiaResourceNode,BRDiaResourceNonHierEdge,BRDiaTextNode,BSDiaNode,BSDiaPseudoStateNode,BSDiaStateMachineNode,BSDiaStateNode,BSDiaTransitionEdge,BSDiaVertexNode,CLDiaActorNode,CLDiaAssocEndEdge,CLDiaAssocNode,CLDiaCLNode,CLDiaCnstrLinkEdge,CLDiaCnstrNode,CLDiaCollaborationNode,CLDiaCommPathEdge,CLDiaCompartmentAbleNode,CLDiaCompartmentContentNode,CLDiaCompartmentNode,CLDiaConnectorEdge,CLDiaConnectorNode,CLDiaElemNode,CLDiaHierCollaborationNode,CLDiaHierCollaborationUseNode,CLDiaHierCompNode,CLDiaHierCompStructNode,CLDiaHierDeployNode,CLDiaHierNode,CLDiaHierPartNode,CLDiaHierPkgStructNode,CLDiaHierStructDefinitionNode,CLDiaHierStructEntryNode,CLDiaHierStructGroupNode,CLDiaHierStructNode,CLDiaInstLinkEdge,CLDiaInstLinkNode,CLDiaInstNode,CLDiaMergeAbleEdge,CLDiaMergeAbleNode,CLDiaOwnershipEdge,CLDiaOwnershipNode,CLDiaPartEdge,CLDiaPkgNode,CLDiaPortBehaviorEdge,CLDiaPortBehaviorNode,CLDiaPortNode,CLDiaReferenceEdge,CLDiaRelshipLinkEdge,CLDiaRelshipNode,CLDiaReqNode,CLDiaSocketBallEdge,CLDiaSocketBallNode,CLDiaSubjectNode,CLDiaUseCaseNode,DBDiaCnstrLinkEdge,DBDiaCnstrNode,DBDiaCompartmentContentNode,DBDiaCompartmentNode,DBDiaReferenceEdge,DBDiaTableNode,DBDiaViewNode,DRDiaCompartmentContentNode,DRDiaCompartmentNode,DRDiaDecisionNode,DRDiaGroupNode,DRDiaHierServiceNode,DRDiaHierServicePartNode,DRDiaInputDataNode,DRDiaKnowledgeNode,DRDiaKnowledgeSourceNode,DRDiaNode,DRDiaRequirementEdge,DRDiaServiceNode,ERDiaCnstrLinkEdge,ERDiaCnstrNode,ERDiaCompartmentContentNode,ERDiaCompartmentNode,ERDiaCubeDimensionEdge,ERDiaCubeDimensionHierarchyEdge,ERDiaCubeDimensionNode,ERDiaCubeNode,ERDiaDimensionLevelEdge,ERDiaDimensionLevelNode,ERDiaDimensionPrecedenceEdge,ERDiaDimensionTreeNode,ERDiaEntityNode,ERDiaGeneralizationEdge,ERDiaGeneralizationSetNode,ERDiaHierarchyEdge,ERDiaHierarchyLevelEdge,ERDiaHierarchyLevelNode,ERDiaHierarchyNode,ERDiaHierDimensionTreeNode,ERDiaHierHierarchyNode,ERDiaReferenceEdge,ERDiaRelshipEdge,ERDiaRelshipNode,ERDiaRoleEdge,ERDiaViewNode,GCDiaConceptEdge,GCDiaConceptNode,GCDiaJunctionNode,GCDiaLayerNode,GCDiaNode,IMDiaAssocNode,IMDiaClassifierNode,IMDiaCnstrLinkEdge,IMDiaCnstrNode,IMDiaCompartmentContentNode,IMDiaCompartmentNode,IMDiaEdge,IMDiaGeneralizationSetNode,IMDiaHierNode,PRBDiaBENode,PRDiaAttachmentEdge,PRDiaAttachmentNode,PRDiaCalloutEdge,PRDiaCalloutNode,PRDiaEdge,PRDiaEdgeSeg,PRDiaFrameNode,PRDiaNode,PRDiaNote,PRDiaNoteEdge,PRDiaSegEdge,PRDiaSegNode,PRDiaWhiteboardAttributeEdge,PRDiaWhiteboardEdge,PRDiaWhiteboardNode,SMDiaConstraintEdge,SMDiaConstraintNode,SMDiaDoActNode,SMDiaEntryActNode,SMDiaExitActNode,SMDiaGuardNode,SMDiaInvariantNode,SMDiaPostNode,SMDiaPreNode,SMDiaPseudoNode,SMDiaRegionNode,SMDiaSMNode,SMDiaStateNode,SMDiaTextNode,SMDiaTransActNode,SMDiaTransEdge,SMDiaTriggerNode,SMDiaVertexNode,SQDiaCombinedNode,SQDiaConstraintEdge,SQDiaConstraintNode,SQDiaContinuationNode,SQDiaExecNode,SQDiaIANode,SQDiaInvariantNode,SQDiaLifelineNode,SQDiaMessageEdge,SQDiaMessageEndNode,SQDiaOccSpecNode,SQDiaOperandNode,SQDiaOrderingEdge,SQDiaPostNode,SQDiaPreNode,SQDiaRefNode,SQDiaTextNode
This is a utility class for PRPresContent that provides static methods for creation or other purposes.
- Note:
- The interface PRPresContent 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 TypeMethodDescriptiongetIncoming(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All incoming edges of this node.<T extends MEModelElement>
List<T> getMEModelElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All model elements represented by this presentation content.getModelContainer(ADClientAble refObj, Class<? extends ELObject> kind, Class<? extends ELObject> mode) The model container for a new model element of class argument kind if this Presentation Content is selected.getOutgoing(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All outgoing edges of this node.<T extends PRPresContent>
List<T> getOwnedPresContent(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All presentation contents owned by this presentation content.The presentation content owning this presentation content.The presentation context owning this presentation content.The presentation element owning this presentation content.intPresentation level of thisPRPresContent.The horizontal text alignment of thisPRPresContent.Returns the text position of the element.Returns the text size of the element.The vertical text alignment of thisPRPresContent.voidsetPresentationLevel(int value) Set the value of Attribut PresentationLevel.voidsetTextCoord(Point posNode, Point sizNode) Sets the center point coordinate and the width and height of the text.voidSet the value of Attribut TextHorizontalAlignment.voidsetTextPosition(Point item) Sets the position of the text.voidsetTextSize(Point item) Sets the size of the text.voidSet the value of Attribut TextVerticalAlignment.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.PRPresElement
getDiagramTagValue, getOpacity, getOwnedDiagramTags, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setDiagramTagValue, setOpacity, setPresColor
-
Method Details
-
getTextPosition
Returns the text position of the element.- Throws:
InoNetExceptionSrvErrorException
-
getTextSize
Returns the text size of the element.- Throws:
InoNetExceptionSrvErrorException
-
getPresentationLevel
Presentation level of thisPRPresContent.- Throws:
InoNetExceptionSrvErrorException
-
setPresentationLevel
Set the value of Attribut PresentationLevel.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTextHorizontalAlignment
The horizontal text alignment of thisPRPresContent.- Throws:
InoNetExceptionSrvErrorException
-
setTextHorizontalAlignment
Set the value of Attribut TextHorizontalAlignment.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTextVerticalAlignment
The vertical text alignment of thisPRPresContent.- Throws:
InoNetExceptionSrvErrorException
-
setTextVerticalAlignment
Set the value of Attribut TextVerticalAlignment.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getModelContainer
ELContainerAble getModelContainer(ADClientAble refObj, Class<? extends ELObject> kind, Class<? extends ELObject> mode) throws InoNetException, SrvErrorException The model container for a new model element of class argument kind if this Presentation Content is selected. The class of the corresponding presentation element may be specified by argument mode. A second selection may be specified byargument refObj.- Parameters:
refObj- A further instance of type ADClientAble which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)kind- A value of type K_VOCL that controls the behaviour of the underlying method. (see description)mode- A value of type K_VOCL that controls the behaviour of the underlying method. (see description)This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-
setTextCoord
Sets the center point coordinate and the width and height of the text.- Parameters:
posNode-sizNode-- Throws:
InoNetExceptionSrvErrorException
-
setTextPosition
Sets the position of the 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
-
setTextSize
Sets the size of the 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
-
getIncoming
<T extends PRDiaEdge> List<T> getIncoming(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All incoming edges of this node.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getOutgoing
<T extends PRDiaEdge> List<T> getOutgoing(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All outgoing edges of this node.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getMEModelElement
<T extends MEModelElement> List<T> getMEModelElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All model elements represented by this presentation content.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedPresContent
<T extends PRPresContent> List<T> getOwnedPresContent(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All presentation contents owned by this presentation content.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getOwningPresContent
The presentation content owning this presentation content.- Throws:
InoNetExceptionSrvErrorException
-
getOwningPresContext
The presentation context owning this presentation content.- Throws:
InoNetExceptionSrvErrorException
-
getOwningPresElement
The presentation element owning this presentation content.- Throws:
InoNetExceptionSrvErrorException
-