Bug 172844 [Dialogs] FilteredItemsSelectionDialog: make history separator string configurable
Build ID: I20061214-1445 The separator between the history and the other matches is hardcoded to WorkbenchMessages.FilteredItemsSelectionDialog_separatorLabel. I would expect to have a method in FilteredItemsSelectionDialog to overwrite the default (e.g. setHistorySeparatorMessage).
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/FilteredResourcesSelectionDialog.java
* @see org.eclipse.ui.dialogs.SelectionDialog#getResult()
	 */
	public Object[] getResult() {
		Object[] result = super.getResult();
		if (result == null)
			return null;
		List resultToReturn = new ArrayList();
		for (int i = 0; i < result.length; i++) {
			if (result[i] instanceof IResource) {
				resultToReturn.add((result[i]));
			}
		}
		return resultToReturn.toArray();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.window.Window#open()
	 */
	public int open() {
		if (getInitialPattern() == null) {
			IWorkbenchWindow window = PlatformUI.getWorkbench()
					.getActiveWorkbenchWindow();
			if (window != null) {
				ISelection selection = window.getSelectionService()
						.getSelection();
				if (selection instanceof ITextSelection) {
					String text = ((ITextSelection) selection).getText();
					if (text != null) {
						text = text.trim();