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
* (non-Javadoc)
		 * 
		 * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object)
		 */
		public String getText(Object element) {
			if (!(element instanceof IResource)) {
				return super.getText(element);
			}
			IResource res = (IResource) element;
			String str = res.getName();
			
			if (isDuplicateElement(element))
				str = str
						+ " - " + res.getParent().getFullPath().makeRelative().toString(); 
			return decorator.decorateText(str, res);
		}
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.jface.viewers.LabelProvider#dispose()
		 */
		public void dispose() {
			provider.removeListener(this);
			provider.dispose();
			decorator.removeListener(this);
			decorator.dispose();
			super.dispose();
		}
		/*
		 * (non-Javadoc)