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

public class MethodsTreeComparator extends ResultsComparator
Comparator used to sort profiling results table in DefaultProfilerView.
  • Constructor Details

    • MethodsTreeComparator

      public MethodsTreeComparator()
  • Method Details

    • compare

      public int compare(Viewer viewer, Object e1, Object e2)
      Overrides:
      compare in class ViewerComparator
    • 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.