Class e.p.d.v.ConfirmController(ControllerWithHeader, MenuItemListController):

Part of elisa.plugins.database.video_categorizer View In Hierarchy

Known subclasses: elisa.plugins.database.video_categorizer.MovieConfirmController, elisa.plugins.database.video_categorizer.TVShowConfirmController, elisa.plugins.database.video_categorizer.UnclassifiedConfirmController

Generic controller presenting 2 actions, one to confirm the recategorization and one to cancel it. The controller has a simple API so that classes inheriting can implement recategorization scenarios (either the automatic one of the manual one).
Line # Kind Name Docs
477 Method initialize Initialize the component.
482 Method node_clicked Callback invoked when an item of the list representing a given level of
485 Method make_actions Undocumented
501 Method confirm Undocumented
571 Method _auto_add Undocumented
574 Method _manual_add Undocumented
577 Method _update_favorite_item Undocumented

Inherited from ControllerWithHeader:

Line # Kind Name Docs
71 Method header Undocumented
74 Method subheader Undocumented
77 Method set_frontend Undocumented
95 Method clean Clean the component.

Inherited from HierarchyController (via ControllerWithHeader):

Line # Kind Name Docs
80 Method register_deferred Register a deferred call to be associated to a given key.
86 Method cancel_deferreds Cancel all the currently pending deferred calls associated to one given
103 Method cancel_all_deferreds Cancel all the currently pending deferred calls.

Inherited from Component (via ControllerWithHeader, HierarchyController):

Line # Kind Name Docs
83 Class PathDescriptor Undocumented
95 Class Method create Create and initialize the component.
153 Method name__get Undocumented
158 Method name__set Undocumented

Inherited from Loggable (via ControllerWithHeader, HierarchyController, Component):

Line # Kind Name Docs
81 Method __init__ Undocumented

Inherited from MenuItemListMixin (via MenuItemListController):

Line # Kind Name Docs
442 Method clean Undocumented
463 Method node_renderer Render a node using the common API methods defined by the
450 Method _actions_inserted Undocumented
453 Method _actions_deleted Undocumented
456 Method _actions_changed Undocumented
460 Method _actions_reordered Undocumented

Inherited from SimpleListController (via MenuItemListController):

Line # Kind Name Docs
115 Method __init__ Undocumented
130 Method nodes_setup Undocumented
162 Method item_to_letter Undocumented
217 Method clean Clean the component.
225 Method handle_input Undocumented
119 Method _create_selector Undocumented
143 Method _fastscroller_setup Undocumented
171 Method _get_active_shortcuts Undocumented
195 Method _shortcut_renderer Undocumented
202 Method _get_current_shortcut Undocumented
205 Method _set_current_shortcut Undocumented
208 Method _shortcut_selected Undocumented

Inherited from ListController (via MenuItemListController, SimpleListController):

Line # Kind Name Docs
46 Method set_frontend Set the frontend for the controller.
60 Method stop_loading_animation Undocumented
71 Method removed Called after widget is removed from the canvas.
74 Method sensitive_set Undocumented
79 Method sensitive_get Undocumented
89 Method is_empty Undocumented
97 Method toggle_empty_alert Undocumented
118 Method node_renderer Undocumented
160 Method node_selected Undocumented
84 Method _on_focus Undocumented
121 Method _node_clicked_proxy This method is triggered by the widget item-clicked signal. It figures

Inherited from PigmentController (via MenuItemListController, SimpleListController, ListController):

Line # Kind Name Docs
65 Method set_path Set the path for the controller.
80 Method has_focus Undocumented
83 Method prepare Called after widget is added to the canvas. It is sensible to do

Inherited from Component (via MenuItemListController, SimpleListController, ListController, PigmentController, Controller):

Line # Kind Name Docs
83 Class PathDescriptor Undocumented
95 Class Method create Create and initialize the component.
153 Method name__get Undocumented
158 Method name__set Undocumented
def initialize(self, notifiers=None):
Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returnsa deferred called when a component is fully initialized (type: twisted.internet.defer.Deferred )
def node_clicked(self, widget, item):
Callback invoked when an item of the list representing a given level of the hierarchy is clicked.
Parameterswidgetthe selected list item widget in the view (type: elisa.plugins.pigment.widgets.widget.Widget )
itemthe selected list item in the controller's model (type: elisa.core.components.model.Model )
def make_actions(self):
Undocumented
def confirm(self, action):
Undocumented
def _auto_add(self):
Undocumented
def _manual_add(self):
Undocumented
def _update_favorite_item(self, new_db_item, favorites_item):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-04-27 17:55:12.