Exemple #1
0
        private EvoX.Model.Project ConvertToVersionedEvoXProject(Project project)
        {
            evoxProject = new EvoX.Model.Project();
            evoxProject.InitNewEmptyProject(true);



            return(evoxProject);
        }
Exemple #2
0
        private EvoX.Model.Project ConvertToNonversionedEvoXProject(Project project)
        {
            evoxProject = new EvoX.Model.Project();
            evoxProject.InitNewEmptyProject(true);

            projectVersion = evoxProject.SingleVersion;
            pimSchema      = projectVersion.PIMSchema;

            ConvertPIMSchema();

            foreach (PSMDiagram psmDiagram in project.PSMDiagrams)
            {
                psmSchema = new PSMSchema(evoxProject);
                PSMSchemaClass psmSchemaClass = new PSMSchemaClass(evoxProject, psmSchema);
                psmSchemaClass.Name = psmDiagram.Caption;
                psmSchema.RegisterPSMSchemaClass(psmSchemaClass);
                projectVersion.AddPSMSchema(psmSchema);
                ConvertPSMSchema(psmDiagram);
            }

            return(evoxProject);
        }