Class RibbonElementsInjectionHelper.ObjectOrderMapping
- java.lang.Object
-
- org.ametys.core.ui.ribbonconfiguration.RibbonElementsInjectionHelper.ObjectOrderMapping
-
- Enclosing class:
- RibbonElementsInjectionHelper<T>
private class RibbonElementsInjectionHelper.ObjectOrderMapping extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private T
_initialObject
private int
_initialObjectIndex
private List<T>
_objectsAfter
private Map<T,Integer>
_objectsAfterOrder
private List<T>
_objectsBefore
private Map<T,Integer>
_objectsBeforeOrder
-
Constructor Summary
Constructors Constructor Description ObjectOrderMapping(T initialObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_inject(T object, Integer order, List<T> objects, Map<T,Integer> objectsOrder)
T
getInitialObject()
void
injectObjectAfter(T object, Integer order)
void
injectObjectBefore(T object, Integer order)
-
-
-
Field Detail
-
_initialObject
private T _initialObject
-
_initialObjectIndex
private int _initialObjectIndex
-
_objectsBefore
private List<T> _objectsBefore
-
_objectsBeforeOrder
private Map<T,Integer> _objectsBeforeOrder
-
_objectsAfter
private List<T> _objectsAfter
-
_objectsAfterOrder
private Map<T,Integer> _objectsAfterOrder
-
-
Constructor Detail
-
ObjectOrderMapping
public ObjectOrderMapping(T initialObject)
-
-
Method Detail
-
injectObjectBefore
public void injectObjectBefore(T object, Integer order)
-
injectObjectAfter
public void injectObjectAfter(T object, Integer order)
-
_inject
private void _inject(T object, Integer order, List<T> objects, Map<T,Integer> objectsOrder)
-
getInitialObject
public T getInitialObject()
-
-