/*
 * Copyright 2012-2013 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package griffon.plugins.preferences;

import griffon.core.ApplicationHandler;

/**
 * @author Andres Almiray
 */
public interface PreferencesManager extends ApplicationHandler {
    Preferences getPreferences();

    void save(Object instance);
}

@@ -801,38 +801,770 @@
     
-Preferences getPreferences();%0A
+/**%0A     * Returns the %7B@code Preferences%7D instance contained by this manager.%3C/p%3E%0A     * Never returns null.%0A     *%0A     * @return the %7B@code Preferences%7D instance contained by this manager.%0A     */%0A    Preferences getPreferences();%0A%0A    /**%0A     * %3Cp%3EMerges all fields/properties annotated with %7B@code @Preference%7D to their%0A     * corresponding %7B@code PreferencesNode%7D within the contained %7B@code Preferences%7D.%3C/p%3E%0A     * %3Cp%3EValues will be transformed their literal representation if a %3Ccode%3Eformat%3C/code%3E%0A     * is present in their %7B@code @Preference%7D annotation. Null values will cause%0A     * the removal of the key in the %7B@code PreferencesNode%7D.%3C/p%3E%0A     *%0A     * @param instance an object with fields/properties annotated with %7B@code @Preference%7D.%0A     */
 %0A   

Add javadoc to PreferencesManager.save