Package elisa :: Package core :: Package components :: Module controller :: Class Controller

Class Controller

source code


Responsible for putting together a user interface and data. In a typical scenario the user interface is made of widgets from a specific toolkit and data is retrieved from elisa.core.resource_manager.ResourceManager in the form of elisa.core.components.model.Models. Controllers are created by elisa.core.components.frontend.Frontends. Often, a notion of compatibility between controllers and frontends will exist.

Example:

A GTK based frontend will create a window and GTK specific controllers that in turn will create GTK widgets. The controllers will fill the widgets with the data of their choice.

Instance Methods

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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from component.Component
twisted.internet.defer.Deferred
clean(self)
Clean the component.
source code
twisted.internet.defer.Deferred
initialize(self, **kwargs)
Initialize the component.
source code
 
name__get(self) source code
 
name__set(self, value) source code
    Inherited from log.Loggable
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
Class Methods
    Inherited from component.Component
elisa.core.component.Component or a subclass
create(cls, config_section=None, **kwargs)
Create and initialize the component.
source code
Class Variables

Inherited from extern.log.log.Loggable: logCategory

    Inherited from component.Component
  config_doc = {}
  default_config = {}
  name = property(fget= name__get, fset= name__set)
  path = PathDescriptor()
Properties

Inherited from object: __class__