diff -r c5fb4803235f -r 8f522043f93d stx_libtool2.st --- a/stx_libtool2.st Tue May 11 17:57:43 2010 +0200 +++ b/stx_libtool2.st Tue May 11 17:57:45 2010 +0200 @@ -44,21 +44,35 @@ !stx_libtool2 class methodsFor:'description'! excludedFromPreRequisites + "list all packages which should be ignored in the automatic + preRequisites scan. See #preRequisites for more." + ^ #( - #'stx:libhtml' "HTMLDocumentView - referenced by UIPainter>>doOpenWidgetDocumentation " + #'stx:clients/Demos' "WindowTreeView - referenced by FlyByWindowInformation>>keyPress:x:y:view: " + #'stx:goodies/webServer' "HTTPServer - referenced by UIPainter>>doInstallAsWebPage " ) ! preRequisites + "list all required packages. + This list can be maintained manually or (better) generated and + updated by scanning the superclass hierarchies and looking for + global variable accesses. (the browser has a menu function for that) + Howevery, often too much is found, and you may want to explicitely + exclude individual packages in the #excludedFromPrerequisites method." + ^ #( - #'stx:libbasic' "Object - superclass of UIPainter::TreeView " - #'stx:libbasic2' "List - referenced by DataSetBuilder>>updateColumnView " - #'stx:libtool' "SystemBrowser - referenced by ResourceSelectionBrowser::ResourceMethod>>iconOn: " - #'stx:libui' "SpecCollection - referenced by UIPainterView>>fullSpecFor: " - #'stx:libview' "SimpleView - superclass of UIObjectView " - #'stx:libview2' "Model - superclass of UILayoutTool::Point " - #'stx:libwidg' "ObjectView - superclass of UIPainterView " - #'stx:libwidg2' "HierarchicalItem - superclass of MenuEditor::Item " + #'stx:libbasic' "Autoload - superclass of Tools::NewInspectorPanelView " + #'stx:libbasic2' "List - referenced by DataSetBuilder>>updateColumnView " + #'stx:libbasic3' "MethodFinder - referenced by MethodFinderWindow>>search " + #'stx:libcomp' "ParserFlags - referenced by Tools::ProjectBuilder>>makeWithOutputTo:errorTo: " + #'stx:libtool' "CodeGeneratorTool - referenced by Tools::ProjectBuilderAssistantApplication>>createNewApplication " + #'stx:libui' "UISpecification - referenced by UIGalleryView::Palette>>specification: " + #'stx:libview' "SimpleView - superclass of UIObjectView " + #'stx:libview2' "ApplicationModel - superclass of UISelectionPanel " + #'stx:libview3' "LineSegmentMorph - referenced by UIObjectView class>>handlesOf:do: " + #'stx:libwidg' "ObjectView - superclass of UIPainterView " + #'stx:libwidg2' "HierarchicalItem - superclass of UIHelpTool::ClassItem " ) ! ! @@ -87,15 +101,12 @@ ColorEditDialog DataSetBuilder (DirectoryView autoload) + FlyByWindowInformation (HierarchicalListEditor autoload) ImageEditor MenuEditor MethodFinderWindow (MethodSelectionBrowser autoload) - (#'Tools::NewInspectorList' autoload) - (#'Tools::NewInspectorListView' autoload) - (#'Tools::NewInspectorPanelView' autoload) - (#'Tools::NewInspectorView' autoload) (ProjectBrowser autoload) (STXInstaller autoload) SelectionBrowser @@ -104,10 +115,19 @@ (SnapShotImageMemory autoload) TabListEditor (#'Tools::InternationalLanguageTranslationEditor' autoload) + (#'Tools::NewInspectorList' autoload) + (#'Tools::NewInspectorListView' autoload) + (#'Tools::NewInspectorPanelView' autoload) + (#'Tools::NewInspectorView' autoload) + #'Tools::ObjectModuleInformation' + #'Tools::ProjectBuilder' + #'Tools::ProjectBuilderAssistantApplication' (#'Tools::ProjectDefinitionEditor' autoload) + (#'Tools::ViewTreeInspectorApplication' autoload) UIGalleryView UIHelpTool UILayoutTool + UIListEditor UIObjectView UIPainter UISelectionPanel @@ -116,16 +136,13 @@ FileSelectionBrowser ResourceSelectionBrowser UIPainterView - (#'Tools::ViewTreeInspectorApplication' autoload) - (#'Tools::ObjectModuleInformation' autoload) - FlyByWindowInformation - UIListEditor - #'Tools::ProjectBuilder' - #'Tools::ProjectBuilderAssistantApplication' ) ! 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." + ^ #( ) ! !