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
switch (event.type) {
		case SWT.Activate:
			activate(shell);
			break;
		case SWT.Deactivate:
			deactivate(shell);
			break;
		}
	}
	private void activate(Shell shell) {
		final IEclipseContext parentContext = getParentContext(shell);
		final IEclipseContext shellContext = getShellContext(shell,
				parentContext);
		SafeRunner.run(new ISafeRunnable() {
			public void run() throws Exception {
				parentContext.set(IContextConstants.ACTIVE_CHILD, shellContext);
			}
			public void handleException(Throwable exception) {
				WorkbenchSWTActivator.trace("/trace/workbench",
						"failed setting dialog child", exception);
			}
		});
	}
	private void deactivate(Shell shell) {
		Shell parent = (Shell) shell.getParent();
		if (parent == null) {
			return;
		}
		final IEclipseContext prevChild = (IEclipseContext) parent
				.getData(ECLIPSE_CONTEXT_PREV_CHILD);