1 |
432276e4
|
Katja Luther
|
/**
|
2 |
|
|
* Copyright (C) 2018 EDIT
|
3 |
|
|
* European Distributed Institute of Taxonomy
|
4 |
|
|
* http://www.e-taxonomy.eu
|
5 |
|
|
*
|
6 |
|
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7 |
|
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8 |
|
|
*/
|
9 |
|
|
package eu.etaxonomy.taxeditor.preference;
|
10 |
|
|
|
11 |
473f7b01
|
Katja Luther
|
import eu.etaxonomy.taxeditor.l10n.Messages;
|
12 |
|
|
|
13 |
432276e4
|
Katja Luther
|
/**
|
14 |
|
|
* @author k.luther
|
15 |
|
|
* @since 19.11.2018
|
16 |
|
|
*
|
17 |
|
|
*/
|
18 |
|
|
public enum NavigatorOrderEnum {
|
19 |
473f7b01
|
Katja Luther
|
AlphabeticalOrder("AlphabeticalOrder", Messages.NavigatorOrderEnum_1), //$NON-NLS-1$
|
20 |
|
|
NaturalOrder("NaturalOrder", Messages.NavigatorOrderEnum_3), //$NON-NLS-1$
|
21 |
|
|
RankAndNameOrder("RankAndNameOrder", Messages.NavigatorOrderEnum_5); //$NON-NLS-1$
|
22 |
432276e4
|
Katja Luther
|
|
23 |
|
|
|
24 |
|
|
String label;
|
25 |
|
|
String key;
|
26 |
|
|
|
27 |
|
|
private NavigatorOrderEnum(String key, String label){
|
28 |
|
|
this.label = label;
|
29 |
|
|
this.key = key;
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
public String getLabel(){
|
33 |
|
|
return label;
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
public String getKey(){
|
37 |
|
|
return key;
|
38 |
|
|
}
|
39 |
|
|
}
|