no need to initialize values twice (when decoding from a literalArray).
authorClaus Gittinger <cg@exept.de>
Wed, 28 Jan 1998 17:42:48 +0100
changeset 785 e7e50d798cfc
parent 784 b08b05900f30
child 786 91d5639d9999
no need to initialize values twice (when decoding from a literalArray).
Layout.st
--- a/Layout.st	Wed Jan 28 16:14:07 1998 +0100
+++ b/Layout.st	Wed Jan 28 17:42:48 1998 +0100
@@ -62,6 +62,16 @@
 
 !Layout class methodsFor:'instance creation'!
 
+decodeFromLiteralArray:anArray
+    "create & return a new instance from information encoded in anArray.
+     Redefined since no initialization is needed (the values are
+     all set from the specArray."
+
+    ^ self basicNew fromLiteralArrayEncoding:anArray.
+
+    "Modified: / 28.1.1998 / 17:42:25 / cg"
+!
+
 new
     "return a new initialized instance"
 
@@ -135,5 +145,5 @@
 !Layout class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/Layout.st,v 1.14 1997-02-11 23:07:36 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/Layout.st,v 1.15 1998-01-28 16:42:48 cg Exp $'
 ! !