Bug 50892 Search empty using Search perspective
Build 20040129 Here is my setup: - I have my own Search perspective defined. - I set the preference to use this perspective to report matches. - I'm NOT using the new search view. - I have one window per perspective. When I search for references to a method from the Java perspective, it briefly switches to the Search perspective, then come back to the Java perspctive, continue progress reporting (saying that matches are found), but at the end no result is shown in the Search perspective.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java
if (elements.length > 1)
						element= SelectionConverter.codeResolve(fEditor, getShell(), title, message);
					run(element);
			}
			else
				showOperationUnavailableDialog();
		} catch (JavaModelException ex) {
			JavaPlugin.log(ex);
			String title= SearchMessages.getString("Search.Error.search.title"); 
			String message= SearchMessages.getString("Search.Error.codeResolve"); 
			ErrorDialog.openError(getShell(), title, message, ex.getStatus());
		}
	}
	/* 
	 * Method declared on SelectionChangedAction.
	 */
	public void selectionChanged(IStructuredSelection selection) {
		setEnabled(canOperateOn(selection));
	}
	/* 
	 * Method declared on SelectionChangedAction.
	 */
	public void selectionChanged(ITextSelection selection) {
	}
	public void run(IJavaElement element) {
		
		if (!ActionUtil.isProcessable(getShell(), element))
			return;
		Shell shell= JavaPlugin.getActiveWorkbenchShell();