Manages events.
When you create an action listener, it will automatically get added to the list of possible actions in button panels and cockpits when you setup actions.
Example:
function doSomething(action)
{
console.log("Action: " + action + " triggered.");
}
Event.onAction("ActionName", doSomething);Create an action listener.
Remove an action listener.