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