stx_libwidg2.st
changeset 4915 f672aae7a7ac
parent 4865 eebc2638f2a7
child 4930 7a6e813d8d17
child 5251 4298cac3a4c0
--- a/stx_libwidg2.st	Fri Jan 15 20:46:41 2016 +0100
+++ b/stx_libwidg2.st	Fri Jan 15 20:50:05 2016 +0100
@@ -72,38 +72,50 @@
         #'stx:goodies/refactoryBrowser/parser'    "RBParser - referenced by DoWhatIMeanSupport class>>findNodeForInterval:in: "
         #'stx:libcomp'    "Parser - referenced by DoWhatIMeanSupport class>>codeCompletionForMessage:inClass:codeView: "
         #'stx:libhtml'    "HTMLDocumentView - referenced by LicenceBox>>initialize "
+        #'stx:goodies/refactoryBrowser/browser'    "RefactoryTyper - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:"
+        #'stx:libboss'    "ObsoleteObject - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:"
     )
 !
 
 mandatoryPreRequisites
-    "list all required mandatory packages.
-     Packages are mandatory, if they contain superclasses of the package's classes
-     or classes which are extended by this package.
-     This list can be maintained manually or (better) generated and
-     updated by scanning the superclass hierarchies
-     (the browser has a menu function for that)
-     However, often too much is found, and you may want to explicitely
-     exclude individual packages in the #excludedFromPreRequisites method."
+    "list packages which are mandatory as a prerequisite.
+     This are packages containing superclasses of my classes and classes which
+     are extended by myself.
+     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
+     This method is generated automatically,
+     by searching along the inheritance chain of all of my classes."
 
     ^ #(
-        #'stx:libbasic'    "Notification - superclass of ProgressNotification "
-        #'stx:libbasic2'    "List - superclass of HierarchicalList "
-        #'stx:libview'    "TopView - superclass of ExtendedComboBox::MenuWrapper "
-        #'stx:libview2'    "ApplicationModel - superclass of PrintingDialog "
-        #'stx:libwidg'    "ListView - superclass of FilenameEditField "
+        #'stx:libbasic'    "ActivityNotification - superclass of ProgressNotification"
+        #'stx:libbasic2'    "List - superclass of HierarchicalFileList"
+        #'stx:libview'    "Controller - superclass of LinkButtonController"
+        #'stx:libview2'    "ApplicationModel - superclass of AssistantApplication"
+        #'stx:libwidg'    "Button - superclass of ComboBoxButton"
     )
 !
 
 referencedPreRequisites
-    "list all packages containing classes referenced by the packages's members.
-     This list can be maintained manually or (better) generated and
-     updated by looking for global variable accesses
-     (the browser has a menu function for that)
-     However, often too much is found, and you may want to explicitely
-     exclude individual packages in the #excludedFromPreRequisites method."
+    "list packages which are a prerequisite, because they contain
+     classes which are referenced by my classes.
+     We do not need these packages as a prerequisite for compiling or loading,
+     however, a class from it may be referenced during execution and having it
+     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
+     includes explicit checks for the package being present.
+     This method is generated automatically,
+     by searching all classes (and their packages) which are referenced by my classes."
 
     ^ #(
-        #'stx:libui'    "DividerSpec - referenced by Separator>>specClass "
+        #'stx:libui'    "ComboBoxSpec - referenced by ComboBoxView>>specClass"
+    )
+!
+
+subProjects
+    "list packages which are known as subprojects.
+     The generated makefile will enter those and make there as well.
+     However: they are not forced to be loaded when a package is loaded;
+     for those, redefine requiredPrerequisites."
+
+    ^ #(
     )
 ! !
 
@@ -183,6 +195,7 @@
         TabulatorSpecification
         TerminalView
         TextBox
+        ThumbWheel
         TreeItem
         UpDownButton
         ViewScroller
@@ -247,8 +260,8 @@
 !
 
 extensionMethodNames
-    "lists the extension methods which are to be included in the project.
-     Entries are 2-element array literals, consisting of class-name and selector."
+    "list class/selector pairs of extensions.
+     A correponding method with real names must be present in my concrete subclasses"
 
     ^ #(
     )