Project

General

Profile

« Previous | Next » 

Revision 4633f830

Added by Katja Luther almost 9 years ago

make the order of the taxon nodes editable

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/PreferencesUtil.java
751 751
            ctrl.setEnabled(enabled);
752 752
        }
753 753
    }
754
    
755
    /**
756
	 * <p>
757
	 * getSortRanksNaturally
758
	 * </p>
759
	 *
760
	 * @return a boolean.
761
	 */
762
	public static boolean getSortNodesNaturally() {
763
		return getPreferenceStore().getBoolean(SORT_NODES_NATURALLY);
764
	}
765
	
766
	/**
767
	 * <p>
768
	 * setSortRanksNaturally
769
	 * </p>
770
	 *
771
	 * @param selection
772
	 *            a boolean.
773
	 */
774
	public static void setSortNodesNaturally(boolean selection) {
775
		getPreferenceStore().setValue(SORT_NODES_NATURALLY, selection);
776
	}
754 777
}

Also available in: Unified diff