X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.team.ui%2Fsrc%2Forg%2Fsimantics%2Fteam%2Fui%2Fhandlers%2FCommitAllHandler.java;fp=bundles%2Forg.simantics.team.ui%2Fsrc%2Forg%2Fsimantics%2Fteam%2Fui%2Fhandlers%2FCommitAllHandler.java;h=83d136a8b2ac14e2a13f95be5a593f4dfac7dfdf;hp=e047a3e565101de68797d9a3135459ac5d042bd9;hb=e88be95edf1f80781646cfdf717ec1b663264179;hpb=a22c5a8681859b6518017f3ad2be7e9319a6695e diff --git a/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/CommitAllHandler.java b/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/CommitAllHandler.java index e047a3e56..83d136a8b 100644 --- a/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/CommitAllHandler.java +++ b/bundles/org.simantics.team.ui/src/org/simantics/team/ui/handlers/CommitAllHandler.java @@ -15,13 +15,13 @@ import java.io.File; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; +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 CommitAllHandler extends AbstractPreferenceHandler { @@ -46,7 +46,7 @@ public class CommitAllHandler extends AbstractPreferenceHandler { } static CommentDialog.Data commitAll(File teamFolder, boolean init) throws DatabaseException { - Session session = SimanticsUI.getSession(); + Session session = Simantics.getSession(); TeamSupport ts = session.getService(TeamSupport.class); final CommentDialog.Data data = new CommentDialog.Data("Commit Comment"); if (CommentDialog.openCommentDialog(data))