Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 2763
Collapse All | Expand All

(-)FileTypeEditor.java (-1 / +2 lines)
Lines 20-25 Link Here
20
import org.eclipse.swt.widgets.Widget;
20
import org.eclipse.swt.widgets.Widget;
21
21
22
import org.eclipse.ui.IEditorRegistry;
22
import org.eclipse.ui.IEditorRegistry;
23
import org.eclipse.ui.dialogs.TypeFilteringDialog;
23
24
24
import org.eclipse.search.internal.ui.SearchMessages;
25
import org.eclipse.search.internal.ui.SearchMessages;
25
26
Lines 80-86 Link Here
80
		fTextField.setText(typesToString(types));
81
		fTextField.setText(typesToString(types));
81
	}
82
	}
82
	protected void handleBrowseButton() {
83
	protected void handleBrowseButton() {
83
		TypeFilteringDialog dialog= new TypeFilteringDialog(fTextField.getShell(), getFileTypes());
84
		TypeFilteringDialog dialog= new TypeFilteringDialog(fTextField.getShell(), getFileTypes(),SearchMessages.getString("TypesFiltering.otherExtensions"));
84
		if (dialog.open() == dialog.OK) {
85
		if (dialog.open() == dialog.OK) {
85
			setFileTypes(new HashSet(Arrays.asList(dialog.getResult())));
86
			setFileTypes(new HashSet(Arrays.asList(dialog.getResult())));
86
		}
87
		}

Return to bug 2763