Esempio n. 1
0
        private void CreateSolutionDiagrams(ModelEntityRepository repo, IEnumerable <ElementInstantiation> instantiations)
        {
            PackageInstance.Do(solutionPackage =>
            {
                Diagrams.ForEach(problemDiagram =>
                {
                    var solutionDiagram = repo.Create(problemDiagram.Name, DiagramTypes.SolutionOverview, solutionPackage, ADTechnology.Technologies.AD.ID);
                    CopyDiagramObjects(problemDiagram, solutionDiagram, instantiations);
                });
            });

            Children.ForEach(c => c.CreateSolutionDiagrams(repo, instantiations));
        }
Esempio n. 2
0
 public void RenameDiagram()
 {
     Diagrams.ForEach(d => d.NameEditMode = false);
     SelectedDiagram.NameEditMode         = true;
 }
Esempio n. 3
0
 public void OnDeserialized(StreamingContext context)
 {
     Diagrams.ForEach(TriggerProjectChangeWhenDiagramChanges);
 }