Interface GCDia
-
- 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
public interface GCDia extends PRVersionAbleDia
- See Also:
GCDiaHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GCDia.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<GCDiaConceptEdge>
addConceptConnection(java.util.List<? extends GCDiaConceptNode> seqNode, java.util.List<? extends GCConceptConnection> seqSel, boolean isDirParent, boolean addNode)
java.util.List<PRDiaNode>
addDiaNodes(java.lang.Class<? extends ELObject> kVOclModel, java.lang.Class<? extends ELObject> kVOclPres, java.util.List<? extends ADClientAble> adds, java.awt.Point position, java.awt.Point size, java.awt.Point offset)
java.util.List<PRDiaNode>
addDiaNodesOnly(java.lang.Class<? extends ELObject> kVOclModel, java.lang.Class<? extends ELObject> kVOclPres, java.util.List<? extends ADClientAble> adds, java.awt.Point position, java.awt.Point size, java.awt.Point offset)
java.util.List<PRDiaNode>
copyNodesFromOtherDia(java.util.List<? extends PRDiaNode> seqNodes, java.awt.Point ptPos)
GCDiaConceptNode
createAddConceptForRealizingElement(MEStereotypeAble ohElement, ELContainerAble ohContainer, java.awt.Point position, boolean isOffsetPosition, java.awt.Point size, K_ORIENTATION orientation, boolean isCreate)
java.util.List<GCConcept>
getConceptInDia(K_CONTROL_OPTION... behaviourFlags)
java.util.List<GCConcept>
getConceptInDia(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getConceptInDia and filters its return values according to the given stereotype value.java.util.List<GCDiaConceptEdge>
getOwnedConceptEdge(K_CONTROL_OPTION... behaviourFlags)
All concept edges owned by thisGCDia
.java.util.List<GCDiaConceptNode>
getOwnedConceptNode(K_CONTROL_OPTION... behaviourFlags)
All concept nodes owned by thisGCDia
.void
setNodeNotationAsIcon(boolean asIcon, MMStereotype ohStereo)
Changes the display option notation of concept nodes within thisGCDia
.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
-
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.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
-
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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble
getReferenceContainer, setReferenceContainer
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
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.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMFormatAble
copyFormatDlg, copyFormatRule, getCopyFormatDlgInit, getFormat
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMenuAble
getMenu, getMenuItem, getMenuItemsForTransform
-
Methods 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, setSyncedStereotypeAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRDia
addAbleDiaEdge, addEdgeAndTargetNode, addEdgesAndTargetNodes, getAddAbleDiaEdge, getAddEdgeAndTargetNodeList, getDiaWhiteboardNode, getOwnedAnnotations, getOwnedCalloutNode, getOwnedDiaAttachmentNode, getOwnedDiaNote, getOwnedFrameNode, setDiaFilterCriteria
-
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
-
Methods inherited from interface de.mid.innovator.srv2api.icw2pres.PRVersionAbleDia
getMEModelName, getVersionAbleDiaClientDependency, getVersionAbleDiaSupplierDependency, isMapped, setMapped
-
-
-
-
Method Detail
-
getConceptInDia
java.util.List<GCConcept> getConceptInDia(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
-
getConceptInDia
java.util.List<GCConcept> getConceptInDia(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getConceptInDia and filters its return values according to the given stereotype value.- Parameters:
stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
addConceptConnection
java.util.List<GCDiaConceptEdge> addConceptConnection(java.util.List<? extends GCDiaConceptNode> seqNode, java.util.List<? extends GCConceptConnection> seqSel, boolean isDirParent, boolean addNode) throws InoNetException, SrvErrorException
- Parameters:
seqNode
- List of selected nodesseqSel
- List of selected relationshipsisDirParent
- isTrue/isFalse means Edges to parent/sonaddNode
- isTrue, if nodes may be added- Throws:
InoNetException
SrvErrorException
-
addDiaNodes
java.util.List<PRDiaNode> addDiaNodes(java.lang.Class<? extends ELObject> kVOclModel, java.lang.Class<? extends ELObject> kVOclPres, java.util.List<? extends ADClientAble> adds, java.awt.Point position, java.awt.Point size, java.awt.Point offset) throws InoNetException, SrvErrorException
- 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:
InoNetException
SrvErrorException
-
addDiaNodesOnly
java.util.List<PRDiaNode> addDiaNodesOnly(java.lang.Class<? extends ELObject> kVOclModel, java.lang.Class<? extends ELObject> kVOclPres, java.util.List<? extends ADClientAble> adds, java.awt.Point position, java.awt.Point size, java.awt.Point offset) throws InoNetException, SrvErrorException
- 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:
InoNetException
SrvErrorException
-
copyNodesFromOtherDia
java.util.List<PRDiaNode> copyNodesFromOtherDia(java.util.List<? extends PRDiaNode> seqNodes, java.awt.Point ptPos) throws InoNetException, SrvErrorException
- Parameters:
seqNodes
- selected nodes to be copied from another diagramptPos
- position in this diagram- Throws:
InoNetException
SrvErrorException
-
createAddConceptForRealizingElement
GCDiaConceptNode createAddConceptForRealizingElement(MEStereotypeAble ohElement, ELContainerAble ohContainer, java.awt.Point position, boolean isOffsetPosition, java.awt.Point size, K_ORIENTATION orientation, boolean isCreate) throws InoNetException, SrvErrorException
If the given element already realizes aGCConcept
which is allowed in this diagram, thatGCConcept
will be added. Otherwise a newGCConcept
will be created according to the consistency requirements of the diagram and the element, thatGCConcept
will be connected to the element via a realization relationsship and it will be added to the diagram.- Parameters:
ohElement
- Element which shall realize a concept to be added hereohContainer
- The diagram or the parent nodeposition
- Position of the new nodeisOffsetPosition
- True if the position is an offset to be added to the parent's positionsize
- Size of the new nodeorientation
- Orientation of the new nodeisCreate
- isTrue, if the element is created- Throws:
InoNetException
SrvErrorException
-
setNodeNotationAsIcon
void setNodeNotationAsIcon(boolean asIcon, MMStereotype ohStereo) throws InoNetException, SrvErrorException
Changes the display option notation of concept nodes within thisGCDia
. The display option has to be defined within the configuration and marked for changes within diagrams.- Parameters:
asIcon
- true, if concept node is displayed as iconohStereo
- only concept nodes of this stereotype are changed- Throws:
InoNetException
SrvErrorException
-
getOwnedConceptEdge
java.util.List<GCDiaConceptEdge> getOwnedConceptEdge(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All concept edges owned by thisGCDia
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOwnedConceptNode
java.util.List<GCDiaConceptNode> getOwnedConceptNode(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All concept nodes owned by thisGCDia
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
-