Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updated example provider
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@60 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Apr 3, 2012
1 parent b74ae41 commit 5a44ffc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sextanteexampleprovider/ExampleAlgorithmProvider.py
Expand Up @@ -19,7 +19,7 @@ def initializeSettings(self):
algorithms in the provider'''
AlgorithmProvider.initializeSettings(self)
SextanteConfig.addSetting(Setting("Example algorithms", ExampleAlgorithmProvider.MY_DUMMY_SETTING, "Example setting", "Default value"))

'''To get the parameter of a setting parameter, use SextanteConfig.getSetting(name_of_parameter)'''

def unload(self):
'''Setting should be removed here, so they do not appear anymore
Expand Down
2 changes: 1 addition & 1 deletion src/sextanteexampleprovider/__init__.py
Expand Up @@ -2,7 +2,7 @@
def name():
return "SEXTANTE example provider"
def description():
return "An example plugin that adds algorithm to SEXTANTE"
return "An example plugin that adds algorithms to SEXTANTE. Mainly created to guide developers in the process of creating plugins that add new capabilities to SEXTANTE"
def version():
return "Version 1.0"
def icon():
Expand Down
17 changes: 17 additions & 0 deletions src/sextanteexampleprovider/metadata.txt
@@ -0,0 +1,17 @@
# This file contains metadata for your plugin. Beginning
# with version 1.8 this is the preferred way to supply information about a
# plugin. The current method of embedding metadata in __init__.py will
# be supported until version 2.0

# This file should be included when you package your plugin.

[general]
name=SEXTANTE Example Provider
description=An example plugin that adds algorithms to SEXTANTE. Mainly created to guide developers in the process of creating plugins that add new capabilities to SEXTANTE
version=1.0
qgisMinimumVersion=1.0
class_name=SextanteExampleProviderPlugin
website=www.sextantegis.com
[author]
name=Victor Olaya
email=volayaf@gmail.com

0 comments on commit 5a44ffc

Please sign in to comment.