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 class
MMMenuItem.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.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)
Evaluates the create template of this menu item.DGSelection
getDGSelection()
Gets the documentation selection associated with this menu item.ARG_MMEvalSequence
getEvaluateAction()
Evaluates the sequence of engineering actions of this menu item.MMMenu
getMenu()
MMMenuItemAble
getMenuItemAble()
The corresponding entity of this menu item.boolean
getUseIcon()
True, if this menu item is displayed in the icon bar.void
setUseIcon(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, SrvErrorException
True, if this menu item is displayed in the icon bar.- Throws:
InoNetException
SrvErrorException
-
setUseIcon
void setUseIcon(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut UseIcon.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getEvaluateAction
ARG_MMEvalSequence getEvaluateAction() throws InoNetException, SrvErrorException
Evaluates the sequence of engineering actions of this menu item.- Throws:
InoNetException
SrvErrorException
-
getDGSelection
DGSelection getDGSelection() throws InoNetException, SrvErrorException
Gets the documentation selection associated with this menu item.- Throws:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
getMenuItemAble
MMMenuItemAble getMenuItemAble() throws InoNetException, SrvErrorException
The corresponding entity of this menu item.- Throws:
InoNetException
SrvErrorException
-
getMenu
MMMenu getMenu() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
-