WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIControllerContext
| IID: | 47B82B60-A36F-4167-8072-6F421151ED50 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
void init ( nsIControllerCommandTable commandTable )
void setCommandContext ( nsISupports commandContext )
void init ( nsIControllerCommandTable commandTable )
Init the controller, optionally passing a controller command table.
- Arguments:
- commandTable: a command table, used internally by this controller. May be null, in which case the controller will create a new, empty table.
void setCommandContext ( nsISupports commandContext )
Set a context on this controller, which is passed to commands to give them some context when they execute.
- Arguments:
- commandContext: the context passed to commands. Note that this is *not* addreffed by the controller, and so needs to outlive it, or be nulled out.
Reference documentation is generated from Mozilla's source.
