コード例 #1
0
 def unload(self):
     AlgorithmProvider.unload(self)
     if SextanteUtils.isWindows() or SextanteUtils.isMac():
         SextanteConfig.removeSetting(GrassUtils.GRASS_FOLDER)
         SextanteConfig.removeSetting(GrassUtils.GRASS_WIN_SHELL)
     SextanteConfig.removeSetting(GrassUtils.GRASS_HELP_FOLDER)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_COMMANDS)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_CONSOLE)
コード例 #2
0
 def unload(self):
     AlgorithmProvider.unload(self)
     if SextanteUtils.isWindows() or SextanteUtils.isMac():
         SextanteConfig.removeSetting(GrassUtils.GRASS_FOLDER)
         SextanteConfig.removeSetting(GrassUtils.GRASS_WIN_SHELL)
     SextanteConfig.removeSetting(GrassUtils.GRASS_HELP_FOLDER)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_COMMANDS)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_CONSOLE)
コード例 #3
0
 def unload(self):
     '''Setting should be removed here, so they do not appear anymore
     when the plugin is unloaded'''
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(IliUtils.JAVA_EXEC)
     SextanteConfig.removeSetting(IliUtils.ILI2C_JAR)
     SextanteConfig.removeSetting(IliUtils.ILI2PG_JAR)
コード例 #4
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting( WpsAlgorithmProvider.WPS_DESCRIPTIONS)
コード例 #5
0
 def unload(self):
     '''Do here anything that you want to be done when the provider is removed from the list of available ones.
     This method is called when you remove the provider from Sextante.
     Removal of config setting should be done here'''
     name = "ACTIVATE_" + self.getName().upper().replace(" ", "_")
     SextanteConfig.removeSetting(name)
コード例 #6
0
 def unload(self):
     AlgorithmProvider.unload(self)
     if SextanteUtils.isWindows():
         SextanteConfig.removeSetting(SagaUtils.SAGA_FOLDER)
     SextanteConfig.removeSetting(SagaUtils.SAGA_AUTO_RESAMPLING)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_XMIN)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_YMIN)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_XMAX)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_YMAX)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_CELLSIZE)
     SextanteConfig.removeSetting(SagaUtils.SAGA_LOG_CONSOLE)
     SextanteConfig.removeSetting(SagaUtils.SAGA_LOG_COMMANDS)
コード例 #7
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(RUtils.RSCRIPTS_FOLDER)
     if SextanteUtils.isWindows():
         SextanteConfig.removeSetting(RUtils.R_FOLDER)
         SextanteConfig.removeSetting(RUtils.R_USE64)
コード例 #8
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(TauDEMUtils.TAUDEM_FOLDER)
     SextanteConfig.removeSetting(TauDEMUtils.MPIEXEC_FOLDER)
     SextanteConfig.removeSetting(TauDEMUtils.MPI_PROCESSES)
コード例 #9
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(OTBUtils.OTB_FOLDER)
     SextanteConfig.removeSetting(OTBUtils.OTB_LIB_FOLDER)
コード例 #10
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting( WpsAlgorithmProvider.WPS_DESCRIPTIONS)
コード例 #11
0
 def unload(self):
     AlgorithmProvider.unload(self)
     if SextanteUtils.isWindows() or SextanteUtils.isMac():
         SextanteConfig.removeSetting(GrassUtils.GRASS_FOLDER)
         SextanteConfig.removeSetting(GrassUtils.GRASS_WIN_SHELL)
     #SextanteConfig.removeSetting(GrassUtils.GRASS_AUTO_REGION)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LATLON)
     #=======================================================================
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_XMIN)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_YMIN)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_XMAX)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_YMAX)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_CELLSIZE)
     #=======================================================================
     SextanteConfig.removeSetting(GrassUtils.GRASS_HELP_FOLDER)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_COMMANDS)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_CONSOLE)
コード例 #12
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(TauDEMUtils.TAUDEM_FOLDER)
     SextanteConfig.removeSetting(TauDEMUtils.MPIEXEC_FOLDER)
     SextanteConfig.removeSetting(TauDEMUtils.MPI_PROCESSES)
コード例 #13
0
 def unload(self):
     '''Setting should be removed here, so they do not appear anymore
     when the plugin is unloaded'''
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting( ExampleAlgorithmProvider.MY_DUMMY_SETTING)
コード例 #14
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(OTBUtils.OTB_FOLDER)
     SextanteConfig.removeSetting(OTBUtils.OTB_LIB_FOLDER)
コード例 #15
0
 def unload(self):
     AlgorithmProvider.unload(self)
     if SextanteUtils.isWindows() or SextanteUtils.isMac():
         SextanteConfig.removeSetting(GrassUtils.GRASS_FOLDER)
         SextanteConfig.removeSetting(GrassUtils.GRASS_WIN_SHELL)
     #SextanteConfig.removeSetting(GrassUtils.GRASS_AUTO_REGION)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LATLON)
     #=======================================================================
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_XMIN)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_YMIN)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_XMAX)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_YMAX)
     # SextanteConfig.removeSetting(GrassUtils.GRASS_REGION_CELLSIZE)
     #=======================================================================
     SextanteConfig.removeSetting(GrassUtils.GRASS_HELP_FOLDER)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_COMMANDS)
     SextanteConfig.removeSetting(GrassUtils.GRASS_LOG_CONSOLE)
コード例 #16
0
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(RUtils.RSCRIPTS_FOLDER)
     if SextanteUtils.isWindows():
         SextanteConfig.removeSetting(RUtils.R_FOLDER)
         SextanteConfig.removeSetting(RUtils.R_USE64)
コード例 #17
0
 def unload(self):
     '''Do here anything that you want to be done when the provider is removed from the list of available ones.
     This method is called when you remove the provider from Sextante.
     Removal of config setting should be done here'''
     name = "ACTIVATE_" + self.getName().upper().replace(" ", "_")
     SextanteConfig.removeSetting(name)
コード例 #18
0
 def unload(self):
     '''Setting should be removed here, so they do not appear anymore
     when the plugin is unloaded'''
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(ExampleAlgorithmProvider.MY_DUMMY_SETTING)
コード例 #19
0
 def unload(self):
     AlgorithmProvider.unload(self)
     if SextanteUtils.isWindows():
         SextanteConfig.removeSetting(SagaUtils.SAGA_FOLDER)
     SextanteConfig.removeSetting(SagaUtils.SAGA_AUTO_RESAMPLING)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_XMIN)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_YMIN)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_XMAX)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_YMAX)
     SextanteConfig.removeSetting(SagaUtils.SAGA_RESAMPLING_REGION_CELLSIZE)
     SextanteConfig.removeSetting(SagaUtils.SAGA_LOG_CONSOLE)
     SextanteConfig.removeSetting(SagaUtils.SAGA_LOG_COMMANDS)
コード例 #20
0
 def unload(self):
     '''remove settings, so they do not appear anymore when the plugin 
     is unloaded'''
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting( LwgeomAlgorithmProvider.LWGEOM_PATH_SETTING )