68,68c68,68 < checkEnabled(); --- > // checkEnabled(); 93a94,94 > for (int i = 0; i < getMenuComponentCount(); i++) { 94,96d93 < // note: this does currently only work, if menu items that do not correspond < // to a command are added at the end of the menu < for (int i = 0; (i < getMenuComponentCount()) && (i < fCommands.size()); i++) { 131,131c129,129 < checkEnabled(); --- > // checkEnabled(); 135,135c133,133 < checkEnabled(); --- > // checkEnabled(); 139,139c137,137 < checkEnabled(); --- > // checkEnabled();