nsIMsgDBViewCommandUpdater

The nsIMsgDBViewCommandUpdater interface controls changes that occur as the selection changes.


Please add a summary to this article.
  Last changed in Gecko 1.9 (Firefox 3)

Inherits from: nsISupports

In Thunderbird this is implemented for different windows in several different places:

  1. nsMsgDBViewCommandUpdater (for the standalone message window)
  2. nsMsgDBViewCommandUpdater (for the threadpane message window)
  3. nsMsgSearchCommandUpdater (for search dialogs)

Method overview

void updateCommandStatus();
void displayMessageChanged(in nsIMsgFolder aFolder, in AString aSubject, in ACString aKeywords);
void updateNextMessageAfterDelete();

Methods

updateCommandStatus()

Called when the number of selected items changes.

 void updateCommandStatus();
Parameters

None.

displayMessageChanged()

Called when the displayed message has changed.

 void displayMessageChanged(in nsIMsgFolder aFolder,
   in AString aSubject,
   in ACString aKeywords
 );
Parameters
aFolder
The folder containing selected message.
aSubject
The subject of the selected message.
aKeywords
Keywords associated with the selected message.

updateNextMessageAfterDelete()

Allows the backend to tell the front end to re-determine which message we should select after a delete or move

 void updateNextMessageAfterDelete();
Parameters

None.

Document Tags and Contributors

Contributors to this page: Wjjohnst, Sheppy
Last updated by: Sheppy,