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
- All Known Subinterfaces:
GCDynDia
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaddConceptConnection(List<? extends GCDiaNode> seqNode, List<? extends GCConceptConnection> seqSel, boolean isDirParent, boolean addNode) addDiaNodes(Class<? extends ELObject> kVOclModel, Class<? extends ELObject> kVOclPres, List<? extends ADClientAble> adds, Point position, Point size, Point offset) addDiaNodesOnly(Class<? extends ELObject> kVOclModel, Class<? extends ELObject> kVOclPres, List<? extends ADClientAble> adds, Point position, Point size, Point offset) copyNodesFromOtherDia(List<? extends PRDiaNode> seqNodes, Point ptPos) createAddConceptForRealizingElement(MEStereotypeAble ohElement, ELContainerAble ohContainer, Point position, boolean isOffsetPosition, Point size, K_ORIENTATION orientation, boolean isCreate) getConceptInDia(MMStereotype stereotype) The method calls getConceptInDia and filters its return values according to the given stereotype value.Returns the actual and the configured dynamic layout for thisGCDynDiaand a list of layers with stereotypes as content.All concept edges owned by thisGCDia.All layer nodes owned by thisGCDia.getOwnedNode(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) voidmaintainNesting(List<? extends ELElement> seq) Maintains the diagram content according to the nesting configuration.voidsetNodeNotationAsIcon(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, 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
-
getConceptInDia
- Throws:
InoNetExceptionSrvErrorException
-
getConceptInDia
The method calls getConceptInDia and filters its return values according to the given stereotype value.- Parameters:
stereotype- The stereotype used to filter the result list- Throws:
InoNetExceptionSrvErrorException
-
getDynamicLayoutConfiguration
ARG_DynamicLayoutConfiguration getDynamicLayoutConfiguration() throws InoNetException, SrvErrorExceptionReturns the actual and the configured dynamic layout for thisGCDynDiaand a list of layers with stereotypes as content.- Throws:
InoNetExceptionSrvErrorException
-
addConceptConnection
List<GCDiaConceptEdge> addConceptConnection(List<? extends GCDiaNode> seqNode, 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:
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 - 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
-
addDiaNodesOnly
List<PRDiaNode> addDiaNodesOnly(Class<? extends ELObject> kVOclModel, Class<? extends ELObject> kVOclPres, List<? extends ADClientAble> adds, Point position, Point size, 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:
InoNetExceptionSrvErrorException
-
copyNodesFromOtherDia
List<PRDiaNode> copyNodesFromOtherDia(List<? extends PRDiaNode> seqNodes, Point ptPos) throws InoNetException, SrvErrorException - Parameters:
seqNodes- selected nodes to be copied from another diagramptPos- position in this diagram- Throws:
InoNetExceptionSrvErrorException
-
createAddConceptForRealizingElement
GCDiaConceptNode createAddConceptForRealizingElement(MEStereotypeAble ohElement, ELContainerAble ohContainer, Point position, boolean isOffsetPosition, Point size, K_ORIENTATION orientation, boolean isCreate) throws InoNetException, SrvErrorException If the given element already realizes aGCConceptwhich is allowed in this diagram, thatGCConceptwill be added. Otherwise a newGCConceptwill be created according to the consistency requirements of the diagram and the element, thatGCConceptwill 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:
InoNetExceptionSrvErrorException
-
maintainNesting
Maintains the diagram content according to the nesting configuration.- Parameters:
seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getOwnedConceptEdge
All concept edges owned by thisGCDia.- Throws:
InoNetExceptionSrvErrorException
-
getOwnedNode
<T extends GCDiaNode> List<T> getOwnedNode(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
-
getOwnedLayerNode
All layer nodes owned by thisGCDia.- Throws:
InoNetExceptionSrvErrorException
-