danieldupre / sextante

Automatically exported from code.google.com/p/sextante
0 stars 1 forks source link

Little change on gvSIG bindings #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
SEXTANTE allows to call gvSIG algorithms provided by remote sensing extension, 
but this extension is not distributed by default in gvSIG official version, so 
I made this change on gvSIG bindings:

if (PluginServices.getPluginServices("org.gvsig.remotesensing") != null){
          algs.add(new MosaicToolboxAction());
          algs.add(new DecisionTreeToolboxAction());
          algs.add(new TransformationToolboxAction());
          algs.add(new ClassificationToolboxAction());
          algs.add(new VectorizeToolboxAction());
}

This way gvSIG bindings keep being generic (it works for gvSIG CE as well as 
for gvSIG Official) and this feature will be available for gvSIG users of 
official version that install remote sensing extension.

Thoughts? 

Original issue reported on code.google.com by psanxiao on 13 Jun 2012 at 10:49

GoogleCodeExporter commented 8 years ago
I agree with the change

Original comment by fran.p...@gmail.com on 18 Jun 2012 at 11:58