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
deactivate(shell);
				context.dispose();
			}
		});
		return context;
	}
	private IEclipseContext getParentContext(Shell shell) {
		IEclipseContext shellContext = (IEclipseContext) shell
				.getData(ECLIPSE_CONTEXT_DIALOG_ID);
		if (shellContext != null) {
			return shellContext.getParent();
		}
		Shell current = null;
		Shell parent = (Shell) shell.getParent();
		while (parent != null) {
			current = parent;
			Object obj = current.getData(AbstractPartRenderer.OWNING_ME);
			if (obj instanceof MWindow) {
				return ((MWindow) obj).getContext();
			}
			obj = current.getData(ECLIPSE_CONTEXT_DIALOG_ID);
			if (obj != null) {
				return (IEclipseContext) obj;
			}
			parent = (Shell) parent.getParent();
		}
		return application.getContext();
	}
}