예제 #1
0
 public void Copy(ConfigGroup copyGroup)
 {
     if (copyGroup != null)
     {
         OnCopy(copyGroup);
     }
 }
예제 #2
0
        override public void OnCopy(ConfigGroup copyGroup)
        {
            ExporterConfig copy = (ExporterConfig)copyGroup;

            MatchDirectory  = copy.MatchDirectory ? copy.MatchDirectory : MatchDirectory;
            FileNamePattern = copy.FileNamePattern ?? FileNamePattern;
            ExportPattern   = copy.ExportPattern ?? ExportPattern;
        }
예제 #3
0
        override public void OnCopy(ConfigGroup copyGroup)
        {
            DeveloperConfig copy = (DeveloperConfig)copyGroup;

            DeveloperMode = copy.DeveloperMode ? copy.DeveloperMode : DeveloperMode;
            ProjectDrive  = copy.ProjectDrive ?? ProjectDrive;
            DevToolsPath  = copy.DevToolsPath ?? DevToolsPath;
        }
예제 #4
0
        override public void OnCopy(ConfigGroup copyGroup)
        {
            ProjectConfig copy = (ProjectConfig)copyGroup;

            UseProject        = copy.UseProject ? copy.UseProject : UseProject;
            ProjectDrive      = copy.ProjectDrive ?? ProjectDrive;
            ProjectRootPath   = copy.ProjectRootPath ?? ProjectRootPath;
            CharacterFolder   = copy.CharacterFolder ?? CharacterFolder;
            RigSearchPathList = copy.RigSearchPathList ?? RigSearchPathList;
        }
예제 #5
0
        override public void OnCopy(ConfigGroup copyGroup)
        {
            PerforceConfig copy = (PerforceConfig)copyGroup;

            Enabled        = copy.Enabled ? copy.Enabled : Enabled;
            Host           = copy.Host ?? Host;
            Server         = copy.Server ?? Server;
            UserName       = copy.UserName ?? UserName;
            ClientHostName = copy.ClientHostName ?? ClientHostName;
            WorkspaceName  = copy.WorkspaceName ?? WorkspaceName;
        }
예제 #6
0
        public ConfigGroup GetCategory(SettingsCategories category)
        {
            ConfigGroup returnGroup = null;

            if (category == SettingsCategories.DEVELOP)
            {
                returnGroup = InitSettings.Developer;
            }
            else if (category == SettingsCategories.PROJECT)
            {
                returnGroup = InitSettings.Project;
            }
            else if (category == SettingsCategories.EXPORTER)
            {
                returnGroup = InitSettings.Exporter;
            }
            else if (category == SettingsCategories.PERFORCE)
            {
                returnGroup = InitSettings.Perforce;
            }

            return(returnGroup);
        }
예제 #7
0
 virtual public void OnCopy(ConfigGroup copyGroup)
 {
 }