public class DeltaTreeSorterByDeps extends java.lang.Object implements IDeltaTreeSorter
Modifier and Type | Class and Description |
---|---|
static class |
DeltaTreeSorterByDeps.Kind
Controls sort order
|
protected class |
DeltaTreeSorterByDeps.Sorter |
Modifier and Type | Field and Description |
---|---|
protected DeltaTreeSorterByDeps.Kind |
kind |
Constructor and Description |
---|
DeltaTreeSorterByDeps(DeltaTreeSorterByDeps.Kind kind) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
java.lang.String |
getID() |
DeltaTreeSorterByDeps.Kind |
getKind() |
protected DeltaTreeSorterByDeps.Sorter |
getSorter(org.eclipse.compare.structuremergeviewer.IDiffContainer[] deltaNodes,
IDeltaTreeContext context) |
void |
sortDeltas(org.eclipse.compare.structuremergeviewer.IDiffContainer[] deltaNodes,
IDeltaTreeContext context)
Sorts the given delta nodes
|
protected final DeltaTreeSorterByDeps.Kind kind
public DeltaTreeSorterByDeps(DeltaTreeSorterByDeps.Kind kind)
public final DeltaTreeSorterByDeps.Kind getKind()
public java.lang.String getID()
getID
in interface IDeltaTreeSorter
public java.lang.String getDisplayName()
getDisplayName
in interface IDeltaTreeSorter
public void sortDeltas(org.eclipse.compare.structuremergeviewer.IDiffContainer[] deltaNodes, IDeltaTreeContext context)
IDeltaTreeSorter
sortDeltas
in interface IDeltaTreeSorter
deltaNodes
- -
Array of delta nodes to be sortedcontext
- -
The context for obtains more info about the deltaprotected DeltaTreeSorterByDeps.Sorter getSorter(org.eclipse.compare.structuremergeviewer.IDiffContainer[] deltaNodes, IDeltaTreeContext context)