Bug 223732 [Viewers] Rename StyledStringBuilder to StyledString
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StyledStringBuilder.java
private final String fForegroundColorName;
		private final String fBackgroundColorName;
		public DefaultStyler(String foregroundColorName,
				String backgroundColorName) {
			fForegroundColorName = foregroundColorName;
			fBackgroundColorName = backgroundColorName;
		}
		public void applyStyles(TextStyle textStyle) {
			ColorRegistry colorRegistry = JFaceResources.getColorRegistry();
			if (fForegroundColorName != null) {
				textStyle.foreground = colorRegistry.get(fForegroundColorName);
			}
			if (fBackgroundColorName != null) {
				textStyle.background = colorRegistry.get(fBackgroundColorName);
			}
		}
	}
}