public class LexicalSortContribution extends OutlineSorterContribution
preference
.Constructor and Description |
---|
LexicalSortContribution() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.viewers.ViewerComparator |
getComparator()
Returns a comparator that will be used when the sorter is active.
|
protected IBooleanPreference |
getPreference()
Returns a boolean-valued preference that will control the activation
of the sorter.
|
dispose, getDefaultComparator, init
getOutlinePage
protected IBooleanPreference getPreference()
OutlineSorterContribution
null
, in which case
this contribution will be effectively disabled. This method
is called once, when this contribution is initializing.getPreference
in class OutlineSorterContribution
null
protected org.eclipse.jface.viewers.ViewerComparator getComparator()
Default implementation returns a new LabelComparator
.
Subclasses may override.
getComparator
in class OutlineSorterContribution
null
)Copyright (c) 2014, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0