X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.team.ui%2Fsrc%2Forg%2Fsimantics%2Fteam%2Fui%2Fhandlers%2FStagingOutHandler.java;h=97a0a8c0818142199778e246bc72cc01f6a413bd;hb=refs%2Fchanges%2F55%2F2055%2F1;hp=16acca6ed8639f419488c65e1db6173fe6d9e1d0;hpb=a22c5a8681859b6518017f3ad2be7e9319a6695e;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/StagingOutHandler.java b/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/StagingOutHandler.java index 16acca6ed..97a0a8c08 100644 --- a/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/StagingOutHandler.java +++ b/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/StagingOutHandler.java @@ -14,13 +14,13 @@ package org.simantics.team.ui.handlers; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.ui.PlatformUI; +import org.simantics.Simantics; import org.simantics.db.Session; import org.simantics.db.exception.DatabaseException; import org.simantics.db.service.TeamSupport; import org.simantics.team.Activator; import org.simantics.team.Utils; import org.simantics.team.ui.CommentDialog; -import org.simantics.ui.SimanticsUI; import org.simantics.ui.workbench.handler.AbstractPreferenceHandler; public class StagingOutHandler extends AbstractPreferenceHandler { @@ -35,7 +35,7 @@ public class StagingOutHandler extends AbstractPreferenceHandler { // if (sel instanceof IStructuredSelection) // ss = (IStructuredSelection) sel; try { - Session session = SimanticsUI.getSession(); + Session session = Simantics.getSession(); TeamSupport ts = session.getService(TeamSupport.class); final CommentDialog.Data data = new CommentDialog.Data("Staging Comment"); if (!CommentDialog.openCommentDialog(data))