if (this.enabledAllowed == enabledAllowed) {
return;
}
this.enabledAllowed = enabledAllowed;
if (coolItemToolBarMgr != null) {
<BUG>IContributionItem[] items = coolItemToolBarMgr.getItems();

for (int i = 0; i < items.length; i++) {
IContributionItem item = items[i];</BUG>
if (item != null) {

if (this.enabledAllowed == enabledAllowed) {
return;
}
this.enabledAllowed = enabledAllowed;
if (coolItemToolBarMgr != null) {
for (IContributionItem item : coolItemToolBarMgr.getItems()) {
if (item != null) {
