/*
 * The MIT License
 *
 * Copyright 2016 Antonino Cucchiara.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.publo.model;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * Event flow coordinating controller.
 *
 * @author Antonio Cucchiara
 * @since 0.1
 */
public class Page {

    final StringProperty markdown = new SimpleStringProperty();

    final StringProperty template = new SimpleStringProperty("Default");

    public StringProperty getMarkdown() {
        return markdown;
    }

    public StringProperty getTemplate() {
        return template;
    }

}

@@ -1298,187 +1298,412 @@
 %0A * 
-Event flow coordinating controller.%0D%0A *%0D%0A * @author Antonio Cucchiara%0D%0A * @since 0.1%0D%0A */%0D%0Apublic class Page %7B%0D%0A%0D%0A    final StringProperty markdown = new SimpleStringProperty();%0D%0A
+Publo core model. Holds state concerning the markdown being produced and the%0D%0A * template to apply on preview.%0D%0A *%0D%0A * @author Antonio Cucchiara%0D%0A * @since 0.1%0D%0A */%0D%0Apublic class Page %7B%0D%0A%0D%0A    /**%0D%0A     * The markdown text being edited in the TextArea%0D%0A     */%0D%0A    final StringProperty markdown = new SimpleStringProperty();%0D%0A%0D%0A    /**%0D%0A     * The template file name to be applied on rendering.%0D%0A     */
 %0D%0A  

Comment on the "Page" Model.