Revision 2b468360
Added by Katja Luther about 8 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java | ||
---|---|---|
798 | 798 |
public static void setSortNodesStrictlyAlphabetically(boolean selection) { |
799 | 799 |
getPreferenceStore().setValue(SORT_NODES_ALPHABETICALLY, selection); |
800 | 800 |
} |
801 |
|
|
802 |
/** |
|
803 |
* <p> |
|
804 |
* setStoreNavigatorState |
|
805 |
* </p> |
|
806 |
* |
|
807 |
* @param selection |
|
808 |
* a boolean. |
|
809 |
*/ |
|
810 |
public static boolean isStoreNavigatorState() { |
|
811 |
return getPreferenceStore().getBoolean(RESTORE_NAVIGATOR_STATE); |
|
812 |
|
|
813 |
} |
|
814 |
|
|
815 |
/** |
|
816 |
* <p> |
|
817 |
* setStoreNavigatorState |
|
818 |
* </p> |
|
819 |
* |
|
820 |
* @param selection |
|
821 |
* a boolean. |
|
822 |
*/ |
|
823 |
public static void setStoreNavigatorState(boolean selection) { |
|
824 |
getPreferenceStore().setValue(RESTORE_NAVIGATOR_STATE, selection); |
|
825 |
|
|
826 |
} |
|
801 | 827 |
|
802 | 828 |
} |
Also available in: Unified diff
make restore of taxon navigator a preference