Class MethodsTreeComparator
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
com._1c.g5.v8.dt.internal.profiling.ui.view.ResultsComparator
com._1c.g5.v8.dt.internal.profiling.ui.view.methodlist.MethodsTreeComparator
Comparator used to sort profiling results table in
DefaultProfilerView
.-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.internal.profiling.ui.view.ResultsComparator
descending, propertyIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setGroupMethods
(boolean groupMethods) Sets whether methods should be grouped by modules or not.Methods inherited from class com._1c.g5.v8.dt.internal.profiling.ui.view.ResultsComparator
getDirection, setColumn
Methods inherited from class org.eclipse.jface.viewers.ViewerComparator
category, getComparator, isSorterProperty, sort
-
Constructor Details
-
MethodsTreeComparator
public MethodsTreeComparator()
-
-
Method Details
-
compare
- Overrides:
compare
in classViewerComparator
-
setGroupMethods
public void setGroupMethods(boolean groupMethods) Sets whether methods should be grouped by modules or not.- Parameters:
groupModules
-true
if methods should be grouped by modules,false
otherwise.
-