Subversion Repositories eFlore/Applications.cel

Rev

Rev 157 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 157 Rev 252
Line 20... Line 20...
20
	private static String imageBaseUrl;
20
	private static String imageBaseUrl;
Line 21... Line 21...
21
	
21
	
Line 22... Line 22...
22
	private static String suiviBugUrl ;
22
	private static String suiviBugUrl ;
-
 
23
	
-
 
24
	private static String aideBaseUrl ;
-
 
25
	
-
 
26
	private static String referentielGeo ;
Line 23... Line 27...
23
	
27
	
24
	private static String aideBaseUrl ;
28
	private static String systemeProj ;
25
 
29
 
26
	/**
30
	/**
Line 31... Line 35...
31
		// variables du fichier javascript
35
		// variables du fichier javascript
Line 32... Line 36...
32
		
36
		
33
		if(GWT.isScript()) {
37
		if(GWT.isScript()) {
34
			serviceBaseUrl = Dictionary.getDictionary("configuration").get(
38
			serviceBaseUrl = Dictionary.getDictionary("configuration").get(
-
 
39
					"serviceBaseUrl");
35
					"serviceBaseUrl");
40
			
36
			suiviBugUrl = Dictionary.getDictionary("configuration").get(
41
			suiviBugUrl = Dictionary.getDictionary("configuration").get(
-
 
42
			"suiviBugUrl");
37
			"suiviBugUrl");
43
			
38
			imageBaseUrl = Dictionary.getDictionary("configuration").get(
44
			imageBaseUrl = Dictionary.getDictionary("configuration").get(
-
 
45
			"imageBaseUrl");
39
			"imageBaseUrl");
46
			
40
			aideBaseUrl = Dictionary.getDictionary("configuration").get(
47
			aideBaseUrl = Dictionary.getDictionary("configuration").get(
-
 
48
			"aideBaseUrl");
-
 
49
			
-
 
50
			referentielGeo = Dictionary.getDictionary("configuration").get(
-
 
51
			"referentielGeo");
-
 
52
			
-
 
53
			systemeProj = Dictionary.getDictionary("configuration").get(
41
			"aideBaseUrl");
54
			"systemeProj");
42
		}
55
		}
43
		else
56
		else
44
		{
57
		{
45
			serviceBaseUrl = "http://localhost/jrest";
58
			serviceBaseUrl = "http://localhost/jrest";
Line 83... Line 96...
83
	 */
96
	 */
84
	public static String getAideBaseUrl() {
97
	public static String getAideBaseUrl() {
85
		return aideBaseUrl ;
98
		return aideBaseUrl ;
86
	}
99
	}
Line -... Line 100...
-
 
100
	
-
 
101
	/**
-
 
102
	 * Accesseur pour l'url de base de l'aide
-
 
103
	 * 
-
 
104
	 * @return une url pointant vers la racine de l'aide
-
 
105
	 */
-
 
106
	public static String getReferentielGeo() {
-
 
107
		return referentielGeo ;
-
 
108
	}
-
 
109
	
-
 
110
	/**
-
 
111
	 * Accesseur pour l'url de base de l'aide
-
 
112
	 * 
-
 
113
	 * @return une url pointant vers la racine de l'aide
-
 
114
	 */
-
 
115
	public static String getSystemeProj() {
-
 
116
		return systemeProj ;
-
 
117
	}
Line 87... Line 118...
87
	
118