当前位置: 首页>>代码示例>>Python>>正文


Python SextanteConfig.removeSetting方法代码示例

本文整理汇总了Python中sextante.core.SextanteConfig.SextanteConfig.removeSetting方法的典型用法代码示例。如果您正苦于以下问题:Python SextanteConfig.removeSetting方法的具体用法?Python SextanteConfig.removeSetting怎么用?Python SextanteConfig.removeSetting使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在sextante.core.SextanteConfig.SextanteConfig的用法示例。


在下文中一共展示了SextanteConfig.removeSetting方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 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)
开发者ID:Nald,项目名称:Quantum-GIS,代码行数:10,代码来源:GrassAlgorithmProvider.py

示例2: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 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)
开发者ID:kfischerar,项目名称:ogrtools,代码行数:9,代码来源:ogralgorithmprovider.py

示例3: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(OTBUtils.OTB_FOLDER)
     SextanteConfig.removeSetting(OTBUtils.OTB_LIB_FOLDER)
开发者ID:L-Infantini,项目名称:Quantum-GIS,代码行数:6,代码来源:OTBAlgorithmProvider.py

示例4: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(RUtils.RSCRIPTS_FOLDER)
     if SextanteUtils.isWindows():
         SextanteConfig.removeSetting(RUtils.R_FOLDER)
         SextanteConfig.removeSetting(RUtils.R_USE64)
开发者ID:geodenilson,项目名称:Quantum-GIS,代码行数:8,代码来源:RAlgorithmProvider.py

示例5: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting( WpsAlgorithmProvider.WPS_DESCRIPTIONS)
开发者ID:bpross-52n,项目名称:qgis-wps-client,代码行数:5,代码来源:WpsAlgorithmProvider.py

示例6: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 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)
开发者ID:Nald,项目名称:Quantum-GIS,代码行数:14,代码来源:SagaAlgorithmProvider.py

示例7: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 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)
开发者ID:sawajid,项目名称:Quantum-GIS,代码行数:8,代码来源:AlgorithmProvider.py

示例8: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 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)
开发者ID:mokerjoke,项目名称:Quantum-GIS,代码行数:19,代码来源:GrassAlgorithmProvider.py

示例9: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 def unload(self):
     AlgorithmProvider.unload(self)
     SextanteConfig.removeSetting(TauDEMUtils.TAUDEM_FOLDER)
     SextanteConfig.removeSetting(TauDEMUtils.MPIEXEC_FOLDER)
     SextanteConfig.removeSetting(TauDEMUtils.MPI_PROCESSES)
开发者ID:Adam-Brown,项目名称:Quantum-GIS,代码行数:7,代码来源:TauDEMAlgorithmProvider.py

示例10: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 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)
开发者ID:carsonfarmer,项目名称:Quantum-GIS,代码行数:7,代码来源:ExampleAlgorithmProvider.py

示例11: unload

# 需要导入模块: from sextante.core.SextanteConfig import SextanteConfig [as 别名]
# 或者: from sextante.core.SextanteConfig.SextanteConfig import removeSetting [as 别名]
 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 )
开发者ID:SIGISLV,项目名称:processinglwgeomprovider,代码行数:7,代码来源:LwgeomAlgorithmProvider.py


注:本文中的sextante.core.SextanteConfig.SextanteConfig.removeSetting方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。