Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIControllerContext Interface Reference

import "nsIControllerContext.idl";

Inheritance diagram for nsIControllerContext:
Inheritance graph
[legend]
Collaboration diagram for nsIControllerContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void init (in nsIControllerCommandTable aCommandTable)
 Init the controller, optionally passing a controller command table.
void setCommandContext (in nsISupports aCommandContext)
 Set a context on this controller, which is passed to commands to give them some context when they execute.

Detailed Description

Definition at line 43 of file nsIControllerContext.idl.


Member Function Documentation

Init the controller, optionally passing a controller command table.

Parameters:
aCommandTablea command table, used internally by this controller. May be null, in which case the controller will create a new, empty table.
void nsIControllerContext::setCommandContext ( in nsISupports  aCommandContext)

Set a context on this controller, which is passed to commands to give them some context when they execute.

Parameters:
aCommandContextthe context passed to commands. Note that this is not addreffed by the controller, and so needs to outlive it, or be nulled out.

The documentation for this interface was generated from the following file: