12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- """
- ***************************************************************************
- __init__.py
- ---------------------
- Date : August 2012
- Copyright : (C) 2012 by Victor Olaya
- Email : volayaf at gmail dot com
- ***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************
- """
- __author__ = 'Victor Olaya'
- __date__ = 'August 2012'
- __copyright__ = '(C) 2012, Victor Olaya'
- from processing.tools.dataobjects import * # NOQA
- from processing.tools.dataobjects import createContext
- from processing.tools.general import * # NOQA
- from processing.tools.general import (
- algorithmHelp,
- run,
- runAndLoadResults,
- createAlgorithmDialog,
- execAlgorithmDialog
- )
- from processing.tools.vector import * # NOQA
- from processing.tools.raster import * # NOQA
- from processing.tools.system import * # NOQA
- # monkey patch Python specific Processing API into stable qgis.processing module
- import qgis.processing
- qgis.processing.algorithmHelp = algorithmHelp
- qgis.processing.run = run
- qgis.processing.runAndLoadResults = runAndLoadResults
- qgis.processing.createAlgorithmDialog = createAlgorithmDialog
- qgis.processing.execAlgorithmDialog = execAlgorithmDialog
- qgis.processing.createContext = createContext
- def classFactory(iface):
- from processing.ProcessingPlugin import ProcessingPlugin
- return ProcessingPlugin(iface)
|