// Unregister the actions of the event modules
if (eventActionNames != null)
{
for (Iterator it = eventActionNames.iterator(); it.hasNext();)
{
actionMgr.removeAction((String) it.next());
}
}
// Unregister the user actions
actionMgr.removeAllActions(getExternalActions());