Bug 85147 [Preferences] filter field: Looses focus on type
20050208 When you type in the filter field, the focus ofter switched to the tree. You have to give the filter field the focus again to continue typing
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
} else {
			if (showingError) {
				
				showingError = false;
				titleImage.setImage(JFaceResources.getImage(PREF_DLG_TITLE_IMG));
				titleImage.computeSize(SWT.NULL, SWT.NULL);
				titleImage.getParent().layout();
			}
		}
		messageArea.updateText(getShortenedString(message,titleArea), messageType);
	}
	private static final String ellipsis = "..."; 
	/**
	 * Shortened the message if too long.
	 * 
	 * @param textValue
	 *            The messgae value.
	 * @param control
	 * 			  The control that the resulting String will be
	 * 			   displayed on.
	 * @return The shortened string.
	 */
	static String getShortenedString(String textValue, Control control) {
		if (textValue == null)
			return null;
		Display display = control.getDisplay();
		GC gc = new GC(display);
		
		
		int maxWidth = control.getBounds().width - 5;