nsIMsgAccountManagerExtension interface is used to add a new panel to Thunderbird's Account Manager.
An Account Manager Extension is a XPCOM compontent implementing this Interface. The interface is basically a manifest and defines the properties of the new Panel. A Panel consists of a XUL file with a Page Element as root element and the Property File containing the localized name.
name" attribute of "
devmo" and the "
chromePackageName" attribute set to "
email@example.com" means, that the Account Manager expects to find a XUL file in "
chrome://firstname.lastname@example.org/content/am-devmo.xul" and a property file in "
chrome://email@example.com/locale/am-devmo.properties" containing a property named "
You have to register any new Account Manager Extensions via the the category manager at start up. Simply add a new Entry with the Contact ID of the component to the "
| || ||name of the account manager extension. It has to be unique and defines the file name of the property file and the XUL Page as well as the name of the localized string contained in the property file. This attribute is readonly!|
| || ||chrome package, where the files for the new panel are located. This is usually GUID of the ID of the addons which adds the new Panel. This attribute is readonly!|
Before displaying a panel in the Account Manager this method is triggered.
boolean showPanel( in nsIMsgIncomingServer server );
- The account for which the panel should be displayed.
A true indicates, that the Account Manager can display the panel for the given account, while false prevents the panel to be loaded.