]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
Print resource ids
authorluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 24 May 2010 13:47:45 +0000 (13:47 +0000)
committerMarko Luukkainen <marko.luukkainen@vtt.fi>
Thu, 2 Feb 2017 09:22:10 +0000 (11:22 +0200)
git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@15828 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.interop/src/org/simantics/interop/test/GraphComparatorViewer.java

index d641c514e3ce092063787b09c8055396dd672d53..fdf1c81448cb7597c91a346b1a562e16d54792ef 100644 (file)
@@ -142,7 +142,9 @@ public class GraphComparatorViewer extends ViewPart{
                                                        indices.put(s, index);\r
                                                        sb1.append("["+index + "] ");\r
                                                }\r
-                                               sb1.append(sub + " - " + pre + " - " + obj + "\n");\r
+                                               sb1.append(sub + " - " + pre + " - " + obj);\r
+                                               sb1.append(" ["+s.getSubject().getResourceId() + " " + s.getPredicate().getResourceId() + " " + s.getObject().getResourceId()+"]");\r
+                                               sb1.append("\n");\r
                                        } catch (ValidationException e) {\r
                                                e.printStackTrace();\r
                                        } catch (ServiceException e) {\r
@@ -161,7 +163,9 @@ public class GraphComparatorViewer extends ViewPart{
                                                        index = indices.get(map.getLeft(s));\r
                                                        sb2.append("["+index + "] ");\r
                                                }\r
-                                               sb2.append(sub + " - " + pre + " - " + obj + "\n");\r
+                                               sb2.append(sub + " - " + pre + " - " + obj);\r
+                                               sb2.append(" ["+s.getSubject().getResourceId() + " " + s.getPredicate().getResourceId() + " " + s.getObject().getResourceId()+"]");\r
+                                               sb2.append("\n");\r
                                        } catch (ValidationException e) {\r
                                                e.printStackTrace();\r
                                        } catch (ServiceException e) {\r