From: lehtonen Date: Thu, 11 Nov 2010 09:30:57 +0000 (+0000) Subject: * Lifted org.eclipse.ui dependency from org.simantics.project by moving UIModelManage... X-Git-Tag: simantics-1.2.1~1 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=8bfea741d5e5387d179e68bda48cd942fffb721d;p=simantics%2Fsysdyn.git * Lifted org.eclipse.ui dependency from org.simantics.project by moving UIModelManager/UIModelManagerBase into org.simantics.ui. * 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 --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java index 36bb823b..41f43da3 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/project/SysdynProject.java @@ -58,9 +58,6 @@ import org.simantics.project.ProjectElements; import org.simantics.project.ProjectKeys; import org.simantics.project.exception.ProjectException; import org.simantics.project.features.AbstractProjectFeature; -import org.simantics.project.features.UIModelManager; -import org.simantics.project.features.UIModelManagerBase; -import org.simantics.project.features.UIModelManagerBase.WriteRunnable; import org.simantics.simulation.experiment.IExperiment; import org.simantics.simulation.ontology.SimulationResource; import org.simantics.simulation.project.IExperimentManager; @@ -69,6 +66,9 @@ import org.simantics.sysdyn.ui.Activator; import org.simantics.ui.SimanticsUI; import org.simantics.ui.workbench.IEditorNamingService; import org.simantics.ui.workbench.action.ChooseActionRequest; +import org.simantics.ui.workbench.project.UIModelManager; +import org.simantics.ui.workbench.project.UIModelManagerBase; +import org.simantics.ui.workbench.project.UIModelManagerBase.WriteRunnable; import org.simantics.utils.datastructures.Callback; import org.simantics.utils.ui.ErrorLogger; import org.simantics.utils.ui.workbench.WorkbenchUtils; @@ -94,7 +94,7 @@ public class SysdynProject extends AbstractProjectFeature { /** * * - * @see org.simantics.project.features.UIModelManager#openEditor(org.simantics.db.Session, java.lang.String) + * @see org.simantics.ui.workbench.project.UIModelManager#openEditor(org.simantics.db.Session, java.lang.String) */ @Override public void openEditor(Session session, String uri) throws PartInitException {