Bug 316950 Ctrl+V goes to a wrong handler on the "Add Repository"dialog
Using build I20100614-2011 Ctrl+V when pressed Ctrl+V to paste new P2 location on the "Add Repository" dialog, the paste goes to the last active Eclipse part. To duplicate: - Help -> Install new software; select "Add" - Put cursor in the "Location" field, make sure there is some text in the clipboard (for instance, "download.eclipse.org") - Press Ctrl+V - notice that paste goes to the last active Eclipse part, in my case, Package Explorer
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/ShellActivationListener.java
* retrieved data of this string key must either be <code>null</code> or be
	 * of type <code>Boolean</code>.
	 */
	public static final String DIALOG_IGNORE_KEY = "org.eclipse.e4.ui.ignoreDialog"; 
	private static final String ECLIPSE_CONTEXT_DIALOG_ID = "org.eclipse.e4.ui.dialogContext"; 
	private static final String ECLIPSE_CONTEXT_PREV_CHILD = "org.eclipse.e4.ui.dialogContext.prevChild"; 
	private MApplication application;
	ShellActivationListener(MApplication application) {
		this.application = application;
	}
	public void handleEvent(Event event) {
		if (!(event.widget instanceof Shell)) {
			return;
		}
		Shell shell = (Shell) event.widget;
		Object obj = shell.getData(AbstractPartRenderer.OWNING_ME);
		if (obj instanceof MWindow) {
			if (event.type == SWT.Deactivate) {
				Object local = ((MWindow) obj).getContext().getLocal(
						IContextConstants.ACTIVE_CHILD);
				WorkbenchSWTActivator.trace("/trace/workbench",
						"setting mwindow context " + local, null);
				shell.setData(ECLIPSE_CONTEXT_PREV_CHILD, local);
			}
			return;
		}
		obj = shell.getData(DIALOG_IGNORE_KEY);
		if (obj instanceof Boolean && ((Boolean) obj).booleanValue()) {
			return;
		}