1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.taxeditor.editor;
|
12
|
|
13
|
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
|
14
|
|
15
|
/**
|
16
|
* @author n.hoffmann
|
17
|
* @created 30.04.2009
|
18
|
* @version 1.0
|
19
|
*/
|
20
|
public enum Page {
|
21
|
NAME ("Name", TaxonNameEditor.class, 0);
|
22
|
|
23
|
private String title;
|
24
|
private Class<?> clazz;
|
25
|
private int index;
|
26
|
|
27
|
Page(String title, Class<?> clazz, int index){
|
28
|
this.title = title;
|
29
|
this.clazz = clazz;
|
30
|
this.index = index;
|
31
|
}
|
32
|
|
33
|
public String getTitle(){
|
34
|
return this.title;
|
35
|
}
|
36
|
|
37
|
public Class<?> getClazz(){
|
38
|
return this.clazz;
|
39
|
}
|
40
|
|
41
|
public int getIndex(){
|
42
|
return this.index;
|
43
|
}
|
44
|
}
|