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, initgetOutlinePageprotected IBooleanPreference getPreference()
OutlineSorterContributionnull, in which case
this contribution will be effectively disabled. This method
is called once, when this contribution is initializing.getPreference in class OutlineSorterContributionnullprotected org.eclipse.jface.viewers.ViewerComparator getComparator()
Default implementation returns a new LabelComparator.
Subclasses may override.
getComparator in class OutlineSorterContributionnull)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0