Added Behaviour>>methodsCount to avoid direct methodDictionary access.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Wed, 25 Feb 2015 16:24:08 +0100
changeset 15424 3715bc7817c6
parent 15423 3eb4832e115c
child 15425 f8624988137a
Added Behaviour>>methodsCount to avoid direct methodDictionary access. This in turn avoid loading of lazy-loaded classes when only displayed in class list.
stx_libtool.st
--- a/stx_libtool.st	Wed Feb 25 16:24:06 2015 +0100
+++ b/stx_libtool.st	Wed Feb 25 16:24:08 2015 +0100
@@ -422,8 +422,8 @@
 !
 
 extensionMethodNames
-    "list class/selector pairs of extensions.
-     A correponding method with real names must be present in my concrete subclasses"
+    "lists the extension methods which are to be included in the project.
+     Entries are pairwise elements, consisting of class-name and selector."
 
     ^ #(
         Breakpoint icon
@@ -578,6 +578,7 @@
         SmalltalkLanguage compilerClassForInteractiveTools
         Object inspector2TabClass
         Filename inspector2TabContentsView
+        Behavior methodsCount
     )
 ! !
 
@@ -637,10 +638,10 @@
 !stx_libtool class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.123 2015-02-23 14:26:46 mb Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.124 2015-02-25 15:24:08 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.123 2015-02-23 14:26:46 mb Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/stx_libtool.st,v 1.124 2015-02-25 15:24:08 vrany Exp $'
 ! !