Class RibbonMenu
java.lang.Object
org.ametys.core.ui.ribbonconfiguration.RibbonMenu
The class represents a menu, containing a list of ribbon elements
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type of exclusion in the ribbon configuration -
Field Summary
Modifier and TypeFieldDescriptionThe App menu elements of the ribbon -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addElements
(List<Element> elements, String order, Logger logger) Add a list of elements to the menu at the specified order indexGet the list of elements contains in the menu
-
Field Details
-
Constructor Details
-
RibbonMenu
public RibbonMenu()
-
-
Method Details
-
getElements
Get the list of elements contains in the menu- Returns:
- The list of elements
-
addElements
Add a list of elements to the menu at the specified order index- Parameters:
elements
- The list of elementsorder
- The orderlogger
- The logger
-