downloadOverlay.js

Summary
downloadOverlay.js
Constants
Actions.
firegpgdownloaderThis is the class to comunicate with the menus added in firefox downloader
Functions
onLoadThis function is called when a new Downloadmager’s windows is created.
onMenuItemCommandThis function is called when a menu item is selected.
onDelayMenuActionThis function is called to exectue an action.
onToolbarButtonCommandThis function is called when the user click on a bouton of the toolbar.
addFireGPGContextMenuAdd the FireGPG ContactMenu (if should be showed...)

Constants

Actions.

ACTION_VERIFVerifiy signs of the current selected file
ACTION_DECRYPTDecrypt the current selected file
ACTION_EDITEURShow the editor windows
ACTION_OPTSShow the options windows
ACTION_ERASEErase the current saved password.
ACTION_HASHThe the hash window

firegpgdownloader

This is the class to comunicate with the menus added in firefox downloader

Summary
Functions
onLoadThis function is called when a new Downloadmager’s windows is created.
onMenuItemCommandThis function is called when a menu item is selected.
onDelayMenuActionThis function is called to exectue an action.
onToolbarButtonCommandThis function is called when the user click on a bouton of the toolbar.
addFireGPGContextMenuAdd the FireGPG ContactMenu (if should be showed...)

Functions

onLoad

onLoad: function()

This function is called when a new Downloadmager’s windows is created.  She init another listers, and the translator system.

onMenuItemCommand

onMenuItemCommand: function(e,
action)

This function is called when a menu item is selected.  It’s call onDelayMenuAction 100 milliseconds laters (we have to wait dues to a bug).

onDelayMenuAction

onDelayMenuAction: function(action)

This function is called to exectue an action.  It’s forward the the call to the correct function in <GPG> class, or load the right dialog.

Parameters

actionThe action to exectute.  See Actions.

onToolbarButtonCommand

onToolbarButtonCommand: function(e)

This function is called when the user click on a bouton of the toolbar.  Action is just forwared to onMenuItemCommand.

addFireGPGContextMenu

addFireGPGContextMenu: function(menu,
event)

Add the FireGPG ContactMenu (if should be showed...)

onLoad: function()
This function is called when a new Downloadmager’s windows is created.
onMenuItemCommand: function(e,
action)
This function is called when a menu item is selected.
onDelayMenuAction: function(action)
This function is called to exectue an action.
onToolbarButtonCommand: function(e)
This function is called when the user click on a bouton of the toolbar.
addFireGPGContextMenu: function(menu,
event)
Add the FireGPG ContactMenu (if should be showed...)
Close