50 lines
1.9 KiB
Python
Raw Normal View History

2012-10-05 23:28:47 +02:00
"""
***************************************************************************
__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
2020-05-06 11:35:02 +02:00
from processing.tools.dataobjects import createContext
from processing.tools.general import * # NOQA
2020-05-05 23:36:06 +02:00
from processing.tools.general import (
algorithmHelp,
run,
runAndLoadResults,
createAlgorithmDialog,
2020-05-06 11:35:02 +02:00
execAlgorithmDialog
2020-05-05 23:36:06 +02:00
)
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
2012-09-15 18:25:25 +03:00
def classFactory(iface):
2013-08-12 20:44:27 +02:00
from processing.ProcessingPlugin import ProcessingPlugin
return ProcessingPlugin(iface)