]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Rename: IProjectLifeCycle -> IProjectLifecycle
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 19 Aug 2010 11:42:20 +0000 (11:42 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 19 Aug 2010 11:42:20 +0000 (11:42 +0000)
Added more specs to IProjectLifecycle.onDeactivated javadoc.
Added safety mechanism to Project.deactivate() to ensure no async requests are left after that.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@17381 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProjectLifeCycle.java

index 58a7282254d883253956d1961e2b87b1af6852f8..9790daeef201814d7a7815590a36a57803fffc4f 100644 (file)
@@ -25,7 +25,7 @@ import org.simantics.db.layer0.util.Simantics;
 import org.simantics.db.request.Read;\r
 import org.simantics.db.service.VirtualGraphSupport;\r
 import org.simantics.project.IProject;\r
-import org.simantics.project.IProjectLifeCycle;\r
+import org.simantics.project.IProjectLifecycle;\r
 import org.simantics.project.exception.ProjectException;\r
 import org.simantics.simulation.experiment.IExperiment;\r
 import org.simantics.simulation.ontology.SimulationResource;\r
@@ -34,7 +34,7 @@ import org.simantics.sysdyn.SysdynResource;
 import org.simantics.sysdyn.ui.Activator;\r
 import org.simantics.utils.ui.ErrorLogger;\r
 \r
-public class SysdynProjectLifeCycle implements IProjectLifeCycle{\r
+public class SysdynProjectLifeCycle implements IProjectLifecycle {\r
 \r
     private static final String CHEATSHEET_ID           = "org.simantics.sysdyn.ui.cheatsheet1";\r
     private static final String FIRST_SYSDYN_PROJECT    = "firstSysdynProject";\r