Class MMMenuHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MMMenuHelper
-
public abstract class MMMenuHelper extends java.lang.Object
This is a utility class for MMMenu that provides static methods for creation or other purposes.- See Also:
MMMenu
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<MMMenu>
createMenu(SrvContext srvCtx, MMProfile ohProfile, MMStereotype ohStereo, MM2Class ohClass, java.util.List<? extends MM2Class> seqOh, boolean useDefaultMenu)
Creates a list of menus.
-
-
-
Method Detail
-
createMenu
public static java.util.List<MMMenu> createMenu(SrvContext srvCtx, MMProfile ohProfile, MMStereotype ohStereo, MM2Class ohClass, java.util.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:
InoNetException
SrvErrorException
-
-