|
|
Line 1: |
Line 1: |
| = Background =
| | See https://developer.mozilla.org/En/Places/View_Controller |
| | |
| 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 <code>PlacesController</code> object, which lives in <code>browser/components/places/content/controller.js</code> and is included by <code>chrome://browser/content/places/places.js</code>
| |
| | |
| The controller is the one constant factor about any Places instantiation. The <code>PlacesController</code> object is required by the views. You must include this script file for things to work.
| |
| | |
| = Functionality =
| |
| | |
| == Command Updating ==
| |
| | |
| == Command Execution ==
| |
| | |
| == Utilities ==
| |