]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/src/org/simantics/ui/workbench/handler/e4/UndoRedoTester.java
Remove usage of deprecated SimanticsUI-methods
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / workbench / handler / e4 / UndoRedoTester.java
index c1feefc269da7d7a42d16ac5f2291e01db18c913..ecf6c22ab77ff2553a74913bd4e664dfb7536416 100644 (file)
@@ -47,7 +47,7 @@ public class UndoRedoTester {
             int newUndo = oldUndo;
             int newRedo = oldRedo;
             try {
-                ISessionContext ctx = SimanticsUI.getSessionContext();
+                ISessionContext ctx = Simantics.getSessionContext();
                 if (DEBUG)
                     System.out.println("UndoPropertyTester: handle change, ctx=" + ctx);
                 if (ctx == null)