AllTypesSearchEngine engine= new AllTypesSearchEngine(JavaPlugin.getWorkspace()); List typesFound= engine.searchTypes(fRunnableContext, fScope, fStyle);  if (typesFound.size() == 0)
final ArrayList typesFound= new ArrayList(); IRunnableWithProgress runnable= new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { try { AllTypesCache.getTypes(fScope, fElementKinds, monitor, typesFound); } catch (JavaModelException e) { throw new InvocationTargetException(e); } if (monitor.isCanceled()) { throw new InterruptedException(); } } };  try { fRunnableContext.run(true, true, runnable); } catch (InvocationTargetException e) { ExceptionHandler.handle(e, "Exception", "Unexpected exception. See log for details."); } catch (InterruptedException e) {
	public int open() {		AllTypesSearchEngine engine= new AllTypesSearchEngine(JavaPlugin.getWorkspace());		List typesFound= engine.searchTypes(fRunnableContext, fScope, fStyle);		if (typesFound.size() == 0)			return CANCEL;				setFilter("A"); //$NON-NLS-1$		setElements(typesFound.toArray());				return super.open();	}