Interface MMMenuItem
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MMMetamodelElement
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionevaluateAdd(List<? extends ADClientAble> seqSel, List<? extends ADClientAble> seqReq, Point position, Point size, Point offset) Adds elements as nodes to the diagram where this menu item is executed.evaluateTemplate(List<? extends ADClientAble> seqSel, List<? extends ADClientAble> seqReq, Point position, Point size, Point offset) Evaluates the create template of this menu item.Gets the documentation selection associated with this menu item.Evaluates the sequence of engineering actions of this menu item.getMenu()The corresponding entity of this menu item.booleanTrue, if this menu item is displayed in the icon bar.voidsetUseIcon(boolean value) Set the value of Attribut UseIcon.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.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.MMMetamodelElement
getIgnoringProfile
-
Method Details
-
getUseIcon
True, if this menu item is displayed in the icon bar.- Throws:
InoNetExceptionSrvErrorException
-
setUseIcon
Set the value of Attribut UseIcon.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getEvaluateAction
Evaluates the sequence of engineering actions of this menu item.- Throws:
InoNetExceptionSrvErrorException
-
getDGSelection
Gets the documentation selection associated with this menu item.- Throws:
InoNetExceptionSrvErrorException
-
evaluateAdd
List<ADClientAble> evaluateAdd(List<? extends ADClientAble> seqSel, List<? extends ADClientAble> seqReq, Point position, Point size, Point offset) throws InoNetException, SrvErrorException Adds elements as nodes to the diagram where this menu item is executed.- Parameters:
seqSel- List of selected elementsseqReq- List of additional requirementsposition- Position in diagramsize- Size in diagramoffset- Position offset, if more than one node is added- Throws:
InoNetExceptionSrvErrorException
-
evaluateTemplate
ADClientAble evaluateTemplate(List<? extends ADClientAble> seqSel, List<? extends ADClientAble> seqReq, Point position, Point size, Point offset) throws InoNetException, SrvErrorException Evaluates the create template of this menu item.- Parameters:
seqSel- List of selected elementsseqReq- List of additional requirementsposition- Position in diagramsize- Size in diagramoffset- Position offset, if more than one node is added- Throws:
InoNetExceptionSrvErrorException
-
getMenuItemAble
The corresponding entity of this menu item.- Throws:
InoNetExceptionSrvErrorException
-
getMenu
- Throws:
InoNetExceptionSrvErrorException
-