gvsig-geoprocess / org.gvsig.sextante / trunk / org.gvsig.geoprocess / org.gvsig.geoprocess.app / org.gvsig.geoprocess.app.sextante / src / main / java / org / gvsig / geoprocess / app / sextante / SextanteAlgorithmsExtension.java @ 175
History | View | Annotate | Download (732 Bytes)
1 |
package org.gvsig.geoprocess.app.sextante; |
---|---|
2 |
|
3 |
import es.unex.sextante.core.Sextante; |
4 |
|
5 |
import org.gvsig.andami.PluginsLocator; |
6 |
import org.gvsig.andami.plugins.Extension; |
7 |
|
8 |
/**
|
9 |
* Sextante algorithms extension.
|
10 |
*
|
11 |
* @author gvSIG Team
|
12 |
* @version $Id$
|
13 |
*/
|
14 |
public class SextanteAlgorithmsExtension extends Extension { |
15 |
|
16 |
public void execute(String actionCommand) { |
17 |
// Nothing to do
|
18 |
} |
19 |
|
20 |
public void initialize() { |
21 |
Sextante.initialize((PluginsLocator.getManager() |
22 |
.getPlugin(SextanteAlgorithmsExtension.class).getPluginDirectory() |
23 |
.getAbsolutePath()) + "/lib");
|
24 |
} |
25 |
|
26 |
public boolean isEnabled() { |
27 |
return true; |
28 |
} |
29 |
|
30 |
public boolean isVisible() { |
31 |
return true; |
32 |
} |
33 |
} |