/** * Returns the default value for the color-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>COLOR_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a color. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static RGB getDefaultColor(IPreferenceStore store, String name) { return basicGetColor(store.getDefaultString(name)); }
/** * Returns the current value of the color-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>COLOR_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a color. * * @param store the preference store * @param name the name of the preference * @return the color-valued preference */ public static RGB getColor(IPreferenceStore store, String name) { return basicGetColor(store.getString(name)); }
/** * Returns the default value for the color-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>COLOR_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a color. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static RGB getDefaultColor(IPreferenceStore store, String name) { return basicGetColor(store.getDefaultString(name)); }
/** * Returns the current value of the color-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>COLOR_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a color. * * @param store the preference store * @param name the name of the preference * @return the color-valued preference */ public static RGB getColor(IPreferenceStore store, String name) { return basicGetColor(store.getString(name)); }
/** * Returns the default value for the color-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>COLOR_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a color. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static RGB getDefaultColor(IPreferenceStore store, String name) { return basicGetColor(store.getDefaultString(name)); }
/** * Returns the current value of the color-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>COLOR_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a color. * * @param store the preference store * @param name the name of the preference * @return the color-valued preference */ public static RGB getColor(IPreferenceStore store, String name) { return basicGetColor(store.getString(name)); }