Project

General

Profile

Download (961 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
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
import eu.etaxonomy.taxeditor.l10n.Messages;
12

    
13
/**
14
 * @author k.luther
15
 * @since 19.11.2018
16
 *
17
 */
18
public enum NavigatorOrderEnum {
19
    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

    
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
}
(24-24/41)