de.mid.innovator.srv2api.icw2meta
Interface MMMenuItem

All Superinterfaces:
ADClientAble, ADM2AttrModifyAble, ELContAsgnAble, ELDeleteAble, ELElement, ELObject, MMMetamodelElement

public interface MMMenuItem
extends MMMetamodelElement


Nested Class Summary
static class MMMenuItem.VAttr
           
 
Method Summary
 List<ADClientAble> evaluateAdd(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.
 ADClientAble evaluateTemplate(List<? extends ADClientAble> seqSel, List<? extends ADClientAble> seqReq, Point position, Point size, 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()
          The menu owning this menu item.
 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.icw2elem.ELDeleteAble
delete
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getLogic, getLogic, getPresentationContext, getSection
 
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.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.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
 

Method Detail

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 elements
seqReq - List of additional requirements
position - Position in diagram
size - Size in diagram
offset - Position offset, if more than one node is added
Throws:
InoNetException
SrvErrorException

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 elements
seqReq - List of additional requirements
position - Position in diagram
size - Size in diagram
offset - Position offset, if more than one node is added
Throws:
InoNetException
SrvErrorException

getDGSelection

DGSelection getDGSelection()
                           throws InoNetException,
                                  SrvErrorException
Gets the documentation selection associated with this menu item.

Throws:
InoNetException
SrvErrorException

getEvaluateAction

ARG_MMEvalSequence getEvaluateAction()
                                     throws InoNetException,
                                            SrvErrorException
Evaluates the sequence of engineering actions of this menu item.

Throws:
InoNetException
SrvErrorException

getMenu

MMMenu getMenu()
               throws InoNetException,
                      SrvErrorException
The menu owning this menu item.

Throws:
InoNetException
SrvErrorException

getMenuItemAble

MMMenuItemAble getMenuItemAble()
                               throws InoNetException,
                                      SrvErrorException
The corresponding entity of this menu item.

Throws:
InoNetException
SrvErrorException

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