Places:Controller

Revision as of 01:33, 31 March 2006 by Ben (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Background

The controller is part of the Places System's MVC architecture. The controller is responsible for enabling, disabling and performing commands based on the state of a PlacesView.

Code Location

The Places Controller is implemented in the PlacesController object, which lives in browser/components/places/content/controller.js and is included by chrome://browser/content/places/places.js

The controller is the one constant factor about any Places instantiation. The PlacesController object is required by the views. You must include this script file for

Functionality

Command Updating

Command Execution

Utilities