Bug 119494 [Workbench] dangerous uses of "new GC(Display)"
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
if (enableStateChanged) {
                    boolean shouldBeEnabled = action.isEnabled()
                            && isEnabledAllowed();
                    if (ti.getEnabled() != shouldBeEnabled)
                        ti.setEnabled(shouldBeEnabled);
                }
                if (checkChanged) {
                    boolean bv = action.isChecked();
                    if (ti.getSelection() != bv)
                        ti.setSelection(bv);
                }
                return;
            }
            if (widget instanceof MenuItem) {
                MenuItem mi = (MenuItem) widget;
                if (textChanged) {
                    int accelerator = 0;
					String acceleratorText = null;
					IAction updatedAction = getAction();
					String text = null;
					accelerator = updatedAction.getAccelerator();
					ExternalActionManager.ICallback callback = ExternalActionManager
							.getInstance().getCallback();
					
					if ((accelerator != 0) && (callback != null)
                            && (callback.isAcceleratorInUse(accelerator))) {
                        accelerator = 0;
					}
					/*
					 * Process accelerators on GTK in a special way to avoid Bug