Class 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 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 configuration
        ohStereo - stereotype of the menu client
        ohClass - class of the menu
        seqOh - list of assigned menu items classes
        useDefaultMenu - true, if the existing menu is used, false, if a new menu with unique name is created
        Throws:
        InoNetException
        SrvErrorException