Interface PRDia
-
- All Superinterfaces:
ADClientAble
,ADFindAble
,ADM2AttrModifyAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELObject
,ELPictureAble
,ELUUIDAble
,MMFormatAble
,PRPresContext
,PRPresElement
- All Known Subinterfaces:
ACDia
,BPDia
,BRDia
,BSDia
,CLClassDia
,CLComponentDia
,CLCompositeStructureDia
,CLDeploymentDia
,CLDia
,CLHierarchyAbleDia
,CLRequirementDia
,CLStructureDefinitionDia
,CLUseCaseDia
,DBDia
,DRDecisionRequirementDia
,ERDia
,ERDiaAll
,GCDia
,IMDia
,PRAnalysisDia
,PRBDia
,PRDiaWhiteboard
,PRVersionAbleDia
,SMDia
,SMPDia
,SQDia
public interface PRDia extends PRPresContext
This is a utility class for PRDia that provides static methods for creation or other purposes.- See Also:
PRDiaHelper
- Note:
- The interface PRDia 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
PRDia.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<PRPresContent>
addAbleDiaEdge(java.util.List<ARG_PRAddAbleEdgeList> seq)
PRDiaEdge
addEdgeAndTargetNode(ADClientAble ohNode, ADClientAble ohElem, java.lang.Class<? extends ELObject> kVOclEdge, java.awt.Point ptPos, boolean isSourceSide)
java.util.List<PRDiaEdge>
addEdgesAndTargetNodes(ADClientAble ohNode, java.util.List<? extends ADClientAble> seqElem, java.lang.Class<? extends ELObject> kVOclEdge, java.awt.Point ptPos, java.awt.Point ptOffset, boolean isSourceSide)
java.util.List<ARG_PRAddAbleEdgeList>
getAddAbleDiaEdge(boolean item)
java.util.List<ARG_AddAbleEdgeListType>
getAddEdgeAndTargetNodeList(ADClientAble ohNode, java.lang.Class<? extends ELObject> kVOclEdge)
Calculates all model elements which may be added as edge of the specified type.java.util.List<PRDiaWhiteboardNode>
getDiaWhiteboardNode()
java.util.List<ADAnnotation>
getOwnedAnnotations(K_CONTROL_OPTION... behaviourFlags)
All annotations owned by this diagram.java.util.List<PRDiaCalloutNode>
getOwnedCalloutNode(K_CONTROL_OPTION... behaviourFlags)
All callout nodes owned by this diagram.java.util.List<PRDiaAttachmentNode>
getOwnedDiaAttachmentNode(K_CONTROL_OPTION... behaviourFlags)
All attachment nodes owned by this diagram.java.util.List<PRDiaNote>
getOwnedDiaNote(K_CONTROL_OPTION... behaviourFlags)
java.util.List<PRDiaFrameNode>
getOwnedFrameNode(K_CONTROL_OPTION... behaviourFlags)
All frame nodes owned by this diagram.void
setDiaFilterCriteria(boolean hideComments, boolean hideAttachments)
Modifies the criteria for visible elements inside the daigram.-
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.ELPictureAble
getOwnedPicture, getPictureRawData, pictureSetRawData
-
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.PRPresContext
getContextValue, getCopy, getCopyToFile, getFormat, getHorPage, getLayout, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginUnit, getModelElementOfTransitiveOwnedPresentationElement, getModelElementOfTransitiveOwnedPresentationElement, getOrientation, getOwnedFooterText, getOwnedHeaderText, getOwnedPresContent, getPageBreakX, getPageBreakY, getPageOrder, getPageView, getVerPage, getXClient, getXClientContentModelElementList, getXClientContentModelElementList, getXClientHash, isPageViewActive, layout, pageView, paste, pasteFromFile, setContextValue, setFormat, setHorPage, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOrientation, setPageViewActive, setVerPage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRPresElement
getOpacity, getOwnedPresContentElement, getPresColor, getPresentationOfLogic, setOpacity, setPresColor
-
-
-
-
Method Detail
-
getAddAbleDiaEdge
java.util.List<ARG_PRAddAbleEdgeList> getAddAbleDiaEdge(boolean item) throws InoNetException, SrvErrorException
Returns a list of all model elements which may be added as edge to this diagram. If the parameter value is true, the list contains graphic information needed to display the edges as selection within the diagram. The parameter value false should be used if the result list is directly used as input of addAbleDiaEdge.- Parameters:
item
-- Throws:
InoNetException
SrvErrorException
-
getAddEdgeAndTargetNodeList
java.util.List<ARG_AddAbleEdgeListType> getAddEdgeAndTargetNodeList(ADClientAble ohNode, java.lang.Class<? extends ELObject> kVOclEdge) throws InoNetException, SrvErrorException
Calculates all model elements which may be added as edge of the specified type. The model elements are grouped according to their logical type and in some cases by their direction.- Parameters:
ohNode
- selected nodekVOclEdge
- element type of the added edge- Throws:
InoNetException
SrvErrorException
-
addAbleDiaEdge
java.util.List<PRPresContent> addAbleDiaEdge(java.util.List<ARG_PRAddAbleEdgeList> seq) throws InoNetException, SrvErrorException
- Parameters:
seq
-- Throws:
InoNetException
SrvErrorException
-
addEdgeAndTargetNode
PRDiaEdge addEdgeAndTargetNode(ADClientAble ohNode, ADClientAble ohElem, java.lang.Class<? extends ELObject> kVOclEdge, java.awt.Point ptPos, boolean isSourceSide) throws InoNetException, SrvErrorException
Adds an element as edge to this diagram. The model element of the specified node is owner of the added element. The target element is added at the specified position.- Parameters:
ohNode
- selected nodeohElem
- element to be added as edgekVOclEdge
- element type of the added edgeptPos
- position for the additional nodeisSourceSide
- true, if the start node is on source side- Throws:
InoNetException
SrvErrorException
-
addEdgesAndTargetNodes
java.util.List<PRDiaEdge> addEdgesAndTargetNodes(ADClientAble ohNode, java.util.List<? extends ADClientAble> seqElem, java.lang.Class<? extends ELObject> kVOclEdge, java.awt.Point ptPos, java.awt.Point ptOffset, boolean isSourceSide) throws InoNetException, SrvErrorException
Adds a list of elements as edges to this diagram. The model element of the specified node is owner of the added elements. The target element is added at the specified position.- Parameters:
ohNode
- selected nodeseqElem
- list of elements to be added as edgekVOclEdge
- element type of the added edgeptPos
- position for the first additional nodeptOffset
- position offset, if more than one edge is added with nodeisSourceSide
- true, if the start node is on source side- Throws:
InoNetException
SrvErrorException
-
setDiaFilterCriteria
void setDiaFilterCriteria(boolean hideComments, boolean hideAttachments) throws InoNetException, SrvErrorException
Modifies the criteria for visible elements inside the daigram. Elements to be hidden will be visible while the diagram is locked for modifications.- Parameters:
hideComments
- flag for hiding the commentshideAttachments
- flag for hiding the attachments- Throws:
InoNetException
SrvErrorException
-
getOwnedDiaNote
java.util.List<PRDiaNote> getOwnedDiaNote(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOwnedCalloutNode
java.util.List<PRDiaCalloutNode> getOwnedCalloutNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All callout nodes owned by this diagram.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOwnedFrameNode
java.util.List<PRDiaFrameNode> getOwnedFrameNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All frame nodes owned by this diagram.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getDiaWhiteboardNode
java.util.List<PRDiaWhiteboardNode> getDiaWhiteboardNode() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
getOwnedDiaAttachmentNode
java.util.List<PRDiaAttachmentNode> getOwnedDiaAttachmentNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All attachment nodes owned by this diagram.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOwnedAnnotations
java.util.List<ADAnnotation> getOwnedAnnotations(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All annotations owned by this diagram.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
-