]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
* Lifted org.eclipse.ui dependency from org.simantics.project by moving UIModelManage...
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 11 Nov 2010 09:30:57 +0000 (09:30 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 11 Nov 2010 09:30:57 +0000 (09:30 +0000)
* Replaced UI-based ScopedPreferenceStore usage from org.simantics.project with use of IScopeContext/IPreferencesService from org.eclipse.core.runtime.

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

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

index 36bb823b04411a501bd5f52901e265730c4582e6..41f43da3f44e31393113d241c3fdc2bc4bf8d81f 100644 (file)
@@ -58,9 +58,6 @@ import org.simantics.project.ProjectElements;
 import org.simantics.project.ProjectKeys;\r
 import org.simantics.project.exception.ProjectException;\r
 import org.simantics.project.features.AbstractProjectFeature;\r
-import org.simantics.project.features.UIModelManager;\r
-import org.simantics.project.features.UIModelManagerBase;\r
-import org.simantics.project.features.UIModelManagerBase.WriteRunnable;\r
 import org.simantics.simulation.experiment.IExperiment;\r
 import org.simantics.simulation.ontology.SimulationResource;\r
 import org.simantics.simulation.project.IExperimentManager;\r
@@ -69,6 +66,9 @@ import org.simantics.sysdyn.ui.Activator;
 import org.simantics.ui.SimanticsUI;\r
 import org.simantics.ui.workbench.IEditorNamingService;\r
 import org.simantics.ui.workbench.action.ChooseActionRequest;\r
+import org.simantics.ui.workbench.project.UIModelManager;\r
+import org.simantics.ui.workbench.project.UIModelManagerBase;\r
+import org.simantics.ui.workbench.project.UIModelManagerBase.WriteRunnable;\r
 import org.simantics.utils.datastructures.Callback;\r
 import org.simantics.utils.ui.ErrorLogger;\r
 import org.simantics.utils.ui.workbench.WorkbenchUtils;\r
@@ -94,7 +94,7 @@ public class SysdynProject extends AbstractProjectFeature {
         /**\r
          * \r
          * \r
-         * @see org.simantics.project.features.UIModelManager#openEditor(org.simantics.db.Session, java.lang.String)\r
+         * @see org.simantics.ui.workbench.project.UIModelManager#openEditor(org.simantics.db.Session, java.lang.String)\r
          */\r
         @Override\r
         public void openEditor(Session session, String uri) throws PartInitException {\r