buttonFilter.setText("Set Filter...");
buttonFilter.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(final SelectionEvent evt) {
try {
FileFilterPage dialog = new FileFilterPage(getShell(), filterValue.getValue());
dialog.show();
FileFilter newfilter = dialog.getFileFilter();
if (newfilter != null) {
filterValue.setValue(newfilter);
textValue.setText(filterValue.toString());
textValue.setToolTipText(filterValue.toString());
}