Class RightCollectionRuntimeOrderSorterDelegate
java.lang.Object
com._1c.g5.v8.dt.core.model.AbstractEObjectCollectionRuntimeOrderSorterDelegate<Integer>
com._1c.g5.v8.dt.internal.rights.cleanup.RightCollectionRuntimeOrderSorterDelegate
- All Implemented Interfaces:
IModelObjectCollectionRuntimeOrderSorterDelegate
public class RightCollectionRuntimeOrderSorterDelegate
extends AbstractEObjectCollectionRuntimeOrderSorterDelegate<Integer>
Right runtime order sorter delegate.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegergetKey(org.eclipse.emf.ecore.EObject actualEObject) Descendants must implement a method to obtain the sort key for e-object.voidsort(org.eclipse.emf.common.util.EList<? extends org.eclipse.emf.ecore.EObject> actual) Sorts e-object collection in runtime order.Methods inherited from class com._1c.g5.v8.dt.core.model.AbstractEObjectCollectionRuntimeOrderSorterDelegate
isCollectionNoNeedsSort
-
Constructor Details
-
RightCollectionRuntimeOrderSorterDelegate
public RightCollectionRuntimeOrderSorterDelegate()
-
-
Method Details
-
sort
public void sort(org.eclipse.emf.common.util.EList<? extends org.eclipse.emf.ecore.EObject> actual) Description copied from interface:IModelObjectCollectionRuntimeOrderSorterDelegateSorts e-object collection in runtime order.- Specified by:
sortin interfaceIModelObjectCollectionRuntimeOrderSorterDelegate- Overrides:
sortin classAbstractEObjectCollectionRuntimeOrderSorterDelegate<Integer>- Parameters:
actual- the e-object actual collection, cannot benull
-
getKey
Description copied from class:AbstractEObjectCollectionRuntimeOrderSorterDelegateDescendants must implement a method to obtain the sort key for e-object.- Specified by:
getKeyin classAbstractEObjectCollectionRuntimeOrderSorterDelegate<Integer>- Parameters:
actualEObject- the e-object, cannot benull- Returns:
- the sort key, cannot be
null
-