| Trees | Indices | Help |
|
|---|
|
|
Base list controller with a common API for all list-like controllers.
| Nested Classes | |
| DOCME |
view_mode DOCME |
| Instance Methods | |||
|
|||
twisted.internet.defer.Deferred
|
|
||
twisted.internet.defer.Deferred
|
|
||
| elisa.core.utils.defer.Deferred |
|
||
| elisa.core.utils.defer.Deferred |
|
||
(elisa.core.action.ContextualAction,
list of elisa.core.action.ContextualAction)
|
|
||
| None or elisa.core.utils.defer.Deferred |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| elisa.core.utils.defer.Deferred |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
bool
|
|
||
|
Inherited from Inherited from |
|||
| Inherited from hierarchy.HierarchyController | |||
|---|---|---|---|
|
|||
|
|||
|
|||
| Inherited from pigment.pigment_controller.PigmentController | |||
|
|||
|
|||
|
|||
|
|||
| Inherited from core.component.Component | |||
|
|||
|
|||
| Class Methods | |||
| Inherited from core.component.Component | |||
|---|---|---|---|
| elisa.core.component.Component or a subclass |
|
||
| Class Variables | |
bool
|
fastscroller_enabled = Falsewhether to show a fastscroller ( False by default)
|
int
|
fastscroller_threshold = 20DOCME |
| str |
empty_label = Nonetext shown when there no models are to be displayed |
bool
|
sensitive = property(fget= sensitive_get, fset= sensitive_set)whether this controller should react on click events |
|
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 | |
| elisa.plugins.pigment.widgets.list.List |
fastscroller DOCME |
| elisa.core.utils.notifying_list.List |
model the data model |
| elisa.plugins.pigment.widgets.list.List |
nodes the list widget |
| elisa.core.utils.notifying_list.List |
shortcuts the fastscroller's model |
| Inherited from hierarchy.HierarchyController | |
|---|---|
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 |
| 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
|
Initialize the component. This method is called by
|
Clean the component. This method is called when a component is not needed anymore to clean its state.
|
Reload the model as it is done at initialization time. Re-build accordingly the shortcuts.
|
Initial population of the data model ( This method should be overridden by subclasses. The default implementation returns an empty list.
|
Create the default action and the contextual actions associated to the type of item the controller will be presenting. The default implementation does create any action, subclasses should override this method.
|
Set the frontend for the controller. It can optionally return a deferred.
|
Called after frontend finished creation of the controller and all decorators are loaded.
|
Create the list widget. This method should be overridden by subclasses. |
Create fastscroller. This method should be overridden by subclasses. |
Layout fastscroller and nodes. This method should be overridden by subclasses. |
|
DOCME This method should be overridden by subclasses. |
Callback invoked when an item is activated. The default implementation executes the default action associated with the item. This method should be overriden by subclasses that do not make use of contextual actions.
|
[DEPRECATED] Callback invoked when an item of the list representing a given level of the hierarchy is clicked.
Deprecated:
implement |
Display an alert widget to inform that the model is empty.
|
Render an item in a list widget. The default implementation does nothing. Subclasses should override this method to control how items are visually rendered.
|
Callback invoked when an item is selected. The default implementation does nothing. Subclasses should override if an action is to be taken.
|
Specialisation that allows for key presses to the letter keys to trigger a fast-scroll to the first label with a first letter equal to the pressed letter.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 1 10:55:15 2009 | http://epydoc.sourceforge.net |