stx_libwidg.st
changeset 6540 f16a4870c7c8
parent 6422 e4e23dbbb276
child 6629 ba8fdce25504
equal deleted inserted replaced
6539:11056d07f893 6540:f16a4870c7c8
    84         #'stx:libwidg2'    "FilenameEditField - referenced by DialogBox>>addFilenameInputFieldOn:in:tabable: "
    84         #'stx:libwidg2'    "FilenameEditField - referenced by DialogBox>>addFilenameInputFieldOn:in:tabable: "
    85     )
    85     )
    86 !
    86 !
    87 
    87 
    88 mandatoryPreRequisites
    88 mandatoryPreRequisites
    89     "list all required mandatory packages.
    89     "list packages which are mandatory as a prerequisite.
    90      Packages are mandatory, if they contain superclasses of the package's classes
    90      This are packages containing superclasses of my classes and classes which
    91      or classes which are extended by this package.
    91      are extended by myself.
    92      This list can be maintained manually or (better) generated and
    92      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    93      updated by scanning the superclass hierarchies
    93      This method is generated automatically,
    94      (the browser has a menu function for that)"
    94      by searching along the inheritance chain of all of my classes.
    95 
    95      Please take a look at the #referencedPreRequisites method as well."
    96     ^ #(
    96 
    97         #'stx:libbasic'    "Autoload - superclass of ListViewController "
    97     ^ #(
    98         #'stx:libview'    "Controller - superclass of ButtonController "
    98         #'stx:libbasic'    "Behavior - extended"
    99         #'stx:libview2'    "Model - superclass of MultiSelectionInList "
    99         #'stx:libview'    "Controller - superclass of ButtonController"
       
   100         #'stx:libview2'    "Model - superclass of MultiSelectionInList"
   100     )
   101     )
   101 !
   102 !
   102 
   103 
   103 referencedPreRequisites
   104 referencedPreRequisites
   104     "list all packages containing classes referenced by the packages's members.
   105     "list packages which are a prerequisite, because they contain
   105      This list can be maintained manually or (better) generated and
   106      classes which are referenced by my classes.
   106      updated by looking for global variable accesses
   107      These packages are NOT needed as a prerequisite for compiling or loading,
   107      (the browser has a menu function for that)
   108      however, a class from it may be referenced during execution and having it
   108      However, often too much is found, and you may want to explicitely
   109      unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
   109      exclude individual packages in the #excludedFromPreRequisites method."
   110      includes explicit checks for the package being present.
   110 
   111      This method is generated automatically,
   111     ^ #(
   112      by searching all classes (and their packages) which are referenced by my classes.
   112         #'stx:libbasic2'    "ActorStream - referenced by TextCollector>>initialize "
   113      Please also take a look at the #mandatoryPreRequisites method"
   113         #'stx:libbasic3'    "MessageTally - referenced by Workspace>>spyOnIt "
   114 
   114         #'stx:libui'    "ActionButtonSpec - referenced by Button>>specClass "
   115     ^ #(
       
   116         #'stx:goodies/regex'    "Regex::RxMatcher - referenced by TextView>>openSearchBoxAndSearchWithReplaceChecked:"
       
   117         #'stx:libbasic2'    "ActorStream - referenced by TextCollector>>initialize"
       
   118         #'stx:libbasic3'    "MessageTally - referenced by Workspace>>spyOnIt"
       
   119         #'stx:libui'    "ActionButtonSpec - referenced by Button>>specClass"
   115     )
   120     )
   116 !
   121 !
   117 
   122 
   118 subProjects
   123 subProjects
   119     "list packages which are known as subprojects.
   124     "list packages which are known as subprojects.
   235     )
   240     )
   236 !
   241 !
   237 
   242 
   238 extensionMethodNames
   243 extensionMethodNames
   239     "lists the extension methods which are to be included in the project.
   244     "lists the extension methods which are to be included in the project.
   240      Entries are 2-element array literals, consisting of class-name and selector."
   245      Entries are 2-element array literals, consisting of class-name and selector.
   241 
   246      A correponding method with real names must be present in my concrete subclasses
   242     ^ #(
   247      if it has extensions."
       
   248 
       
   249     ^ #(
       
   250         Class defaultIconForAboutBox
   243     )
   251     )
   244 ! !
   252 ! !
   245 
   253 
   246 !stx_libwidg class methodsFor:'description - project information'!
   254 !stx_libwidg class methodsFor:'description - project information'!
   247 
   255