Class Index | File Index

Modules


Panels


Templates


Services (XPCOM)


Libraries


All Classes


Report Doc Issue | How To Comment Firebug Code

Class Firebug.ActivableModule

Should be used by modules (Firebug specific task controllers) that supports activation. An example of such 'activable' module can be the debugger module Firebug.Debugger, which can be disabled in order to avoid performance penalties (in cases where the user doesn't need a debugger for the moment).

Defined in: firebug.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
Firebug.ActivableModule.dependents
List of dependent modules.
<static>  
Firebug.ActivableModule.enabled
Every activable module is disabled by default waiting for on a panel that wants to have it enabled (and display provided data).
<static>  
Firebug.ActivableModule.observers
List of observers (typically panels).
Method Summary
Method Attributes Method Name and Description
<static>  
Firebug.ActivableModule.onObserverChange(observer)
This method is called if an observer (e.g.
Class Detail
Firebug.ActivableModule()
Field Detail
<static> Firebug.ActivableModule.dependents
List of dependent modules.

<static> Firebug.ActivableModule.enabled
Every activable module is disabled by default waiting for on a panel that wants to have it enabled (and display provided data). The rule is if there is no panel (view) the module is disabled.

<static> Firebug.ActivableModule.observers
List of observers (typically panels). If there is at least one observer registered The module becomes active.
Method Detail
<static> Firebug.ActivableModule.onObserverChange(observer)
This method is called if an observer (e.g. Firebug.Panel) is added or removed. The module should decide about activation/deactivation upon existence of at least one observer.
Parameters:
observer

Documentation generated by JsDoc Toolkit 2.3.0 on Sat Jan 05 2013 23:10:38 GMT+0100 (CET)