Interface MenuManager


public interface MenuManager
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildMenu(String name, Consumer<dev.aurelium.slate.builder.MenuBuilder> menu)
    Provides access to a MenuBuilder for building a Slate menu.
  • Method Details

    • buildMenu

      void buildMenu(String name, Consumer<dev.aurelium.slate.builder.MenuBuilder> menu)
      Provides access to a MenuBuilder for building a Slate menu. If the name is not an AuraSkills default menu, a new MenuBuilder is created and registered to Slate. Otherwise, the menu builder for an existing menu will be provided to extend an existing menu.
      Parameters:
      name - the name of the menu
      menu - a consumer for the menu builder