stx_libtool2.st
changeset 3600 872b1d9a74f8
parent 3547 39a9f3340e58
child 3683 a1b642518b0b
equal deleted inserted replaced
3599:5b4499069510 3600:872b1d9a74f8
    68         #'stx:libview3'    "LineSegmentMorph - referenced by UIObjectView class>>isHorizontalResizable: "
    68         #'stx:libview3'    "LineSegmentMorph - referenced by UIObjectView class>>isHorizontalResizable: "
    69     )
    69     )
    70 !
    70 !
    71 
    71 
    72 mandatoryPreRequisites
    72 mandatoryPreRequisites
    73     "list all required mandatory packages.
    73     "list packages which are mandatory as a prerequisite.
    74      Packages are mandatory, if they contain superclasses of the package's classes
    74      This are packages containing superclasses of my classes and classes which
    75      or classes which are extended by this package.
    75      are extended by myself.
    76      This list can be maintained manually or (better) generated and
    76      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    77      updated by scanning the superclass hierarchies
    77      This method is generated automatically,
    78      (the browser has a menu function for that)
    78      by searching along the inheritance chain of all of my classes.
    79      However, often too much is found, and you may want to explicitely
    79      Please take a look at the #referencedPreRequisites method as well."
    80      exclude individual packages in the #excludedFromPreRequisites method."
    80 
    81 
    81     ^ #(
    82     ^ #(
    82         #'stx:libbasic'    "Array - superclass of DataSetBuilder::Row"
    83         #'stx:libbasic'    "Array - superclass of DataSetBuilder::Row "
    83         #'stx:libview'    "DisplaySurface - superclass of UIGalleryView"
    84         #'stx:libview'    "GraphicsContext - superclass of UIGalleryView::Palette "
    84         #'stx:libview2'    "ActiveHelp - superclass of FlyByWindowInformation"
    85         #'stx:libview2'    "ResourceSpecEditor - superclass of TabListEditor "
    85         #'stx:libwidg'    "ListView - superclass of UIPainter::TreeView"
    86         #'stx:libwidg'    "ListView - superclass of UIPainter::TreeView "
    86         #'stx:libwidg2'    "AbstractHierarchicalItem - superclass of MenuEditor::ActionItem"
    87         #'stx:libwidg2'    "HierarchicalItem - superclass of MenuEditor::RegularMenuItem "
       
    88     )
    87     )
    89 !
    88 !
    90 
    89 
    91 referencedPreRequisites
    90 referencedPreRequisites
    92     "list all packages containing classes referenced by the packages's members.
    91     "list packages which are a prerequisite, because they contain
    93      This list can be maintained manually or (better) generated and
    92      classes which are referenced by my classes.
    94      updated by looking for global variable accesses
    93      These packages are NOT needed as a prerequisite for compiling or loading,
    95      (the browser has a menu function for that)
    94      however, a class from it may be referenced during execution and having it
    96      However, often too much is found, and you may want to explicitely
    95      unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
    97      exclude individual packages in the #excludedFromPreRequisites method."
    96      includes explicit checks for the package being present.
    98 
    97      This method is generated automatically,
    99     ^ #(
    98      by searching all classes (and their packages) which are referenced by my classes.
   100         #'stx:libbasic2'    "TextStream - referenced by Tools::ProjectBuilder>>build "
    99      Please also take a look at the #mandatoryPreRequisites method"
   101         #'stx:libbasic3'    "CVSSourceCodeManager - referenced by Tools::ObjectModuleInformation>>showInfoForClassLib: "
   100 
   102         #'stx:libcomp'    "ObjectFileLoader - referenced by Tools::ObjectModuleInformation>>postBuildWith: "
   101     ^ #(
   103         #'stx:libhtml'    "HTMLDocumentView - referenced by MethodFinderWindow>>openHTMLDocumentation "
   102         #'stx:goodies/refactoryBrowser/parser'    "ParseTreeSearcher - referenced by Tools::InternationalLanguageTranslationEditor>>extractTranslationsFromHelpSpecMethod:"
   104         #'stx:libtool'    "SmalltalkCodeGeneratorTool - referenced by MenuEditor>>doGenerateAspectMethods "
   103         #'stx:libbasic2'    "ActorStream - referenced by Tools::ProjectBuilder>>buildWithColorizedOutputTo:"
   105         #'stx:libui'    "HorizontalPanelViewSpec - referenced by UIPainterView>>groupSelectionWithLayout: "
   104         #'stx:libbasic3'    "AbstractSourceCodeManager - referenced by Tools::ProjectBuilderAssistantApplication>>checkSourceCodeManagerType"
       
   105         #'stx:libcomp'    "ObjectFileLoader - referenced by Tools::ObjectModuleInformation>>postBuildWith:"
       
   106         #'stx:libhtml'    "HTMLDocumentView - referenced by MethodFinderWindow>>openHTMLDocumentation"
       
   107         #'stx:libtool'    "AbstractLauncherApplication - referenced by Tools::ObjectModuleInformation>>loadPackage"
       
   108         #'stx:libui'    "DataSetColumnSpec - referenced by DataSetBuilder>>columns:"
       
   109     )
       
   110 !
       
   111 
       
   112 subProjects
       
   113     "list packages which are known as subprojects.
       
   114      The generated makefile will enter those and make there as well.
       
   115      However: they are not forced to be loaded when a package is loaded;
       
   116      for those, redefine #referencedPrerequisites or #mandatoryPreRequisites."
       
   117 
       
   118     ^ #(
   106     )
   119     )
   107 ! !
   120 ! !
   108 
   121 
   109 !stx_libtool2 class methodsFor:'description - compilation'!
   122 !stx_libtool2 class methodsFor:'description - compilation'!
   110 
   123 
   134         "<className> or (<className> attributes...) in load order"
   147         "<className> or (<className> attributes...) in load order"
   135         ColorEditDialog
   148         ColorEditDialog
   136         DataSetBuilder
   149         DataSetBuilder
   137         DirectoryView
   150         DirectoryView
   138         FlyByWindowInformation
   151         FlyByWindowInformation
   139         (HierarchicalListEditor autoload)
       
   140         ImageEditor
   152         ImageEditor
   141         MenuEditor
   153         MenuEditor
   142         MethodFinderWindow
   154         MethodFinderWindow
   143         (MethodSelectionBrowser autoload)
       
   144         (ProjectBrowser autoload)
       
   145         (STXInstaller autoload)
       
   146         SelectionBrowser
   155         SelectionBrowser
   147         (ShellView autoload)
       
   148         (SnapShotImage autoload)
       
   149         (SnapShotImageMemory autoload)
       
   150         TabListEditor
   156         TabListEditor
   151         (#'Tools::InternationalLanguageTranslationEditor' autoload)
   157         #'Tools::InternationalLanguageTranslationEditor'
   152         (#'Tools::NewInspectorList' autoload)
       
   153         (#'Tools::NewInspectorListView' autoload)
       
   154         (#'Tools::NewInspectorPanelView' autoload)
       
   155         (#'Tools::NewInspectorView' autoload)
       
   156         #'Tools::ObjectModuleInformation'
   158         #'Tools::ObjectModuleInformation'
   157         #'Tools::ProjectBuilder'
   159         #'Tools::ProjectBuilder'
   158         #'Tools::ProjectBuilderAssistantApplication'
   160         #'Tools::ProjectBuilderAssistantApplication'
   159         (#'Tools::ProjectDefinitionEditor' autoload)
       
   160         (#'Tools::ViewTreeInspectorApplication' autoload)
       
   161         UIGalleryView
   161         UIGalleryView
   162         UIHelpTool
   162         UIHelpTool
   163         UILayoutTool
   163         UILayoutTool
   164         UIListEditor
   164         UIListEditor
   165         UIObjectView
   165         UIObjectView
   168         UISpecificationTool
   168         UISpecificationTool
   169         #'stx_libtool2'
   169         #'stx_libtool2'
   170         FileSelectionBrowser
   170         FileSelectionBrowser
   171         ResourceSelectionBrowser
   171         ResourceSelectionBrowser
   172         UIPainterView
   172         UIPainterView
       
   173         (HierarchicalListEditor autoload)
       
   174         (MethodSelectionBrowser autoload)
       
   175         (ProjectBrowser autoload)
       
   176         (STXInstaller autoload)
       
   177         (ShellView autoload)
       
   178         (SnapShotImage autoload)
       
   179         (SnapShotImageMemory autoload)
       
   180         (#'Tools::NewInspectorList' autoload)
       
   181         (#'Tools::NewInspectorListView' autoload)
       
   182         (#'Tools::NewInspectorPanelView' autoload)
       
   183         (#'Tools::NewInspectorView' autoload)
       
   184         (#'Tools::ProjectDefinitionEditor' autoload)
       
   185         (#'Tools::ViewTreeInspectorApplication' autoload)
   173     )
   186     )
   174 !
   187 !
   175 
   188 
   176 extensionMethodNames
   189 extensionMethodNames
   177     "lists the extension methods which are to be included in the project.
   190     "lists the extension methods which are to be included in the project.
   178      Entries are pairwise elements, consisting of class-name and selector."
   191      Entries are 2-element array literals, consisting of class-name and selector.
       
   192      A correponding method with real names must be present in my concrete subclasses
       
   193      if it has extensions."
   179 
   194 
   180     ^ #(
   195     ^ #(
   181         Image edit
   196         Image edit
   182     )
   197     )
   183 ! !
   198 ! !