public void updateEnabledAllowed() {
// update the items in the map
IContributionItem[] items = EditorMenuManager.super.getItems();
for (int i = 0; i < items.length; i++) {
IContributionItem item = items[i];
item.update(IContributionManagerOverrides.P_ENABLED);
}
// update the wrapped menus
if (wrappers != null) {
for (int i = 0; i < wrappers.size(); i++) {
EditorMenuManager manager = (EditorMenuManager) wrappers