Interface MMMenuItem
-
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELContAsgnAble,ELDeleteAble,ELElement,ELObject,ELUUIDAble,MMMetamodelElement
public interface MMMenuItem extends MMMetamodelElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMMMenuItem.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ADClientAble>evaluateAdd(java.util.List<? extends ADClientAble> seqSel, java.util.List<? extends ADClientAble> seqReq, java.awt.Point position, java.awt.Point size, java.awt.Point offset)Adds elements as nodes to the diagram where this menu item is executed.ADClientAbleevaluateTemplate(java.util.List<? extends ADClientAble> seqSel, java.util.List<? extends ADClientAble> seqReq, java.awt.Point position, java.awt.Point size, java.awt.Point offset)Evaluates the create template of this menu item.DGSelectiongetDGSelection()Gets the documentation selection associated with this menu item.ARG_MMEvalSequencegetEvaluateAction()Evaluates the sequence of engineering actions of this menu item.MMMenugetMenu()MMMenuItemAblegetMenuItemAble()The corresponding entity of this menu item.booleangetUseIcon()True, 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, 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.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.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
getIgnoringProfile
-
-
-
-
Method Detail
-
getUseIcon
boolean getUseIcon() throws InoNetException, SrvErrorExceptionTrue, if this menu item is displayed in the icon bar.- Throws:
InoNetExceptionSrvErrorException
-
setUseIcon
void setUseIcon(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut UseIcon.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getEvaluateAction
ARG_MMEvalSequence getEvaluateAction() throws InoNetException, SrvErrorException
Evaluates the sequence of engineering actions of this menu item.- Throws:
InoNetExceptionSrvErrorException
-
getDGSelection
DGSelection getDGSelection() throws InoNetException, SrvErrorException
Gets the documentation selection associated with this menu item.- Throws:
InoNetExceptionSrvErrorException
-
evaluateAdd
java.util.List<ADClientAble> evaluateAdd(java.util.List<? extends ADClientAble> seqSel, java.util.List<? extends ADClientAble> seqReq, java.awt.Point position, java.awt.Point size, java.awt.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(java.util.List<? extends ADClientAble> seqSel, java.util.List<? extends ADClientAble> seqReq, java.awt.Point position, java.awt.Point size, java.awt.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
MMMenuItemAble getMenuItemAble() throws InoNetException, SrvErrorException
The corresponding entity of this menu item.- Throws:
InoNetExceptionSrvErrorException
-
getMenu
MMMenu getMenu() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
-