Bug 5099 TypeCache duplicated
TypeCache exists in two packages. Both used!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
setUpperListLabel(JavaUIMessages.getString("TypeSelectionDialog.upperLabel")); 
		setLowerListLabel(JavaUIMessages.getString("TypeSelectionDialog.lowerLabel")); 
	}
	public void create() {
		if (getFilter() == null)
			setFilter("A"); 
				
		super.create();
	}
	
	/**
	 * @see Window#open()
	 */
	public int open() {
		AllTypesSearchEngine engine= new AllTypesSearchEngine(JavaPlugin.getWorkspace());
		
		List typeList= TypeCache.findTypes(engine, fStyle, fRunnableContext, fScope);
		
		if (typeList.isEmpty()) {
			String title= JavaUIMessages.getString("TypeSelectionDialog.notypes.title"); 
			String message= JavaUIMessages.getString("TypeSelectionDialog.notypes.message"); 
			MessageDialog.openInformation(getShell(), title, message);
			return CANCEL;
		}
			
		TypeInfo[] typeRefs= (TypeInfo[])typeList.toArray(new TypeInfo[typeList.size()]);
		setElements(typeRefs);
		return super.open();
	}