Package conduit :: Package dataproviders :: Module DataProvider :: Class DataProviderFactory
[hide private]

Class DataProviderFactory

source code


Abstract base class for a factory which emits Dataproviders. Users should inherit from this if they wish to provide a loadable module in which dynamic dataproviders become available at runtime.

Instance Methods [hide private]
 
__init__(self, **kwargs) source code
 
emit_added(self, klass, initargs, category, customKey=None) source code
 
emit_removed(self, key) source code
 
probe(self) source code
 
quit(self)
Shutdown cleanup...
source code
 
setup_configuration_widget(self)
If the factory needs to offer configuration options then it should return a gtk.widget here.
source code
 
save_configuration(self, ok) source code
 
get_name(self) source code
Class Variables [hide private]
  __gsignals__ = {"dataprovider-added":(gobject.SIGNAL_RUN_LAST,...
  _module_type_ = "dataprovider-factory"
Method Details [hide private]

setup_configuration_widget(self)

source code 
If the factory needs to offer configuration options then it should return a gtk.widget here. This widget is then packed into the configuration notebook.

save_configuration(self, ok)

source code 
Parameters:
  • ok - True if the user closed the prefs panel with OK, false if they cancelled it.

Class Variable Details [hide private]

__gsignals__

Value:
{"dataprovider-added":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, [go\
bject.TYPE_PYOBJECT, gobject.TYPE_PYOBJECT]), "dataprovider-removed":(\
gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, [gobject.TYPE_STRING])}