cola.observer – Observer base class

This module provides the Observer design pattern.

class cola.observer.Observer(model)

Implements the Observer pattern for a single subject

notify(*attributes)
Called by the model to notify Observers about changes.
subject_changed(attr, value)

Updates the observer/view

This must be implemented by concrete observers class.