Package arcjobtool :: Package plugins :: Module Plugins :: Class PluginManager
[hide private]
[frames] | no frames]

Class PluginManager

source code


Class for managing plugins in ArcGui.

Instance Methods [hide private]
 
logMsg(self, level, msg) source code
 
logInfoMsg(self, msg) source code
 
logDebugMsg(self, msg) source code
 
logErrorMsg(self, msg) source code
 
__init__(self)
Plugin manager constructor.
source code
 
__loadPlugin(self, plugin)
Load plugin from plugin dir.
source code
 
getPlugins(self) source code
 
pluginFromId(self, pluginId)
Return plugin instance from string pluginId.
source code
 
pluginFromWorkDir(self, workDir)
Return plugin instance based on definition dir.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls)
Overloaded new method to make sure we only have one instance of a plugin manager.
source code
Properties [hide private]
  plugins

Inherited from object: __class__

Method Details [hide private]

__new__(cls)
Static Method

source code 

Overloaded new method to make sure we only have one instance of a plugin manager.

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__init__(self)
(Constructor)

source code 

Plugin manager constructor.

Loads plugins from plugin directory. Creates a dictionary of subclasses.

Overrides: object.__init__

Property Details [hide private]

plugins

Get Method:
getPlugins(self)