Bug 177183 [Dialogs] PopupDialog should show the view menu on mouseDown
I20070306-1200 PopupDialog should show the view menu on mouseDown. Trivial fix follows.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/PopupDialog.java
* start listening to deactivates.  Example issues can be found in
					 * https://bugs.eclipse.org/bugs/show_bug.cgi?id=123392
					 */
					listenToDeactivate = true;
				}
			}
		});
		
		
		shell.addListener(SWT.Activate, new Listener() {
			public void handleEvent(Event event) {
				
				if (event.widget == getShell()
						&& getShell().getShells().length == 0) {
					listenToDeactivate = true;
					
					
					
					
					listenToParentDeactivate = !"carbon".equals(SWT.getPlatform()); 
				}
			}
		});
		if ((getShellStyle() & SWT.ON_TOP) != 0 && shell.getParent() != null) {
			parentDeactivateListener= new Listener() {
				public void handleEvent(Event event) {
					if (listenToParentDeactivate) {
						close();
					} else {