private class RibbonElementsInjectionHelper.ObjectOrderMapping extends Object
Modifier and Type | Field and 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 and Description |
---|
ObjectOrderMapping(T initialObject) |
Modifier and Type | Method and 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) |
private T _initialObject
private int _initialObjectIndex
private List<T> _objectsBefore
private Map<T,Integer> _objectsBeforeOrder
private List<T> _objectsAfter
private Map<T,Integer> _objectsAfterOrder
public ObjectOrderMapping(T initialObject)
public void injectObjectBefore(T object, Integer order)
public void injectObjectAfter(T object, Integer order)
public T getInitialObject()