Bug 63420 [R21PRES] Flash on tab switch
bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21EditorStackPresentation.java
};
	/**
	 * Return true if <code>x</code> is over the tab item image.
	 * 
	 * @return true if <code>x</code> is over the tab item image
	 */
	static boolean overImage(CTabItem item, int x) {
		Rectangle imageBounds = item.getImage().getBounds();
		return x < (item.getBounds().x + imageBounds.x + imageBounds.width);
	}
	
	private Listener menuListener = new Listener() {
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
		 */
		public void handleEvent(Event event) {
			Point pos = new Point(event.x, event.y);
			showSystemMenu(pos);
		}
	};
	
	private Listener selectionListener = new Listener() {
		public void handleEvent(Event e) {
			IPresentablePart item = getPartForTab((CTabItem) e.item);
			if (item != null)
				getSite().selectPart(item);
		}
	};