/** * Returns the current value of the rectangle-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>RECTANGLE_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a rectangle. * * @param store the preference store * @param name the name of the preference * @return the rectangle-valued preference */ public static Rectangle getRectangle(IPreferenceStore store, String name) { return basicGetRectangle(store.getString(name)); }
/** * Returns the current value of the rectangle-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>RECTANGLE_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a rectangle. * * @param store the preference store * @param name the name of the preference * @return the rectangle-valued preference */ public static Rectangle getRectangle(IPreferenceStore store, String name) { return basicGetRectangle(store.getString(name)); }
/** * Returns the current value of the rectangle-valued preference with the * given name in the given preference store. * Returns the default-default value (<code>RECTANGLE_DEFAULT_DEFAULT</code>) * if there is no preference with the given name, or if the current value * cannot be treated as a rectangle. * * @param store the preference store * @param name the name of the preference * @return the rectangle-valued preference */ public static Rectangle getRectangle(IPreferenceStore store, String name) { return basicGetRectangle(store.getString(name)); }
/** * Returns the default value for the rectangle-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>RECTANGLE_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a rectangle. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static Rectangle getDefaultRectangle(IPreferenceStore store, String name) { return basicGetRectangle(store.getDefaultString(name)); }
/** * Returns the default value for the rectangle-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>RECTANGLE_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a rectangle. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static Rectangle getDefaultRectangle(IPreferenceStore store, String name) { return basicGetRectangle(store.getDefaultString(name)); }
/** * Returns the default value for the rectangle-valued preference * with the given name in the given preference store. * Returns the default-default value (<code>RECTANGLE_DEFAULT_DEFAULT</code>) * is no default preference with the given name, or if the default * value cannot be treated as a rectangle. * * @param store the preference store * @param name the name of the preference * @return the default value of the preference */ public static Rectangle getDefaultRectangle(IPreferenceStore store, String name) { return basicGetRectangle(store.getDefaultString(name)); }