Package io.jmix.ui.menu
Class MenuBuilder
java.lang.Object
io.jmix.ui.menu.MenuBuilder
Main menu builder.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected AppMenu
protected MenuConfig
protected MenuItemCommands
protected MessageTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assignDescription
(AppMenu.MenuItem menuItem, MenuItem conf) protected void
assignIcon
(AppMenu.MenuItem menuItem, MenuItem conf) protected void
assignShortcut
(Window webWindow, AppMenu.MenuItem menuItem, MenuItem item) protected void
assignStyleName
(AppMenu.MenuItem menuItem, MenuItem conf) void
protected void
protected Consumer<AppMenu.MenuItem>
createMenuBarCommand
(MenuItem item) protected void
createMenuBarItem
(Window webWindow, MenuItem item) protected Consumer<AppMenu.MenuItem>
protected void
createSubMenu
(Window webWindow, AppMenu.MenuItem vItem, MenuItem item) protected boolean
isMenuItemEmpty
(AppMenu.MenuItem menuItem) protected boolean
isPermitted
(MenuItem item) protected void
protected void
-
Field Details
-
messageTools
-
accessManager
-
appMenu
-
Constructor Details
-
MenuBuilder
public MenuBuilder()
-
-
Method Details
-
build
-
build
-
removeExtraSeparators
protected void removeExtraSeparators() -
removeExtraSeparators
-
isMenuItemEmpty
-