Revision 244 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.lib/org.gvsig.geoprocess.lib.api/src/main/java/org/gvsig/geoprocess/lib/api/GeoProcessManager.java
GeoProcessManager.java | ||
---|---|---|
33 | 33 |
/** |
34 | 34 |
* Registers a new {@link GeoProcess}. |
35 | 35 |
* |
36 |
* @param geoProcess |
|
37 |
* the {@link GeoProcess} instance |
|
38 |
*/ |
|
39 |
void registerGeoProcess(GeoProcess geoProcess); |
|
40 |
|
|
41 |
/** |
|
42 |
* Registers a new {@link GeoProcess}. |
|
43 |
* |
|
36 | 44 |
* @param geoProcessClazz |
37 | 45 |
* the {@link GeoProcess} class |
38 | 46 |
* @param localeStrings |
39 | 47 |
* the i18n strings used by the geoprocess |
48 |
* @deprecated use {@link #registerGeoProcess(Class)} |
|
40 | 49 |
*/ |
41 | 50 |
void registerGeoProcess(Class<? extends GeoProcess> geoProcessClazz, |
42 | 51 |
Map<String, String> localeStrings); |
52 |
|
|
53 |
/** |
|
54 |
* Returns the translation for a label depending on the current locale. |
|
55 |
* |
|
56 |
* @param label |
|
57 |
* to translate |
|
58 |
* @return text in the current locale |
|
59 |
*/ |
|
60 |
String getTranslation(String label); |
|
43 | 61 |
} |
Also available in: Unified diff