Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2009-02-05 23:13:58 +0000
committerSilenio Quarti2009-02-05 23:13:58 +0000
commit5d683a35c495aa3df78d4fecc0c226fc7448b2fd (patch)
treef4d61aebecf072f0ece485185177031e402d2bda /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java
parent504347c00a2be9333f6651934fb6e799770d4903 (diff)
downloadeclipse.platform.swt-5d683a35c495aa3df78d4fecc0c226fc7448b2fd.tar.gz
eclipse.platform.swt-5d683a35c495aa3df78d4fecc0c226fc7448b2fd.tar.xz
eclipse.platform.swt-5d683a35c495aa3df78d4fecc0c226fc7448b2fd.zip
debug toString()
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java
index f2ba3117e6..43c9a5dce7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/id.java
@@ -34,4 +34,8 @@ public int /*long*/ objc_getClass() {
if (index != -1) name = name.substring(index + 1);
return OS.objc_getClass(name);
}
+
+public String toString() {
+ return getClass().getName() + "{" + id + "}";
+}
}

Back to the top