overlay.js

Summary
overlay.js
Constants
Actions.
FireGPG.Core.OverlayThis is the class to comunicate with the menus added in firefox.
Functions
onLoadThis function is called when a new Firefox’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.
updatePopUpUpdate labels of inline popup

Constants

Actions.

ACTION_SIGNSign the current selected data
ACTION_PSIGNPlain sign the current selected data
ACTION_WSIGNSign the wrapped current selected data
ACTION_VERIFVerifiy signs of the current selected data
ACTION_CRYPTEncrypt the current selected data
ACTION_SYMCRYPTEncrypt the current selected data with symetric algo
ACTION_CRYPTSIGNEncrypt and sign the current selected data
ACTION_DECRYPTDecrypt the current selected data
ACTION_IMPORTImport the current selected data
ACTION_EXPORTShow the dialog to export a key
ACTION_EDITEURShow the editor windows
ACTION_MANAGERShow the key manager windows
ACTION_OPTSShow the options windows
ACTION_ERASEErase the current saved password ACTION_FSIGN = Sign a file ACTION_FVERIF = Verify sign of a file ACTION_FCRYPT = Encrypt a file ACTION_FDECRYPT = Decrypt a file
ACTION_FSYMCRYPTEncrypt with symetric algo a file
ACTION_FCRYPTSIGNCrypt and sign a file
ACTION_FHASHESShow the hash’windows
ACTION_SWITCHINLINESITEONTurn on inline system for the current site
ACTION_SWITCHINLINESITEOFFTurn off inline system for the current site
ACTION_SWITCHINLINEPAGEONTurn pn inline system for the current page
ACTION_SWITCHINLINEPAGEOFFTurn off inline system for the current page

FireGPG.Core.Overlay

This is the class to comunicate with the menus added in firefox.  She watch the loading of new windows too.

Summary
Functions
onLoadThis function is called when a new Firefox’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.
updatePopUpUpdate labels of inline popup

Functions

onLoad

onLoad: function()

This function is called when a new Firefox’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.

updatePopUp

updatePopUp: function()

Update labels of inline popup

onLoad: function()
This function is called when a new Firefox’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.
updatePopUp: function()
Update labels of inline popup
Close