Class MainMenuItem
- java.lang.Object
-
- com.evolveum.midpoint.web.component.menu.BaseMenuItem
-
- com.evolveum.midpoint.web.component.menu.MainMenuItem
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AdditionalMenuItem
public class MainMenuItem extends BaseMenuItem
- Author:
- Viliam Repan (lazyman)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_BUBBLE_LABEL
static String
F_ITEMS
-
Fields inherited from class com.evolveum.midpoint.web.component.menu.BaseMenuItem
DEFAULT_ICON, F_ICON_CLASS
-
-
Constructor Summary
Constructors Constructor Description MainMenuItem(String name, String iconClass)
MainMenuItem(String name, String iconClass, Class<? extends PageBase> page)
MainMenuItem(String name, String iconClass, Class<? extends PageBase> page, org.apache.wicket.request.mapper.parameter.PageParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCollectionMenuItem(MenuItem menuItem)
void
addMenuItem(MenuItem menuItem)
void
addMenuItemAtIndex(MenuItem menuItem, int position)
boolean
containsSubMenu()
MenuItem
getActiveMenu(org.apache.wicket.markup.html.WebPage page)
String
getBubbleLabel()
MenuItem
getFirstMenuItem()
boolean
hasActiveSubmenu(org.apache.wicket.markup.html.WebPage page)
boolean
isInsertDefaultBackBreadcrumb()
protected boolean
isNotEmpty()
boolean
shouldBeMenuAdded(boolean experimentalFeaturesEnabled)
-
Methods inherited from class com.evolveum.midpoint.web.component.menu.BaseMenuItem
getAliases, getDisplayOrder, getIconClass, getNameModel, getPageClass, getParams, isDynamic, isMenuActive, setDisplayOrder, setDynamic, toString
-
-
-
-
Field Detail
-
F_ITEMS
public static final String F_ITEMS
- See Also:
- Constant Field Values
-
F_BUBBLE_LABEL
public static final String F_BUBBLE_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBubbleLabel
public String getBubbleLabel()
-
isInsertDefaultBackBreadcrumb
public boolean isInsertDefaultBackBreadcrumb()
-
addMenuItem
public void addMenuItem(MenuItem menuItem)
-
addMenuItemAtIndex
public void addMenuItemAtIndex(MenuItem menuItem, int position)
-
addCollectionMenuItem
public void addCollectionMenuItem(MenuItem menuItem)
-
isNotEmpty
protected boolean isNotEmpty()
-
containsSubMenu
public boolean containsSubMenu()
-
shouldBeMenuAdded
public boolean shouldBeMenuAdded(boolean experimentalFeaturesEnabled)
-
hasActiveSubmenu
public boolean hasActiveSubmenu(org.apache.wicket.markup.html.WebPage page)
-
getActiveMenu
public MenuItem getActiveMenu(org.apache.wicket.markup.html.WebPage page)
-
getFirstMenuItem
public MenuItem getFirstMenuItem()
-
-