Browse Source

more class comments

Nicolas Petton 11 years ago
parent
commit
6c5f325e3f
2 changed files with 9 additions and 0 deletions
  1. 3 0
      js/Moka-Controllers.js
  2. 6 0
      st/Moka-Controllers.st

+ 3 - 0
js/Moka-Controllers.js

@@ -241,6 +241,7 @@ smalltalk.MKDropdownController);
 
 
 smalltalk.addClass('MKListController', smalltalk.MKAspectsController, ['downRepeater', 'upRepeater'], 'Moka-Controllers');
+smalltalk.MKListController.comment="I am the default controller for `MKListView`.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "activateItem:",
@@ -522,6 +523,7 @@ smalltalk.MKListController);
 
 
 smalltalk.addClass('MKDropdownListController', smalltalk.MKListController, [], 'Moka-Controllers');
+smalltalk.MKDropdownListController.comment="I am the default controller for `MKDropdownView`'s popup list.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "activateItem:",
@@ -589,6 +591,7 @@ smalltalk.MKDropdownListController);
 
 
 smalltalk.addClass('MKModalController', smalltalk.MKSingleAspectController, [], 'Moka-Controllers');
+smalltalk.MKModalController.comment="I am the default controller for `MKModalDecorator`.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onClick:",

+ 6 - 0
st/Moka-Controllers.st

@@ -104,6 +104,8 @@ onKeyDown: anEvent
 MKAspectsController subclass: #MKListController
 	instanceVariableNames: 'downRepeater upRepeater'
 	package: 'Moka-Controllers'!
+!MKListController commentStamp!
+I am the default controller for `MKListView`.!
 
 !MKListController methodsFor: 'accessing'!
 
@@ -182,6 +184,8 @@ previousItem
 MKListController subclass: #MKDropdownListController
 	instanceVariableNames: ''
 	package: 'Moka-Controllers'!
+!MKDropdownListController commentStamp!
+I am the default controller for `MKDropdownView`'s popup list.!
 
 !MKDropdownListController methodsFor: 'actions'!
 
@@ -209,6 +213,8 @@ onMouseMove: anEvent
 MKSingleAspectController subclass: #MKModalController
 	instanceVariableNames: ''
 	package: 'Moka-Controllers'!
+!MKModalController commentStamp!
+I am the default controller for `MKModalDecorator`.!
 
 !MKModalController methodsFor: 'actions'!