Example #1
0
 public void Reset()
 {
     Worksets.Clear();
     ProjectInformationReplacements.Clear();
     NominatedArchitects.Clear();
     Init();
 }
Example #2
0
        private void AddProjectInformationReplacements()
        {
            var pinf = ModelSetupWizardSettings.Default.DefaultProjectInformation;

            foreach (var p in pinf)
            {
                var segs = p.Split(';');
                if (segs.Length > 1)
                {
                    ProjectInformationReplacement wp = new ProjectInformationReplacement(segs[0], segs[1]);
                    ProjectInformationReplacements.Add(wp);
                    if (segs.Length > 2)
                    {
                        wp.ReplacementFormat = segs[2];
                    }
                }
            }
        }
Example #3
0
 public void RemoveReplacement()
 {
     ProjectInformationReplacements.Remove(SelectedProjectInformationReplacement);
 }
Example #4
0
 public void AddReplacement()
 {
     ProjectInformationReplacements.Add(new ProjectInformationReplacement());
 }