Bug 330467 [Compatibility] Workbench window menu bar submenus keeps growing
Submenus like 'Search > Text' keeps growing in size.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/MenuManagerRendererFilter.java
return aboutToShow;
	}
	public static Method getAboutToHide() {
		if (aboutToHide == null) {
			try {
				aboutToHide = MenuManager.class
						.getDeclaredMethod("handleAboutToHide"); 
				aboutToHide.setAccessible(true);
			} catch (SecurityException e) {
				
				e.printStackTrace();
			} catch (NoSuchMethodException e) {
				
				e.printStackTrace();
			}
		}
		return aboutToHide;
	}
	@Inject
	private Logger logger;
	@Inject
	private EModelService modelService;
	@Inject
	private IRendererFactory rendererFactory;
	@Inject
	private MenuManagerRenderer renderer;
	@Inject
	private EHandlerService handlerService;
	private HashMap<Menu, Runnable> pendingCleanup = new HashMap<Menu, Runnable>();
	private class SafeWrapper implements ISafeRunnable {