From 35df801afb7c2e4544b57762de21aa9b5e21ac01 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Wed, 28 Dec 2016 16:06:29 +0200 Subject: [PATCH] Add EditorAdapterDescriptorImpl.toString implementation for debug refs #6898 Change-Id: I6754db48ea760777ffdf86b78e384e26bcb9ba66 --- .../ui/workbench/editor/EditorAdapterDescriptorImpl.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapterDescriptorImpl.java b/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapterDescriptorImpl.java index 411f96e20..b32478820 100644 --- a/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapterDescriptorImpl.java +++ b/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapterDescriptorImpl.java @@ -73,5 +73,12 @@ public class EditorAdapterDescriptorImpl implements EditorAdapterDescriptor { return true; return false; } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(EditorAdapterDescriptorImpl.class.getSimpleName()).append(" id=").append(id).append(" gId=").append(groupId); + return sb.toString(); + } } -- 2.47.1