Bug 198562 [Contributions] Change ActionContributionItem + CommandContributionItem to use event coordinates
In order to enable RTL support on Linux, we have changed the recommended way of determining the location of a Toolitem pop up menu. Attaching a patch for UI.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
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
					 * 42009. We will override the native input method by
					 * allowing these reserved accelerators to be placed on the
					 * menu. We will only do this for "Ctrl+Shift+[0-9A-FU]".
					 */
					final String commandId = updatedAction
							.getActionDefinitionId();
					if (("gtk".equals(SWT.getPlatform())) && (callback instanceof IBindingManagerCallback)