UserMessage.st
changeset 6008 7ac30515dddc
parent 5996 df75959d85f3
child 6117 013cab950016
--- a/UserMessage.st	Fri Sep 07 19:13:58 2001 +0200
+++ b/UserMessage.st	Fri Sep 07 20:45:25 2001 +0200
@@ -7,6 +7,23 @@
 	category:'Interface-Internationalization'
 !
 
+!UserMessage class methodsFor:'documentation'!
+
+documentation
+"
+    added for vw5i compatibility, which accesses messageCatalogs
+    via:
+          (#key << #catalogID >> 'defaultMessage')
+    which creates an instance of UserMessage.
+
+    Currently, this is a dummy operation in ST/X, however it is mapped onto
+    the resource mechanism, if the given catalogID is the name of a class;
+    i.e.
+        (YesNoBox classResources string:'continue')
+    can now also be written as:
+        (#continue << #YesNoBox) 
+"
+! !
 
 !UserMessage class methodsFor:'instance creation'!
 
@@ -108,5 +125,5 @@
 !UserMessage class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UserMessage.st,v 1.1 2001-09-07 15:58:03 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UserMessage.st,v 1.2 2001-09-07 18:45:25 cg Exp $'
 ! !