]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/src/org/simantics/ui/tester/UndoPropertyTester.java
Remove usage of deprecated SimanticsUI-methods
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / tester / UndoPropertyTester.java
index 1977d08df90744a8b89331b885dbd048db0d55ad..3ea5293c39d548b08e681cce8ad64e09c6227974 100644 (file)
@@ -152,7 +152,7 @@ public class UndoPropertyTester extends PropertyTester implements UndoRedoSuppor
         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)