]> gerrit.simantics Code Review - simantics/interop.git/blobdiff - org.simantics.interop/src/org/simantics/interop/test/TypeComparator.java
Several updates to interoperability.
[simantics/interop.git] / org.simantics.interop / src / org / simantics / interop / test / TypeComparator.java
index e3251ac07f2756b42224e76c9eb3a664edeb03c5..3bd21b51b1cb3d0dd2f440d6467c87e954dd0af7 100644 (file)
@@ -28,6 +28,14 @@ public class TypeComparator extends ResourceComparator {
        ArrayList<Resource> rs1 = new ArrayList<Resource>();\r
        ArrayList<Resource> rs2 = new ArrayList<Resource>();\r
        \r
+       @Override\r
+       public int compare(ReadGraph g, Resource o1, Resource o2, boolean local) throws DatabaseException {\r
+               if (local)\r
+                       return new TypeComparator().compare(g, o1, o2);\r
+               else\r
+                       return compare(g, o1, o2);\r
+       }\r
+       \r
        @Override\r
        public int compare(ReadGraph g, Resource o1, Resource o2) throws DatabaseException{\r
                if (!compareType(g,o1, o2)) {\r