Class RibbonMenu
- java.lang.Object
-
- org.ametys.core.ui.ribbonconfiguration.RibbonMenu
-
public class RibbonMenu extends Object
The class represents a menu, containing a list of ribbon elements
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RibbonMenu.MENUTYPE
Type of exclusion in the ribbon configuration
-
Field Summary
Fields Modifier and Type Field Description private RibbonElementsInjectionHelper<Element>
_injectionHelper
protected List<Element>
_menuElements
The App menu elements of the ribbon
-
Constructor Summary
Constructors Constructor Description RibbonMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addElements(List<Element> elements, String order, org.slf4j.Logger logger)
Add a list of elements to the menu at the specified order indexList<Element>
getElements()
Get the list of elements contains in the menu
-
-
-
Field Detail
-
_menuElements
protected List<Element> _menuElements
The App menu elements of the ribbon
-
_injectionHelper
private RibbonElementsInjectionHelper<Element> _injectionHelper
-
-
Constructor Detail
-
RibbonMenu
public RibbonMenu()
-
-
Method Detail
-
getElements
public List<Element> getElements()
Get the list of elements contains in the menu- Returns:
- The list of elements
-
addElements
public void addElements(List<Element> elements, String order, org.slf4j.Logger logger)
Add a list of elements to the menu at the specified order index- Parameters:
elements
- The list of elementsorder
- The orderlogger
- The logger
-
-