private void addActionToMenu(ActionType actionType, JMenu menu) {
		Action action = getActionMap().get(actionType);
		if (action != null && action.getValue(Action.NAME) != null) {
			menu.add(new ResourceAction.MenuItemAction(action));
		}
	}