diff -r 17172bc64232 -r 6634b540fea2 stx_libwidg2.st --- a/stx_libwidg2.st Thu May 21 21:00:16 2015 +0100 +++ b/stx_libwidg2.st Thu May 21 21:14:57 2015 +0100 @@ -75,34 +75,48 @@ ! 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:goodies/refactoryBrowser/browser' "RefactoryTyper - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:" + #'stx:libboss' "ObsoleteObject - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:" + #'stx:libjava' "JavaLanguage - referenced by DoWhatIMeanSupport>>codeCompletionFor:language:method:orClass:context:codeView:into:" + #'stx:libjavascript' "JavaScriptCompletionEngine - referenced by DoWhatIMeanSupport>>codeCompletionForJavascriptMethod:orClass:context:codeView:into:" + #'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." + + ^ #( ) ! ! @@ -157,6 +171,7 @@ HierarchyNode ImageView LabelledEnterField + LicenceBox LinkButton LinkButtonController ListEntry @@ -200,6 +215,7 @@ ImageEditView ModelListEntry MultiColListEntry + PluggableHierarchicalList SelectionInListModelView TabView ThreeColumnTextView @@ -215,10 +231,6 @@ HierarchicalItemWithLabelAndIcon LabelAndTwoIcons HierarchicalItemWithLabelAndIconAndValue - (KeyboardView autoload) - (MenuButton autoload) - (StrokeView autoload) - (TabControl autoload) (ColoredListEntry autoload) (ComboBrowseView autoload) (ComboUpDownView autoload) @@ -231,7 +243,9 @@ (GraphColumnViewSpec autoload) (HorizontalScale autoload) (ImageSelectionBox autoload) + (KeyboardView autoload) (ListEditor autoload) + (MenuButton autoload) (MotionButton autoload) (NoteBookFrameView autoload) (ParagraphSpecification autoload) @@ -239,6 +253,8 @@ (Ruler autoload) (Scale autoload) (SelectionInHierarchyView autoload) + (StrokeView autoload) + (TabControl autoload) (TextRuler autoload) (VT52TerminalView autoload) (VerticalRuler autoload) @@ -246,8 +262,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" ^ #( ) @@ -296,5 +312,9 @@ version_CVS ^ '$Header: /cvs/stx/stx/libwidg2/stx_libwidg2.st,v 1.53 2015-05-01 14:41:51 cg Exp $' +! + +version_HG + ^ '$Changeset: $' ! !