Bugfix: Menu actions shall be generated into same category.
authormartin
Mon, 09 Feb 2004 14:26:21 +0100
changeset 1785 300261fabf7d
parent 1784 565021ad7e34
child 1786 db328579276f
Bugfix: Menu actions shall be generated into same category.
MenuEditor.st
UIPainterView.st
--- a/MenuEditor.st	Mon Feb 09 12:31:49 2004 +0100
+++ b/MenuEditor.st	Mon Feb 09 14:26:21 2004 +0100
@@ -2361,14 +2361,14 @@
     self collectActionSelectors do:[:aSelector|
         self createActionMethodFor:aSelector
                                 in:cls
-                          category:'menu - actions'
+                          category:CodeGeneratorTool categoryForMenuActionsMethods
                           redefine:redefineAspectMethods.
     ].
 
     self collectAspectSelectors do:[:anAspect|
         self createAspectMethodFor:anAspect
                                 in:cls
-                          category:'menu - aspects'
+                          category:CodeGeneratorTool categoryForMenuActionsMethods
                           redefine:redefineAspectMethods
     ].
 ! !
--- a/UIPainterView.st	Mon Feb 09 12:31:49 2004 +0100
+++ b/UIPainterView.st	Mon Feb 09 14:26:21 2004 +0100
@@ -1139,7 +1139,7 @@
 
     alreadyInSuperclass := targetClass superclass canUnderstand:selector.
 
-    code := '!!' , targetClass name , ' methodsFor:''menu actions''!!\\'.
+    code := '!!' , targetClass name , ' methodsFor:''' , CodeGeneratorTool categoryForMenuActionsMethods , '''!!\\'.
 
     selector = 'openAboutThisApplication' ifTrue:[
         code := code ,