| Trees | Indices | Help |
|
|---|
|
|
Generic base controller that provides some asynchronous loading facilities.
Every deferred call done in the context of this controller should be registered in the internal dictionary of deferreds so as to keep track of them and allow their cancellation if needed (e.g. when cleaning the controller). Each value of this internal dictionary is a list, meaning that several deferred calls can be associated to one key.
>>> self.register_deferred(key, deferred)
To cancel all the deferred calls associated to a given key, do:
>>> self.cancel_deferreds(key)
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
twisted.internet.defer.Deferred
|
|
||
|
Inherited from Inherited from |
|||
| Inherited from pigment.pigment_controller.PigmentController | |||
|---|---|---|---|
bool
|
|
||
|
|||
|
|||
|
|||
|
|||
| None or elisa.core.utils.defer.Deferred |
|
||
|
|||
| Inherited from core.component.Component | |||
twisted.internet.defer.Deferred
|
|
||
|
|||
|
|||
| Class Methods | |||
| Inherited from core.component.Component | |||
|---|---|---|---|
| elisa.core.component.Component or a subclass |
|
||
| Class Variables | |
|
Inherited from |
|
| Inherited from pigment.pigment_controller.PigmentController | |
|---|---|
__gsignals__ = {'clean':(gobject.SIGNAL_RUN_LAST, gobject.TYPE
|
|
| Inherited from core.component.Component | |
config_doc = {}
|
|
default_config = {}
|
|
name = property(fget= name__get, fset= name__set)
|
|
| Instance Variables | |
dict of any immutable type -> list of
{elisa.core.utils.defer.Deferred}
|
deferreds currently pending deferred calls |
| Inherited from pigment.pigment_controller.PigmentController | |
|---|---|
| elisa.core.components.frontend.Frontend |
frontend frontend that created the controller |
str
|
path path for which that controller was selected |
bool
|
sensitive whether this controller should react on click events |
| elisa.plugins.pigment.widgets.widget.Widget |
widget Pigment widget containing the UI of the controller |
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Cancel all the currently pending deferred calls associated to one given key in the internal dictionary.
|
Clean the component. This method is called when a component is not needed anymore to clean its state.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 1 10:55:15 2009 | http://epydoc.sourceforge.net |