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.
Constructor Attributes | Constructor Name and Description |
---|---|
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 Attributes | Method Name and Description |
---|---|
<static> |
Firebug.ActivableModule.onObserverChange(observer)
This method is called if an observer (e.g.
|
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