Bug 63420 [R21PRES] Flash on tab switch
bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
populateSystemMenu(systemMenuManager);
	}
	/*
	 * Return true if <code>x</code> is over the label image.
	 */
	private boolean overImage(int x) {
		return x < titleLabel.getImage().getBounds().width;
	}
	/**
	 * @param systemMenuManager
	 */
	private void populateSystemMenu(IMenuManager systemMenuManager) {
		systemMenuManager.add(new GroupMarker("misc")); $NON-NLS-1$
		systemMenuManager.add(new GroupMarker("restore")); $NON-NLS-1$
		systemMenuManager.add(new UpdatingActionContributionItem(
				new SystemMenuRestore(getSite())));
		systemMenuManager.add(new SystemMenuMove(getSite(), getPaneName()));
		systemMenuManager.add(new GroupMarker("size")); $NON-NLS-1$
		systemMenuManager.add(new GroupMarker("state")); $NON-NLS-1$
		systemMenuManager.add(new UpdatingActionContributionItem(
				new SystemMenuMinimize(getSite())));
		systemMenuManager.add(new UpdatingActionContributionItem(
				new SystemMenuMaximize(getSite())));
		systemMenuManager.add(new Separator("close")); $NON-NLS-1$
		systemMenuManager.add(new UpdatingActionContributionItem(
				new SystemMenuClose(getSite())));
		getSite().addSystemActions(systemMenuManager);
	}