Bug 48773 [Preferences] Workbench should use ColorRegistry for color management.
Wherever possible, the workbench should use the new Color API for its colors.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceConverter.java
public static void setDefault(
		IPreferenceStore store,
		String name,
		Point value) {
		store.setDefault(name, StringConverter.asString(value));
	}
	/**
	 * Sets the default value of the preference with the given name
	 * in the given preference store.
	 *
	 * @param store the preference store
	 * @param name the name of the preference
	 * @param value the new default value of the preference
	 */
	public static void setDefault(
		IPreferenceStore store,
		String name,
		Rectangle value) {
		store.setDefault(name, StringConverter.asString(value));
	}
	/**
	 * Sets the default value of the preference with the given name
	 * in the given preference store.
	 *
	 * @param store the preference store
	 * @param name the name of the preference
	 * @param value the new default value of the preference
	 */
	public static void setDefault(
		IPreferenceStore store,