Bug 5755 Open Type dialog is missing types
I can't find any of the classes in some of my packages in the Open Type(Ctrl- Shift-T) dialog. They just aren't there... Class files exist for them. 20011106
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/AllTypesSearchEngine.java
private IWorkspace fWorkspace;
	public AllTypesSearchEngine(IWorkspace workspace) {
		Assert.isNotNull(workspace);
		fWorkspace= workspace;
	}
	/**
	 * Search for type in the given search scope.
	 * @param style a combination of <code>IJavaElementSearchConstants</code> flags
	 */
	public List searchTypes(IRunnableContext context, final IJavaSearchScope scope, final int style) {
		final List typesFound= new ArrayList(2000);
		
		if (TypeCache.canReuse(style, scope)){
			typesFound.addAll(TypeCache.getCachedTypes());
			return typesFound;
		}
		
		IRunnableWithProgress runnable= new IRunnableWithProgress() {
			public void run(IProgressMonitor pm) {
				searchTypes(typesFound, scope, style, pm);
			}
		};
		
		try {
			context.run(true, true, runnable);
		} catch (InvocationTargetException e) {
			Throwable t= e.getTargetException();
			if (t instanceof Error)
				throw (Error)t;