Bug 23188 Open Type dialog needs real RE support
I cannot ask the Open Type dialog for types ending in "X" with the RE "*X". I get lower case "x"s AND types that do not end in "X" or "x". Very annoying to have to sift through hundreds of classes to find the one I want when I do not want to type the whole thing or I am not sure which one I really want until I see a short list. How do you ask for classes that end in a given string anyhow? Can it be done? Thank you, Gary
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
/*
	 * @see AbstractElementListSelectionDialog#createFilteredList(Composite)
	 */
 	protected FilteredList createFilteredList(Composite parent) {
 		FilteredList list= super.createFilteredList(parent);
 		
		fFilteredList.setFilterMatcher(new TypeFilterMatcher());
		fFilteredList.setComparator(new StringComparator());
		
		return list;
	}
	
	/*
	 * @see org.eclipse.jface.window.Window#open()
	 */
	public int open() {
		final ArrayList typeList= new ArrayList();
		if (AllTypesCache.isCacheUpToDate()) {
			
			try {
				AllTypesCache.getTypes(fScope, fElementKinds, null, typeList);
			} catch (JavaModelException e) {
				ExceptionHandler.handle(e, JavaUIMessages.getString("TypeSelectionDialog.error2Title"), JavaUIMessages.getString("TypeSelectionDialog.error2Message")); 
				return CANCEL;
			}
		} else {
			IRunnableWithProgress runnable= new IRunnableWithProgress() {
				public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
					try {
						AllTypesCache.getTypes(fScope, fElementKinds, monitor, typeList);