// Path: src/main/java/com/dcp/sm/logic/factory/TypeFactory.java
// public static enum BUILD_MODE {
//     DEFAULT("IzPack"),
//     IZPACK_BUILD("IzPack"),//Default
//     NUGET_BUILD("NuGet");
//         
//     private String _value;
//     private BUILD_MODE(String value)
//     {
//         _value = value;
//     }
//     @Override
//     public String toString()
//     {
//         return this._value;
//     }
// }
// 
// Path: src/main/java/com/dcp/sm/logic/model/config/build/IzpackConfig.java
// public class IzpackConfig implements Serializable
// {
//     /**
//      * class written to workspace file: conf.dcp
//      * from AppConfig class
//      */
//     private static final long serialVersionUID = 1550797914797285496L;
// 
//     // Packaging Split option
//     private boolean split = false;//Split option
//     private int splitSize = 0;//Split size
//     // Web Area
//     private boolean webSetup = false;//Web Setup option
//     private String webUrl = "";//Web HTTP server URL
//     private WebConfig webConfig;// SFTP Web config
// 
//     public IzpackConfig()
//     {
//         this.webConfig = new WebConfig();
//     }
//     public IzpackConfig(IzpackConfig izpackConf)
//     {
//         this.split = izpackConf.split;
//         this.splitSize = izpackConf.splitSize;
//         this.webSetup = izpackConf.webSetup;
//         this.webUrl = izpackConf.webUrl;
//         this.webConfig = new WebConfig(izpackConf.webConfig);
//     }
//     
//     public boolean isSplit() { return split; }
//     public void setSplit(boolean split) { this.split = split; }
// 
//     public int getSplitSize() { return splitSize; }
//     public void setSplitSize(int splitSizeInMB) { this.splitSize = splitSizeInMB * (1024*1024); }
// 
//     public boolean isWebSetup() { return webSetup; }
//     public void setWebSetup(boolean webSetup) { this.webSetup = webSetup; }
// 
//     public String getWebUrl() { return webUrl; }
//     public void setWebUrl(String webUrl) { this.webUrl = webUrl; }
// 
//     public WebConfig getWebConfig() { return webConfig; }
//     public void setWebConfig(WebConfig webConfig) { this.webConfig = webConfig; }
// 
// }
// 
// Path: src/main/java/com/dcp/sm/logic/model/config/build/NugetConfig.java
// public class NugetConfig implements Serializable
// {
//     /**
//      * class written to workspace file: conf.dcp
//      * from AppConfig class
//      */
//     private static final long serialVersionUID = 829663743614405550L;
//     
//     // Nuget options
//     private String feedUrl = "http://";// default feed url
//     private int stepNbr = 3;// step number (default 3)
// 
//     public NugetConfig()
//     {
//     }
//     public NugetConfig(NugetConfig nugetConf)
//     {
//         this.feedUrl = nugetConf.feedUrl;
//         this.stepNbr = nugetConf.stepNbr;
//     }
//     
//     // Nuget options methods
//     public String getFeedUrl() { return feedUrl; }
//     public void setFeedUrl(String feedUrl) { this.feedUrl = feedUrl; }
//     public int getStepNbr() { return stepNbr; }
//     public void setStepNbr(int stepNbr) { this.stepNbr = stepNbr; }
// 
// }


import java.io.File;
import java.io.Serializable;
import java.util.Iterator;
import java.util.LinkedList;
import org.apache.pivot.collections.ArrayList;
import org.apache.pivot.collections.List;
import com.dcp.sm.logic.factory.TypeFactory.BUILD_MODE;
import com.dcp.sm.logic.model.config.build.IzpackConfig;
import com.dcp.sm.logic.model.config.build.NugetConfig;
package com.dcp.sm.logic.model.config;




/**
 * DevComPack Application workspace configuration data
 * @author SSAIDELI
 *
 */
public class AppConfig implements Serializable
{
    /**
     * class written to workspace file: conf.dcp
     */
    private static final long serialVersionUID = 1194986597451209924L;

