Revision e5de8a59
Added by Katja Luther about 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java | ||
---|---|---|
774 | 774 |
public static void setSortNodesNaturally(boolean selection) { |
775 | 775 |
getPreferenceStore().setValue(SORT_NODES_NATURALLY, selection); |
776 | 776 |
} |
777 |
|
|
778 |
|
|
779 |
/** |
|
780 |
* <p> |
|
781 |
* getSortRanksNaturally |
|
782 |
* </p> |
|
783 |
* |
|
784 |
* @return a boolean. |
|
785 |
*/ |
|
786 |
public static boolean getSortNodesStrictlyAlphabetically() { |
|
787 |
return getPreferenceStore().getBoolean(SORT_NODES_ALPHABETICALLY); |
|
788 |
} |
|
789 |
|
|
790 |
/** |
|
791 |
* <p> |
|
792 |
* setSortRanksNaturally |
|
793 |
* </p> |
|
794 |
* |
|
795 |
* @param selection |
|
796 |
* a boolean. |
|
797 |
*/ |
|
798 |
public static void setSortNodesStrictlyAlphabetically(boolean selection) { |
|
799 |
getPreferenceStore().setValue(SORT_NODES_ALPHABETICALLY, selection); |
|
800 |
} |
|
801 |
|
|
777 | 802 |
} |
Also available in: Unified diff
changes for #5346