Class BslCustomRefactoringUpdateAcceptor.CustomCompositeChangesSorter
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.refactoring.BslCustomRefactoringUpdateAcceptor.CustomCompositeChangesSorter
-
- All Implemented Interfaces:
Comparator<org.eclipse.ltk.core.refactoring.Change>
- Enclosing class:
- BslCustomRefactoringUpdateAcceptor
public static class BslCustomRefactoringUpdateAcceptor.CustomCompositeChangesSorter extends Object implements Comparator<org.eclipse.ltk.core.refactoring.Change>
Special sorter forChange
s. If both comparing changes isCustomCompositeChange
compare theirCustomCompositeChange.getSortedName()
, otherwise compare changes names.
-
-
Constructor Summary
Constructors Constructor Description CustomCompositeChangesSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(org.eclipse.ltk.core.refactoring.Change o1, org.eclipse.ltk.core.refactoring.Change o2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(org.eclipse.ltk.core.refactoring.Change o1, org.eclipse.ltk.core.refactoring.Change o2)
- Specified by:
compare
in interfaceComparator<org.eclipse.ltk.core.refactoring.Change>
-
-