Interface MenuService

    • Method Detail

      • getMenu

        default ShadowMenu getMenu()
        Gets the root node of the application menu structure.
      • createMenus

        default <T> T createMenus​(MenuCreator<T> creator,
                                  T menu)
        Populates a UI-specific application menu structure.
        Parameters:
        creator - the MenuCreator to use to populate the menus.
        menu - the destination menu structure to populate.
      • createMenus

        default <T> T createMenus​(String menuRoot,
                                  MenuCreator<T> creator,
                                  T menu)
        Populates a UI-specific menu structure.
        Parameters:
        menuRoot - the root of the menu structure to generate (see UIDetails.getMenuRoot()).
        creator - the MenuCreator to use to populate the menus.
        menu - the destination menu structure to populate.