Implement display with #displayOn: instead of #displayString
authorStefan Vogel <sv@exept.de>
Tue, 21 Sep 2010 08:57:35 +0200
changeset 13075 ed934937f7d2
parent 13074 cbbd50931549
child 13076 29b8a558bcf2
Implement display with #displayOn: instead of #displayString in Collection hierarchy. InspectorView uses displayOn: as base machanism, and intermixing both mechanisms didn't work well with inheritance.
Symbol.st
--- a/Symbol.st	Tue Sep 21 08:57:23 2010 +0200
+++ b/Symbol.st	Tue Sep 21 08:57:35 2010 +0200
@@ -461,12 +461,6 @@
 
 !Symbol methodsFor:'printing & storing'!
 
-displayString
-    "return a string for displaying the receiver in a view (inspector)"
-
-    ^ self storeString
-!
-
 printOn:aStream
     "append a user printed representation of the receiver to aStream.
      The format is suitable for a human - not meant to be read back.
@@ -691,9 +685,9 @@
 !Symbol class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Symbol.st,v 1.90 2010-03-06 13:45:51 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Symbol.st,v 1.91 2010-09-21 06:57:35 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Symbol.st,v 1.90 2010-03-06 13:45:51 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Symbol.st,v 1.91 2010-09-21 06:57:35 stefan Exp $'
 ! !