public class EditorMenuManager extends SubMenuManager {
private ArrayList wrappers;
private boolean enabledAllowed = true;
private class Overrides implements IContributionManagerOverrides {
public void updateEnabledAllowed() {
<BUG>IContributionItem[] items = EditorMenuManager.super.getItems();

for (int i = 0; i < items.length; i++) {
IContributionItem item = items[i];</BUG>
item.update(IContributionManagerOverrides.P_ENABLED);

public class EditorMenuManager extends SubMenuManager {
private ArrayList wrappers;
private boolean enabledAllowed = true;
private class Overrides implements IContributionManagerOverrides {
public void updateEnabledAllowed() {
for (IContributionItem item : EditorMenuManager.super.getItems()) {
item.update(IContributionManagerOverrides.P_ENABLED);
