]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapterDescriptorImpl.java
Add EditorAdapterDescriptorImpl.toString implementation for debug
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / workbench / editor / EditorAdapterDescriptorImpl.java
index 411f96e20cb42a7737c24d18bc97f24c0d195e45..b324788203bbbe9dde13914817bc417aad201c7c 100644 (file)
@@ -73,5 +73,12 @@ public class EditorAdapterDescriptorImpl implements EditorAdapterDescriptor {
                 return true;\r
         return false;\r
     }\r
+    \r
+    @Override\r
+    public String toString() {\r
+        StringBuilder sb = new StringBuilder();\r
+        sb.append(EditorAdapterDescriptorImpl.class.getSimpleName()).append(" id=").append(id).append(" gId=").append(groupId);\r
+        return sb.toString();\r
+    }\r
 \r
 }\r