Interface CLDia
- All Superinterfaces:
ADAccessAble,ADClientAble,ADFindAble,ADHistoryAble,ADLockAble,ADM2AttrModifyAble,ADOptionAble,ADReferenceAble,ADVersionAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELPackageAble,ELPictureAble,ELUUIDAble,ELValueContainerAble,MMAttachmentAble,MMCommentContainerAble,MMFormatAble,MMLabelAble,MMLabelTextAttachmentAble,MMMenuAble,MMStereotypeAble,MMTextAble,PRDia,PRPresContext,PRPresElement,PRVersionAbleDia
- All Known Subinterfaces:
CLClassDia,CLComponentDia,CLCompositeStructureDia,CLDeploymentDia,CLHierarchyAbleDia,CLRequirementDia,CLStructureDefinitionDia,CLUseCaseDia,DBDia,DRDecisionRequirementDia,ERDia,ERDiaAll,IMDia
This is a utility class for CLDia that provides static methods for creation or other purposes.
- Note:
- The interface CLDia 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 TypeMethodDescriptionaddAssociationDlg(List<? extends ADClientAble> seqSel, boolean isDirParent, boolean addNode) Adds associations as edges or nodes to this diagram.voidaddCompartmentDlg(MM2CLCompartment ohComp, K_COMPARTMENT kComp, List<? extends ADClientAble> seqSel) Adds elements as compartments of the selected nodes in this diagram.addDiaNodes(Class<? extends ELObject> kVOclModel, Class<? extends ELObject> kVOclPres, List<? extends ADClientAble> adds, Point position, Point size, Point offset) Adds elements as nodes to this diagram.addOwnershipDlg(List<? extends ADClientAble> seqSel, boolean isDirParent, boolean addNode) Adds ownership edges to this diagram.addRelationshipDlg(MM2Class ohClass, List<? extends ADClientAble> seqNode, List<? extends ADClientAble> seqSel, boolean isDirParent, boolean addNode) Adds relationships as edges to this diagram.createDiagramOfSelection(List<? extends PRDiaNode> seqNode, boolean subtractNodesFromSource) getAddAbleAsSocketBall(List<? extends PRDiaNode> seqNode) Calculates all interfaces which may be added in socket ball notation within this diagram.Returns a list of all directed relationships which may be added to this diagram.<T extends CLDiaCnstrNode>
List<T> getOwnedConstraintNode(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) <T extends CLDiaMergeAbleEdge>
List<T> getOwnedMergeAbleEdge(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) <T extends CLDiaMergeAbleNode>
List<T> getOwnedMergeAbleNode(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) The component that owns this classifier diagram.getVisibleCompartmentDlgInit(List<? extends ELElement> seq) Fills the dialog for the modification of visibility and maintenance of compartments.voidsetVisibleCompartment(List<? extends PRDiaNode> seqNode, List<ARG_CompartmentVisibilityList> seqComp) Sets the visible compartments of the selected nodes.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRoleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlockMethods 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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlgMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble
getReferenceContainer, setReferenceContainerMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfoMethods 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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPictureAble
getOwnedPicture, getOwnedPictures, getPictureRawData, pictureSetRawDataMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormatMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMenuAble
getMenu, getMenuItem, getMenuItemsForTransformMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAbleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getText, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlgMethods inherited from interface de.mid.innovator.srv2api.icw2pres.PRDia
addAbleDiaEdge, addEdgeAndTargetNode, addEdgesAndTargetNodes, getAddAbleDiaEdge, getAddEdgeAndTargetNodeList, getDiaWhiteboardNode, getOwnedAnnotations, getOwnedCalloutNode, getOwnedDiaAttachmentNode, getOwnedDiaNote, getOwnedFrameNode, getSVGPictureRawData, getXClientForSVG, setDiaFilterCriteria, setSVGPictureRawDataMethods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresContext
getContextFormat, getContextValue, getCopy, getCopyToFile, getHorPage, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginUnit, getModelElementOfTransitiveOwnedPresentationElement, getModelElementOfTransitiveOwnedPresentationElement, getOrientation, getOwnedFooterText, getOwnedHeaderText, getOwnedPresContent, getPageBreakX, getPageBreakY, getPageOrder, getPageView, getVerPage, getXClient, getXClientContentModelElementList, getXClientContentModelElementList, getXClientHash, isPageViewActive, pageView, paste, pasteFromFile, setContextFormat, setContextValue, setHorPage, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOrientation, setPageViewActive, setVerPageMethods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresElement
getDiagramTagValue, getOpacity, getOwnedDiagramTags, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setDiagramTagValue, setOpacity, setPresColorMethods inherited from interface de.mid.innovator.srv2api.icw2pres.PRVersionAbleDia
getMEModelName, getVersionAbleDiaClientDependency, getVersionAbleDiaSupplierDependency, isMapped, setMapped
-
Method Details
-
getAddAbleAsSocketBall
List<ARG_AddAbleAsSocketBallList> getAddAbleAsSocketBall(List<? extends PRDiaNode> seqNode) throws InoNetException, SrvErrorException Calculates all interfaces which may be added in socket ball notation within this diagram. If a list of nodes is specified only these nodes are evaluated otherwise all nodes of the diagram are evaluated.- Parameters:
seqNode- list of nodes or empty- Throws:
InoNetExceptionSrvErrorException
-
getAddAbleRelship
Returns a list of all directed relationships which may be added to this diagram. Each list entry contains the source and target node of the relationship.- Throws:
InoNetExceptionSrvErrorException
-
getVisibleCompartmentDlgInit
List<ARG_CompartmentVisibilityOut> getVisibleCompartmentDlgInit(List<? extends ELElement> seq) throws InoNetException, SrvErrorException Fills the dialog for the modification of visibility and maintenance of compartments.- Parameters:
seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
addAsSocketBall
List<CLDiaSocketBallNode> addAsSocketBall(List<ARG_AddAbleAsSocketBallList> seq) throws InoNetException, SrvErrorException - Parameters:
seq-- Throws:
InoNetExceptionSrvErrorException
-
addAssociationDlg
List<PRPresContent> addAssociationDlg(List<? extends ADClientAble> seqSel, boolean isDirParent, boolean addNode) throws InoNetException, SrvErrorException Adds associations as edges or nodes to this diagram.- Parameters:
seqSel- List of selected nodes and elementsisDirParent- isTrue/isFalse means edges to parent/son onlyaddNode- isTrue, if nodes may be added- Throws:
InoNetExceptionSrvErrorException
-
addCompartmentDlg
void addCompartmentDlg(MM2CLCompartment ohComp, K_COMPARTMENT kComp, List<? extends ADClientAble> seqSel) throws InoNetException, SrvErrorException Adds elements as compartments of the selected nodes in this diagram.- Parameters:
ohComp- compartment of the added elementskComp- kind of the compartment of the added elementsseqSel- list of selected nodes and elements- Throws:
InoNetExceptionSrvErrorException
-
addDiaNodes
List<PRDiaNode> addDiaNodes(Class<? extends ELObject> kVOclModel, Class<? extends ELObject> kVOclPres, List<? extends ADClientAble> adds, Point position, Point size, Point offset) throws InoNetException, SrvErrorException Adds elements as nodes to this diagram.- Parameters:
kVOclModel- Type of the model element to be addedkVOclPres- Type of the presentation element to be createdadds- List of the elements to be addedposition- Position of the first created nodesize- Size of the first created nodeoffset- Position offset, if more than one node is created- Throws:
InoNetExceptionSrvErrorException
-
addOwnershipDlg
List<CLDiaOwnershipEdge> addOwnershipDlg(List<? extends ADClientAble> seqSel, boolean isDirParent, boolean addNode) throws InoNetException, SrvErrorException Adds ownership edges to this diagram.- Parameters:
seqSel- List of selected nodes and elementsisDirParent- isTrue/isFalse means Edges to parent/sonaddNode- isTrue, if nodes may be added- Throws:
InoNetExceptionSrvErrorException
-
addRelationshipDlg
List<CLDiaRelshipLinkEdge> addRelationshipDlg(MM2Class ohClass, List<? extends ADClientAble> seqNode, List<? extends ADClientAble> seqSel, boolean isDirParent, boolean addNode) throws InoNetException, SrvErrorException Adds relationships as edges to this diagram.- Parameters:
ohClass- Meta class of the element typeseqNode- List of selected nodesseqSel- List of selected elementsisDirParent- isTrue/isFalse means Edges to parent/sonaddNode- isTrue, if nodes may be added- Throws:
InoNetExceptionSrvErrorException
-
createDiagramOfSelection
CLDia createDiagramOfSelection(List<? extends PRDiaNode> seqNode, boolean subtractNodesFromSource) throws InoNetException, SrvErrorException - Parameters:
seqNode- list of selected nodessubtractNodesFromSource- isTrue, if the nodes are subtracted from the source diagram- Throws:
InoNetExceptionSrvErrorException
-
setVisibleCompartment
void setVisibleCompartment(List<? extends PRDiaNode> seqNode, List<ARG_CompartmentVisibilityList> seqComp) throws InoNetException, SrvErrorException Sets the visible compartments of the selected nodes.- Parameters:
seqNode- List of nodes (invalid as null)seqComp- List of compartment states- Throws:
InoNetExceptionSrvErrorException
-
getOwnedMergeAbleNode
<T extends CLDiaMergeAbleNode> List<T> getOwnedMergeAbleNode(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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
-
getOwnedMergeAbleEdge
<T extends CLDiaMergeAbleEdge> List<T> getOwnedMergeAbleEdge(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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
-
getOwnedConstraintNode
<T extends CLDiaCnstrNode> List<T> getOwnedConstraintNode(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException - 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
-
getOwningComponent
The component that owns this classifier diagram.- Throws:
InoNetExceptionSrvErrorException
-