Bug 240344 Paste in bultin-browser goes to address field instead of form input field
Build ID: I20080617-2000 Steps To Reproduce: Launch a web application into the built-in browser that has a form. Click in a form field to place the cursor there. Press Ctrl-V or Select Edit/Paste in the menu. In either case the cliboard content is appended to the address bar in the browser.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserEditorActionBarContributor.java
}
   	
   	if (input.isToolbarGlobal()) {
	   	Action favorites = new Action(Messages.actionWebBrowserFavorites"), IAction.AS_DROP_DOWN_MENU) {
	   		public void run() {
	   			getWebBrowser().addFavorite();
	   		}
	   		public IMenuCreator getMenuCreator() {
	   			return new IMenuCreator() {
						public void dispose() {
							// do nothing
						}
	
						public Menu getMenu(final Control parent) {
							Menu menu = new Menu(parent);
							
							// locked favorites
							Iterator iterator = WebBrowserUtil.getLockedFavorites().iterator();
							if (iterator.hasNext()) {
								while (iterator.hasNext()) {
									final Favorite f = (Favorite) iterator.next();
									MenuItem item = new MenuItem(menu, SWT.NONE);
									item.setText(f.getName());
									item.setImage(ImageResource.getImage(ImageResource.IMG_FAVORITE));
									item.addSelectionListener(new SelectionAdapter() {
										public void widgetSelected(SelectionEvent event) {
											getWebBrowser().setURL(f.getURL());
										}
									});
								}