Bug 49826 Type filter ignores some filters
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TypeFilterInputDialog.java
public void changeControlPressed(DialogField field) {
			doButtonPressed();
		}
	}
	
	private StringButtonDialogField fNameDialogField;
	private List fExistingEntries;
		
	public TypeFilterInputDialog(Shell parent, List existingEntries) {
		super(parent);
		
		fExistingEntries= existingEntries;
		
		setTitle(PreferencesMessages.getString("TypeFilterInputDialog.title")); 
		ImportOrganizeInputAdapter adapter= new ImportOrganizeInputAdapter();
		fNameDialogField= new StringButtonDialogField(adapter);
		fNameDialogField.setLabelText(PreferencesMessages.getString("TypeFilterInputDialog.message")); 
		fNameDialogField.setButtonLabel(PreferencesMessages.getString("TypeFilterInputDialog.browse.button")); 
		fNameDialogField.setDialogFieldListener(adapter);
		
		fNameDialogField.setText("");		 
	}
	
	public void setInitialString(String input) {
		Assert.isNotNull(input);
		fNameDialogField.setText(input);
	}
	
	public Object getResult() {
		return fNameDialogField.getText();