    // Constants
    private transient final static int MAX_RECENT_DIRECTORIES = 5;
    private transient final static int MAX_RECENT_PROJECTS = 3;
    // Flag
    transient private boolean modified = false;
    public boolean isModified() { return modified; }
    public void setModified(boolean modified) { this.modified = modified; }
    // Assistant flag
    private boolean help = true;
    // Attributes
    private String appName;
    private String appVersion;
    // Data
    private LinkedList<File> recentDirs = new LinkedList<File>();
    private LinkedList<File> recentProjects = new LinkedList<File>();
    // Workspace
    private float scanHorSplitPaneRatio = 0.25f;
    private float setVerSplitPaneRatio = 0.6f;
    private float setHorSplitPaneRatio = 0.7f;
    // Modes
    private BUILD_MODE buildMode = BUILD_MODE.IZPACK_BUILD;
    // Default Configurations
    private SetupConfig defaultSetupConfig;
    private IzpackConfig defaultIzpackConf;
// Path: src/main/java/com/dcp/sm/logic/factory/TypeFactory.java
// public static enum BUILD_MODE {
//     DEFAULT("IzPack"),
//     IZPACK_BUILD("IzPack"),//Default
//     NUGET_BUILD("NuGet");
//         
//     private String _value;
//     private BUILD_MODE(String value)
//     {
//         _value = value;
//     }
//     @Override
//     public String toString()
//     {
//         return this._value;
//     }
// }
// 
// Path: src/main/java/com/dcp/sm/logic/model/config/build/IzpackConfig.java
// public class IzpackConfig implements Serializable
// {
//     /**
//      * class written to workspace file: conf.dcp
//      * from AppConfig class
//      */
//     private static final long serialVersionUID = 1550797914797285496L;
// 
//     // Packaging Split option
//     private boolean split = false;//Split option
//     private int splitSize = 0;//Split size
//     // Web Area
//     private boolean webSetup = false;//Web Setup option
//     private String webUrl = "";//Web HTTP server URL
//     private WebConfig webConfig;// SFTP Web config
// 
//     public IzpackConfig()
//     {
//         this.webConfig = new WebConfig();
//     }
//     public IzpackConfig(IzpackConfig izpackConf)
//     {
//         this.split = izpackConf.split;
//         this.splitSize = izpackConf.splitSize;
//         this.webSetup = izpackConf.webSetup;
//         this.webUrl = izpackConf.webUrl;
//         this.webConfig = new WebConfig(izpackConf.webConfig);
//     }
//     
//     public boolean isSplit() { return split; }
//     public void setSplit(boolean split) { this.split = split; }
// 
//     public int getSplitSize() { return splitSize; }
//     public void setSplitSize(int splitSizeInMB) { this.splitSize = splitSizeInMB * (1024*1024); }
// 
//     public boolean isWebSetup() { return webSetup; }
//     public void setWebSetup(boolean webSetup) { this.webSetup = webSetup; }
// 
//     public String getWebUrl() { return webUrl; }
//     public void setWebUrl(String webUrl) { this.webUrl = webUrl; }
// 
//     public WebConfig getWebConfig() { return webConfig; }
//     public void setWebConfig(WebConfig webConfig) { this.webConfig = webConfig; }
// 
// }
// 
// Path: src/main/java/com/dcp/sm/logic/model/config/build/NugetConfig.java
// public class NugetConfig implements Serializable
// {
//     /**
//      * class written to workspace file: conf.dcp
//      * from AppConfig class
//      */
//     private static final long serialVersionUID = 829663743614405550L;
//     
//     // Nuget options
//     private String feedUrl = "http://";// default feed url
//     private int stepNbr = 3;// step number (default 3)
// 
//     public NugetConfig()
//     {
//     }
//     public NugetConfig(NugetConfig nugetConf)
//     {
//         this.feedUrl = nugetConf.feedUrl;
//         this.stepNbr = nugetConf.stepNbr;
//     }
//     
//     // Nuget options methods
//     public String getFeedUrl() { return feedUrl; }
//     public void setFeedUrl(String feedUrl) { this.feedUrl = feedUrl; }
//     public int getStepNbr() { return stepNbr; }
//     public void setStepNbr(int stepNbr) { this.stepNbr = stepNbr; }
// 
// }


// Path: src/main/java/com/dcp/sm/logic/model/config/AppConfig.java
import java.io.File;
import java.io.Serializable;
import java.util.Iterator;
import java.util.LinkedList;
import org.apache.pivot.collections.ArrayList;
import org.apache.pivot.collections.List;
import com.dcp.sm.logic.factory.TypeFactory.BUILD_MODE;
import com.dcp.sm.logic.model.config.build.IzpackConfig;
import com.dcp.sm.logic.model.config.build.NugetConfig;

package com.dcp.sm.logic.model.config;




/**
 * DevComPack Application workspace configuration data
 * @author SSAIDELI
 *
 */
public class AppConfig implements Serializable
{
    /**
     * class written to workspace file: conf.dcp
     */
    private static final long serialVersionUID = 1194986597451209924L;

    // Constants
    private transient final static int MAX_RECENT_DIRECTORIES = 5;
    private transient final static int MAX_RECENT_PROJECTS = 3;
    // Flag
    transient private boolean modified = false;
    public boolean isModified() { return modified; }
    public void setModified(boolean modified) { this.modified = modified; }
    // Assistant flag
    private boolean help = true;
    // Attributes
    private String appName;
    private String appVersion;
    // Data
    private LinkedList<File> recentDirs = new LinkedList<File>();
    private LinkedList<File> recentProjects = new LinkedList<File>();
    // Workspace
    private float scanHorSplitPaneRatio = 0.25f;
    private float setVerSplitPaneRatio = 0.6f;
    private float setHorSplitPaneRatio = 0.7f;
    // Modes
    private BUILD_MODE buildMode = BUILD_MODE.IZPACK_BUILD;
    // Default Configurations
    private SetupConfig defaultSetupConfig;
    private IzpackConfig defaultIzpackConf;
    private NugetConfig defaultNugetConf;