org.eclipse.xtext.xtext.ui.editor.outline
Class XtextOutlineNodeComparator

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.outline.actions.SortOutlineContribution.DefaultComparator
      extended by org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineNodeComparator
All Implemented Interfaces:
java.util.Comparator<IOutlineNode>, OutlineFilterAndSorter.IComparator

public class XtextOutlineNodeComparator
extends SortOutlineContribution.DefaultComparator

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
XtextOutlineNodeComparator()
           
 
Method Summary
 int getCategory(IOutlineNode node)
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.outline.actions.SortOutlineContribution.DefaultComparator
compare, isEnabled
 
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
 

Constructor Detail

XtextOutlineNodeComparator

public XtextOutlineNodeComparator()
Method Detail

getCategory

public int getCategory(IOutlineNode node)
Overrides:
getCategory in class SortOutlineContribution.DefaultComparator