Bug 266862 [CommonNavigator] Unused copy of QuickMenuAction in common navigator
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/QuickMenuAction.java
if (focus == null || focus.isDisposed()) {
			return;
		}
		MenuManager menu = new MenuManager();
		fillMenu(menu);
		final Menu widget = menu.createContextMenu(focus.getShell());
		Point location = computeMenuLocation(focus);
		if (location == null) {
			return;
		}
		widget.setLocation(location);
		widget.setVisible(true);
		while (!widget.isDisposed() && widget.isVisible()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
		if (!widget.isDisposed()) {
			widget.dispose();
		}
	}
	/**
	 * Hook to fill a menu manager with the items of the sub menu.
	 * 
	 * @param menu
	 *            the sub menu to fill
	 */
	protected abstract void fillMenu(IMenuManager menu);
	/**
	 * Returns the short cut assigned to the sub menu or <code>null</code> if no short cut is