/** * Returns the default value for the point-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>POINT_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a point. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static Point getDefaultPoint(IPreferenceStore store, String name) { return basicGetPoint(store.getDefaultString(name)); }
/** * Returns the current value of the point-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>POINT_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a point. * * @param store the preference store * @param name the name of the preference * @return the point-valued preference */ public static Point getPoint(IPreferenceStore store, String name) { return basicGetPoint(store.getString(name)); }
/** * Returns the default value for the point-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>POINT_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a point. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static Point getDefaultPoint(IPreferenceStore store, String name) { return basicGetPoint(store.getDefaultString(name)); }
/** * Returns the default value for the point-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>POINT_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a point. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static Point getDefaultPoint(IPreferenceStore store, String name) { return basicGetPoint(store.getDefaultString(name)); }
/** * Returns the current value of the point-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>POINT_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a point. * * @param store the preference store * @param name the name of the preference * @return the point-valued preference */ public static Point getPoint(IPreferenceStore store, String name) { return basicGetPoint(store.getString(name)); }
/** * Returns the current value of the point-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>POINT_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a point. * * @param store the preference store * @param name the name of the preference * @return the point-valued preference */ public static Point getPoint(IPreferenceStore store, String name) { return basicGetPoint(store.getString(name)); }