Bug 115460 [key binding] Move keybindings for word caret moving to dialogAndWindow context
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java
Control control= navigable.getControl();
			control.addFocusListener(this);
			if (control.isFocusControl())
				activate();
			control.addDisposeListener(new DisposeListener() {
				public void widgetDisposed(DisposeEvent e) {
					deactivate();
				}
			});
		}
		public void focusGained(FocusEvent e) {
			activate();
		}
		public void focusLost(FocusEvent e) {
			deactivate();
		}
		private void activate() {
			if (fContextActivation != null)
				return;
			IContextService contextService= (IContextService)PlatformUI.getWorkbench().getAdapter(IContextService.class);
			if (contextService == null)
				return;
			fContextActivation= contextService.activateContext(IContextService.CONTEXT_ID_WINDOW); 
			
			if (fHandlerActivations != null)
				return;
			IHandlerService handlerService= (IHandlerService)PlatformUI.getWorkbench().getAdapter(IHandlerService.class);
			if (handlerService == null)
				return;
			fHandlerActivations= new ArrayList();