import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.Platform;
+import org.simantics.Simantics;
import org.simantics.db.Session;
import org.simantics.team.Activator;
import org.simantics.team.ui.CommentDialog;
import org.simantics.team.ui.StageInitWizard;
-import org.simantics.ui.SimanticsUI;
import org.simantics.ui.workbench.handler.AbstractPreferenceHandler;
import org.simantics.utils.ui.dialogs.ShowError;
public Object execute(ExecutionEvent event) throws ExecutionException {
System.out.println("DEBUG: " + this.getClass().getName());
try {
- Session session = SimanticsUI.getSession();
+ Session session = Simantics.getSession();
File wsFolder = new File(Platform.getInstanceLocation().getURL().getFile());
File stFolder = new File(wsFolder, "staging");
final StageInitWizard.Data data = new StageInitWizard.Data(stFolder, null);