EnterBox2.st
changeset 355 a55f62047156
parent 197 00927189c882
child 490 08e8adfb783c
--- a/EnterBox2.st	Sat Feb 10 17:57:06 1996 +0100
+++ b/EnterBox2.st	Sun Feb 11 10:55:05 1996 +0100
@@ -11,10 +11,10 @@
 "
 
 EnterBox subclass:#EnterBox2
-	 instanceVariableNames:'okButton2 okAction2'
-	 classVariableNames:''
-	 poolDictionaries:''
-	 category:'Views-DialogBoxes'
+	instanceVariableNames:'okButton2 okAction2'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Views-DialogBoxes'
 !
 
 !EnterBox2 class methodsFor:'instance creation'!
@@ -48,16 +48,28 @@
 
 documentation
 "
+   Historic note:
+        originally, ST/X had separate classes for the various entry methods;
+        there were YesNoBox, EnterBox, InfoBox and so on.
+        In the meantime, the DialogBox class (and therefore its alias: Dialog)
+        is going to duplicate most funcionality found in these classes.
+
+        In the future, those existing subclasses' functionality is going to
+        be moved fully into Dialog, and the subclasses will be replaced by dummy
+        delegators. (They will be kept for backward compatibility, though).
+
     An EnterBox2 is like an EnterBox but with 2 action buttons.
     This is used (for example) in the search-boxes, where two ok-buttons
     'find-previous' and 'find-next' are needed in addition to the abort button.
     The protocol is like that of EnterBox, the additional buttons label
     can be set with 'okText2:aString' and its action with 'action2:aBlock'.
 "
+
+    "Modified: 10.2.1996 / 18:00:28 / cg"
 !
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/EnterBox2.st,v 1.13 1995-11-23 02:25:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EnterBox2.st,v 1.14 1996-02-11 09:54:43 cg Exp $'
 ! !
 
 !EnterBox2 methodsFor:'accessing'!