Project

General

Profile

Download (665 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * 
3
 */
4
package eu.etaxonomy.dataportal;
5

    
6
import static eu.etaxonomy.dataportal.DataPortalContext.*;
7

    
8
/**
9
 * @author a.kohlbecker
10
 *
11
 */
12
public class DataPortalManager {
13
	
14
	static DataPortalManager managerInstance = null;
15
	
16
	private DataPortalContext currentDataPortalContext = cichorieae;
17
	
18
	public static void prepare() {
19
		if(managerInstance == null){
20
			managerInstance = new DataPortalManager();
21
			managerInstance.setupDataPortal();
22
		}
23
	}
24
	
25
	public static DataPortalContext currentDataPortalContext(){
26
		prepare();
27
		return managerInstance.currentDataPortalContext;
28
	}
29

    
30
	private void setupDataPortal() {
31
		//TODO 
32
	}
33

    
34
}
(3-3/3)