From: lehtonen Date: Mon, 22 Dec 2014 08:07:56 +0000 (+0000) Subject: Removed deprecated Sheet Experiment/run creation from new sysdyn model creation. X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=c3923757c58bd71d91514e812ee46307cc5bc881;p=simantics%2Fsysdyn.git Removed deprecated Sheet Experiment/run creation from new sysdyn model creation. New models will not receive the Sheet Experiment the old models have but no migrations exist to remove the existing ones. refs #5484 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/1.8@30721 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/ModelUtils.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/ModelUtils.java index 98fb37c0..29c62649 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/ModelUtils.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/utils/ModelUtils.java @@ -153,14 +153,15 @@ public class ModelUtils { DOC.HasReportFactory, report, l0.PartOf, model); - Resource sheetExperiment = GraphUtils.create2(g, SHEET.Experiment, - l0.HasName, "SheetExperiment", - l0.HasLabel, "Sheet Experiment", - l0.PartOf, model); - - Resource sheetRun = GraphUtils.create2(g, SHEET.Run, - l0.HasName, "Default", - l0.PartOf, sheetExperiment); + // #5484: removed (deprecated) sheet experiment from new models +// Resource sheetExperiment = GraphUtils.create2(g, SHEET.Experiment, +// l0.HasName, "SheetExperiment", +// l0.HasLabel, "Sheet Experiment", +// l0.PartOf, model); +// +// Resource sheetRun = GraphUtils.create2(g, SHEET.Run, +// l0.HasName, "Default", +// l0.PartOf, sheetExperiment); ProjectResource PROJ = ProjectResource.getInstance(g); for(Resource dep : g.getObjects(library, l0.IsLinkedTo)) {