Class MMMenuHelper

java.lang.Object
de.mid.innovator.srv2api.icw2meta.MMMenuHelper

public abstract class MMMenuHelper extends Object
This is a utility class for MMMenu that provides static methods for creation or other purposes.
See Also:
  • 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 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