stx_libwidg2.st
changeset 4915 f672aae7a7ac
parent 4865 eebc2638f2a7
child 4930 7a6e813d8d17
child 5251 4298cac3a4c0
equal deleted inserted replaced
4914:4073c9f0d180 4915:f672aae7a7ac
    70         #'stx:libtool2'    "ImageEditor - referenced by ImageEditView class>>classResources "
    70         #'stx:libtool2'    "ImageEditor - referenced by ImageEditView class>>classResources "
    71         #'stx:libwidg3'    "ClockView - referenced by TabItem class>>test "
    71         #'stx:libwidg3'    "ClockView - referenced by TabItem class>>test "
    72         #'stx:goodies/refactoryBrowser/parser'    "RBParser - referenced by DoWhatIMeanSupport class>>findNodeForInterval:in: "
    72         #'stx:goodies/refactoryBrowser/parser'    "RBParser - referenced by DoWhatIMeanSupport class>>findNodeForInterval:in: "
    73         #'stx:libcomp'    "Parser - referenced by DoWhatIMeanSupport class>>codeCompletionForMessage:inClass:codeView: "
    73         #'stx:libcomp'    "Parser - referenced by DoWhatIMeanSupport class>>codeCompletionForMessage:inClass:codeView: "
    74         #'stx:libhtml'    "HTMLDocumentView - referenced by LicenceBox>>initialize "
    74         #'stx:libhtml'    "HTMLDocumentView - referenced by LicenceBox>>initialize "
       
    75         #'stx:goodies/refactoryBrowser/browser'    "RefactoryTyper - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:"
       
    76         #'stx:libboss'    "ObsoleteObject - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:"
    75     )
    77     )
    76 !
    78 !
    77 
    79 
    78 mandatoryPreRequisites
    80 mandatoryPreRequisites
    79     "list all required mandatory packages.
    81     "list packages which are mandatory as a prerequisite.
    80      Packages are mandatory, if they contain superclasses of the package's classes
    82      This are packages containing superclasses of my classes and classes which
    81      or classes which are extended by this package.
    83      are extended by myself.
    82      This list can be maintained manually or (better) generated and
    84      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    83      updated by scanning the superclass hierarchies
    85      This method is generated automatically,
    84      (the browser has a menu function for that)
    86      by searching along the inheritance chain of all of my classes."
    85      However, often too much is found, and you may want to explicitely
    87 
    86      exclude individual packages in the #excludedFromPreRequisites method."
    88     ^ #(
    87 
    89         #'stx:libbasic'    "ActivityNotification - superclass of ProgressNotification"
    88     ^ #(
    90         #'stx:libbasic2'    "List - superclass of HierarchicalFileList"
    89         #'stx:libbasic'    "Notification - superclass of ProgressNotification "
    91         #'stx:libview'    "Controller - superclass of LinkButtonController"
    90         #'stx:libbasic2'    "List - superclass of HierarchicalList "
    92         #'stx:libview2'    "ApplicationModel - superclass of AssistantApplication"
    91         #'stx:libview'    "TopView - superclass of ExtendedComboBox::MenuWrapper "
    93         #'stx:libwidg'    "Button - superclass of ComboBoxButton"
    92         #'stx:libview2'    "ApplicationModel - superclass of PrintingDialog "
       
    93         #'stx:libwidg'    "ListView - superclass of FilenameEditField "
       
    94     )
    94     )
    95 !
    95 !
    96 
    96 
    97 referencedPreRequisites
    97 referencedPreRequisites
    98     "list all packages containing classes referenced by the packages's members.
    98     "list packages which are a prerequisite, because they contain
    99      This list can be maintained manually or (better) generated and
    99      classes which are referenced by my classes.
   100      updated by looking for global variable accesses
   100      We do not need these packages as a prerequisite for compiling or loading,
   101      (the browser has a menu function for that)
   101      however, a class from it may be referenced during execution and having it
   102      However, often too much is found, and you may want to explicitely
   102      unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
   103      exclude individual packages in the #excludedFromPreRequisites method."
   103      includes explicit checks for the package being present.
   104 
   104      This method is generated automatically,
   105     ^ #(
   105      by searching all classes (and their packages) which are referenced by my classes."
   106         #'stx:libui'    "DividerSpec - referenced by Separator>>specClass "
   106 
       
   107     ^ #(
       
   108         #'stx:libui'    "ComboBoxSpec - referenced by ComboBoxView>>specClass"
       
   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 requiredPrerequisites."
       
   117 
       
   118     ^ #(
   107     )
   119     )
   108 ! !
   120 ! !
   109 
   121 
   110 !stx_libwidg2 class methodsFor:'description - compilation'!
   122 !stx_libwidg2 class methodsFor:'description - compilation'!
   111 
   123 
   181         TabSpecRuler
   193         TabSpecRuler
   182         TabWidget
   194         TabWidget
   183         TabulatorSpecification
   195         TabulatorSpecification
   184         TerminalView
   196         TerminalView
   185         TextBox
   197         TextBox
       
   198         ThumbWheel
   186         TreeItem
   199         TreeItem
   187         UpDownButton
   200         UpDownButton
   188         ViewScroller
   201         ViewScroller
   189         #'stx_libwidg2'
   202         #'stx_libwidg2'
   190         ColorMenu
   203         ColorMenu
   245         (VerticalRuler autoload)
   258         (VerticalRuler autoload)
   246     )
   259     )
   247 !
   260 !
   248 
   261 
   249 extensionMethodNames
   262 extensionMethodNames
   250     "lists the extension methods which are to be included in the project.
   263     "list class/selector pairs of extensions.
   251      Entries are 2-element array literals, consisting of class-name and selector."
   264      A correponding method with real names must be present in my concrete subclasses"
   252 
   265 
   253     ^ #(
   266     ^ #(
   254     )
   267     )
   255 ! !
   268 ! !
   256 
   269