From 391bbfc7e5aab2e1f5f90e8a0c993f5be52bf222 Mon Sep 17 00:00:00 2001 From: luukkainen Date: Mon, 24 May 2010 13:47:45 +0000 Subject: [PATCH] Print resource ids git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@15828 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/interop/test/GraphComparatorViewer.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/org.simantics.interop/src/org/simantics/interop/test/GraphComparatorViewer.java b/org.simantics.interop/src/org/simantics/interop/test/GraphComparatorViewer.java index d641c51..fdf1c81 100644 --- a/org.simantics.interop/src/org/simantics/interop/test/GraphComparatorViewer.java +++ b/org.simantics.interop/src/org/simantics/interop/test/GraphComparatorViewer.java @@ -142,7 +142,9 @@ public class GraphComparatorViewer extends ViewPart{ indices.put(s, index); sb1.append("["+index + "] "); } - sb1.append(sub + " - " + pre + " - " + obj + "\n"); + sb1.append(sub + " - " + pre + " - " + obj); + sb1.append(" ["+s.getSubject().getResourceId() + " " + s.getPredicate().getResourceId() + " " + s.getObject().getResourceId()+"]"); + sb1.append("\n"); } catch (ValidationException e) { e.printStackTrace(); } catch (ServiceException e) { @@ -161,7 +163,9 @@ public class GraphComparatorViewer extends ViewPart{ index = indices.get(map.getLeft(s)); sb2.append("["+index + "] "); } - sb2.append(sub + " - " + pre + " - " + obj + "\n"); + sb2.append(sub + " - " + pre + " - " + obj); + sb2.append(" ["+s.getSubject().getResourceId() + " " + s.getPredicate().getResourceId() + " " + s.getObject().getResourceId()+"]"); + sb2.append("\n"); } catch (ValidationException e) { e.printStackTrace(); } catch (ServiceException e) { -- 2.47.1