Package elisa :: Package plugins :: Package bad :: Package raval_frontend :: Module manager_controller :: Class ManagerController
[hide private]
[frames] | no frames]

Class ManagerController

source code


Nested Classes [hide private]

Inherited from core.component.Component: __metaclass__

Instance Methods [hide private]
 
focus(self)
Grab the focus.
source code
 
focused_changed(self, old_focus, new_focus)
Called when focused is set to a new value.
source code
 
enter_context_bar(self) source code
 
current_content_type__set(self, content_type) source code
bool
handle_input(self, input_event)
Process an input event.
source code
 
exit_node(self) source code
 
update_controller(self) source code
 
_create_controller(self, model, content_type='frontend') source code
 
enter_node(self, model) source code

Inherited from base_components.controller.Controller: __init__, attribute_set, backend__get, backend__set, backend_changed, focused__get, focused__set, initialize, model__get, model__set, model_changed, parent__get, parent__set

Inherited from core.component.Component: clean, load_config, save_config

Inherited from core.observers.observable.Observable: __setattr__, add_observer, remove_observer

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __str__

Static Methods [hide private]

Inherited from core.component.Component: __classinit__

Class Variables [hide private]
tuple of strings supported_models = ('raval:manager_model')
list of models that are compatible with the controller identified by their path: 'plugin:model'
  current_path = []
dictionary: keys: strings; values: list of strings or strings bindings = {'context': 'context', 'current_content_type': 'cur...
associations between model's attribute and Controller's attributes; if an attribute contained in bindings' keys is changed or created in model, it is replicated in all the corresponding attributes of the controller defined in bindings values
  current = 'frontend'
  model_loading = 'frontend'
string name = 'manager_controller'
Component's name

Inherited from core.component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from base_components.controller.Controller: backend, focused, model, parent

Inherited from core.component.Component: config, path

Properties [hide private]
  current_content_type

Inherited from object: __class__

Method Details [hide private]

focus(self)

source code 
Grab the focus. The controller previously owning the focus loses it.
Overrides: base_components.controller.Controller.focus
(inherited documentation)

focused_changed(self, old_focus, new_focus)

source code 

Called when focused is set to a new value.

Override if you wish to react to that change. Do not forget to call the parent class method.
Overrides: base_components.controller.Controller.focused_changed
(inherited documentation)

handle_input(self, input_event)

source code 
Process an input event. It can decide that no further processing should be done by returning True or let its parent controller process it by returning False.
Returns: bool
Overrides: base_components.controller.Controller.handle_input
(inherited documentation)

exit_node(self)

source code 
Raises:
  • IndexError - if there would be no items left after exiting

Class Variable Details [hide private]

bindings

associations between model's attribute and Controller's attributes; if an attribute contained in bindings' keys is changed or created in model, it is replicated in all the corresponding attributes of the controller defined in bindings values
Type:
dictionary: keys: strings; values: list of strings or strings
Value:
{'context': 'context',
 'current_content_type': 'current_content_type',
 'location': 'location'}

Property Details [hide private]

current_content_type

Get Method:
'frontend'
Set Method:
elisa.plugins.bad.raval_frontend.manager_controller.ManagerController.current_content_type__set(self, content_type)
Delete Method:
'frontend'