Bug 170884 [open type] problem with incomplete results
20070118 It seems that sometimes no search matches are shown, only the history entries. - Open the dialog on a larger workspace - Quickly enter two characters and then remove the second one with backspace - You can see that the search is interrrupted at 60% and doesn't start again after the backspace - the result only contains history entries
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/FilteredResourcesSelectionDialog.java
* (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.dialogs.SelectionDialog#getResult()
	 */
	public Object[] getResult() {
		Object[] result = super.getResult();
		
		if(result == null)
			return null;
		List resultToReturn = new ArrayList();
		for (int i = 0; i < result.length; i++) {
			if (result[i] instanceof IResource) {
				resultToReturn.add((result[i]));
			}
		}
		return resultToReturn.toArray();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.window.Window#open()
	 */
	public int open() {
		if (getInitialPattern() == null) {
			IWorkbenchWindow window = PlatformUI.getWorkbench()
					.getActiveWorkbenchWindow();
			if (window != null) {
				ISelection selection = window.getSelectionService()
						.getSelection();
				if (selection instanceof ITextSelection) {