Class RibbonElementsInjectionHelper<T>
- java.lang.Object
-
- org.ametys.core.ui.ribbonconfiguration.RibbonElementsInjectionHelper<T>
-
- Type Parameters:
T
- The type of element to inject
public class RibbonElementsInjectionHelper<T> extends Object
Helper for the ribbon, for injecting elements inside another elements' container
-
-
Constructor Summary
Constructors Constructor Description RibbonElementsInjectionHelper(List<T> elements, org.slf4j.Logger logger)
Map a list of elements by they order to allows for elements injection
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
injectElements(T inject, String order)
Inject an element into the list of elements
-
-
-
Constructor Detail
-
RibbonElementsInjectionHelper
public RibbonElementsInjectionHelper(List<T> elements, org.slf4j.Logger logger)
Map a list of elements by they order to allows for elements injection- Parameters:
elements
- The list of elementslogger
- The logger
-
-
Method Detail
-
injectElements
public void injectElements(T inject, String order)
Inject an element into the list of elements- Parameters:
inject
- The element to injectorder
- The order property.
-
-