Class MMMenuHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.MMMenuHelper
This is a utility class for MMMenu that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateMenu(SrvContext srvCtx, MMProfile ohProfile, MMStereotype ohStereo, MM2Class ohClass, List<? extends MM2Class> seqOh, boolean useDefaultMenu) Creates a list of menus.
-
Method Details
-
createMenu
public static List<MMMenu> createMenu(SrvContext srvCtx, MMProfile ohProfile, MMStereotype ohStereo, MM2Class ohClass, List<? extends MM2Class> seqOh, boolean useDefaultMenu) throws InoNetException, SrvErrorException Creates a list of menus.- Parameters:
srvCtx- The context of the related innovator server.ohProfile- profile of the configurationohStereo- stereotype of the menu clientohClass- class of the menuseqOh- list of assigned menu items classesuseDefaultMenu- true, if the existing menu is used, false, if a new menu with unique name is created- Throws:
InoNetExceptionSrvErrorException
-