X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fsrc%2Forg%2Fsimantics%2Fg3d%2Fwizard%2FModelExportWizard.java;h=9eddcd44c957b387cf76fb801b0b008e8eee4138;hb=3e2205a22ddee674f7936da114f5d520bd83e0ff;hp=27214c930fb8300955b47f4c80345550a8ad668e;hpb=87b3241ec277ba3d8e414b26186a032c9cdcaeed;p=simantics%2F3d.git diff --git a/org.simantics.g3d/src/org/simantics/g3d/wizard/ModelExportWizard.java b/org.simantics.g3d/src/org/simantics/g3d/wizard/ModelExportWizard.java index 27214c93..9eddcd44 100644 --- a/org.simantics.g3d/src/org/simantics/g3d/wizard/ModelExportWizard.java +++ b/org.simantics.g3d/src/org/simantics/g3d/wizard/ModelExportWizard.java @@ -1,3 +1,14 @@ +/******************************************************************************* + * Copyright (c) 2012, 2013 Association for Decentralized Information Management in + * Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ package org.simantics.g3d.wizard; import java.io.File; @@ -22,7 +33,7 @@ import org.eclipse.ui.IWorkbench; import org.simantics.db.management.ISessionContext; import org.simantics.project.IProject; import org.simantics.project.ProjectKeys; -import org.simantics.ui.SimanticsUI; +import org.simantics.Simantics; import org.simantics.utils.ui.ErrorLogger; import org.simantics.utils.ui.ExceptionUtils; import org.simantics.utils.ui.workbench.StringMemento; @@ -50,7 +61,7 @@ public abstract class ModelExportWizard extends Wizard i public void init(IWorkbench workbench, IStructuredSelection selection) { readPreferences(); - ISessionContext ctx = SimanticsUI.getSessionContext(); + ISessionContext ctx = Simantics.getSessionContext(); if (ctx == null) return; IProject project = ctx.getHint(ProjectKeys.KEY_PROJECT);