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
int result= leftString.compareToIgnoreCase(rightString);			
			if (result == 0)
				result= leftString.compareTo(rightString);
			return result;
	    }
	}
	private IRunnableContext fRunnableContext;
	private IJavaSearchScope fScope;
	private int fElementKinds;
	
	/**
	 * Constructs a type selection dialog.
	 * @param parent  the parent shell.
	 * @param context the runnable context.
	 * @param elementKinds <code>IJavaSearchConstants.CLASS</code>, <code>IJavaSearchConstants.INTERFACE</code>
	 * or <code>IJavaSearchConstants.TYPE</code>
	 * @param scope   the java search scope.
	 */
	public TypeSelectionDialog(Shell parent, IRunnableContext context, int elementKinds, IJavaSearchScope scope) {
		super(parent, new TypeInfoLabelProvider(TypeInfoLabelProvider.SHOW_TYPE_ONLY),
			new TypeInfoLabelProvider(TypeInfoLabelProvider.SHOW_TYPE_CONTAINER_ONLY + TypeInfoLabelProvider.SHOW_ROOT_POSTFIX));
		Assert.isNotNull(context);
		Assert.isNotNull(scope);
		fRunnableContext= context;
		fScope= scope;
		fElementKinds= elementKinds;
		
		setUpperListLabel(JavaUIMessages.getString("TypeSelectionDialog.upperLabel")); 
		setLowerListLabel(JavaUIMessages.getString("TypeSelectionDialog.lowerLabel")); 
	}