stx_libtool2.st
author Claus Gittinger <cg@exept.de>
Tue, 14 May 2019 09:46:21 +0200
changeset 3663 9d49ecf8661a
parent 3600 872b1d9a74f8
child 3683 a1b642518b0b
permissions -rw-r--r--
#UI_ENHANCEMENT by cg
class: TabListEditor class
changed:
#canvasSpec
#menu
#windowSpec
     1 "
     2  COPYRIGHT (c) 1988 by Claus Gittinger / 2006 by eXept Software AG
     3               All Rights Reserved
     4 
     5  This software is furnished under a license and may be used
     6  only in accordance with the terms of that license and with the
     7  inclusion of the above copyright notice.   This software may not
     8  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    11 "
    12 "{ Package: 'stx:libtool2' }"
    13 
    14 "{ NameSpace: Smalltalk }"
    15 
    16 LibraryDefinition subclass:#stx_libtool2
    17 	instanceVariableNames:''
    18 	classVariableNames:''
    19 	poolDictionaries:''
    20 	category:'* Projects & Packages *'
    21 !
    22 
    23 !stx_libtool2 class methodsFor:'documentation'!
    24 
    25 copyright
    26 "
    27  COPYRIGHT (c) 1988 by Claus Gittinger / 2006 by eXept Software AG
    28               All Rights Reserved
    29 
    30  This software is furnished under a license and may be used
    31  only in accordance with the terms of that license and with the
    32  inclusion of the above copyright notice.   This software may not
    33  be provided or otherwise made available to, or used by, any
    34  other person.  No title to or ownership of the software is
    35  hereby transferred.
    36 "
    37 !
    38 
    39 documentation
    40 "
    41     Package documentation:
    42 
    43     This library contains additional advanced ST/X development tools.
    44     This includes new improved browser, additional analysis, monitoring and profiling tools,
    45     UI builders, better inspector, better filebrowser etc.
    46 
    47     Typically, these tools are not needed in end-user (standAlone) applications.
    48 
    49     [author:]
    50         cg
    51 
    52     [primary maintainer:]
    53         cg
    54 "
    55 ! !
    56 
    57 !stx_libtool2 class methodsFor:'description'!
    58 
    59 excludedFromPreRequisites
    60     "list all packages which should be ignored in the automatic
    61      preRequisites scan. See #preRequisites for more."
    62 
    63     ^ #(
    64         #'stx:clients/Demos'    "WindowTreeView - referenced by FlyByWindowInformation>>keyPress:x:y:view: "
    65         #'stx:goodies/webServer'    "HTTPServer - referenced by UIPainter>>doInstallAsWebPage "
    66         #'exept:httpPortal'    "WebApplicationModel - referenced by UIPainter>>canInstallAsWebPage "
    67         #'stx:goodies/communication'    "HTTPInterface - referenced by ImageEditor>>doLoadFromURL "
    68         #'stx:libview3'    "LineSegmentMorph - referenced by UIObjectView class>>isHorizontalResizable: "
    69     )
    70 !
    71 
    72 mandatoryPreRequisites
    73     "list packages which are mandatory as a prerequisite.
    74      This are packages containing superclasses of my classes and classes which
    75      are extended by myself.
    76      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    77      This method is generated automatically,
    78      by searching along the inheritance chain of all of my classes.
    79      Please take a look at the #referencedPreRequisites method as well."
    80 
    81     ^ #(
    82         #'stx:libbasic'    "Array - superclass of DataSetBuilder::Row"
    83         #'stx:libview'    "DisplaySurface - superclass of UIGalleryView"
    84         #'stx:libview2'    "ActiveHelp - superclass of FlyByWindowInformation"
    85         #'stx:libwidg'    "ListView - superclass of UIPainter::TreeView"
    86         #'stx:libwidg2'    "AbstractHierarchicalItem - superclass of MenuEditor::ActionItem"
    87     )
    88 !
    89 
    90 referencedPreRequisites
    91     "list packages which are a prerequisite, because they contain
    92      classes which are referenced by my classes.
    93      These packages are NOT needed as a prerequisite for compiling or loading,
    94      however, a class from it may be referenced during execution and having it
    95      unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
    96      includes explicit checks for the package being present.
    97      This method is generated automatically,
    98      by searching all classes (and their packages) which are referenced by my classes.
    99      Please also take a look at the #mandatoryPreRequisites method"
   100 
   101     ^ #(
   102         #'stx:goodies/refactoryBrowser/parser'    "ParseTreeSearcher - referenced by Tools::InternationalLanguageTranslationEditor>>extractTranslationsFromHelpSpecMethod:"
   103         #'stx:libbasic2'    "ActorStream - referenced by Tools::ProjectBuilder>>buildWithColorizedOutputTo:"
   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     ^ #(
   119     )
   120 ! !
   121 
   122 !stx_libtool2 class methodsFor:'description - compilation'!
   123 
   124 additionalBaseAddressDefinition_bc_dot_mak
   125     "this is an optional definition, which (if present) may speed up the dll-loading a little
   126      on win32 systems."
   127 
   128     ^ '
   129 # see stdHeader_bc for LIBTOOL2_BASE
   130 LIB_BASE=$(LIBTOOL2_BASE)
   131 '
   132 !
   133 
   134 stcWarningOptions
   135     ^ '-warnNonStandard -warnUnused'
   136 ! !
   137 
   138 !stx_libtool2 class methodsFor:'description - contents'!
   139 
   140 classNamesAndAttributes
   141     "lists the classes which are to be included in the project.
   142      Each entry in the list may be: a single class-name (symbol),
   143      or an array-literal consisting of class name and attributes.
   144      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
   145 
   146     ^ #(
   147         "<className> or (<className> attributes...) in load order"
   148         ColorEditDialog
   149         DataSetBuilder
   150         DirectoryView
   151         FlyByWindowInformation
   152         ImageEditor
   153         MenuEditor
   154         MethodFinderWindow
   155         SelectionBrowser
   156         TabListEditor
   157         #'Tools::InternationalLanguageTranslationEditor'
   158         #'Tools::ObjectModuleInformation'
   159         #'Tools::ProjectBuilder'
   160         #'Tools::ProjectBuilderAssistantApplication'
   161         UIGalleryView
   162         UIHelpTool
   163         UILayoutTool
   164         UIListEditor
   165         UIObjectView
   166         UIPainter
   167         UISelectionPanel
   168         UISpecificationTool
   169         #'stx_libtool2'
   170         FileSelectionBrowser
   171         ResourceSelectionBrowser
   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)
   186     )
   187 !
   188 
   189 extensionMethodNames
   190     "lists the extension methods which are to be included in the project.
   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."
   194 
   195     ^ #(
   196         Image edit
   197     )
   198 ! !
   199 
   200 !stx_libtool2 class methodsFor:'description - project information'!
   201 
   202 companyName
   203     "Return a companyname which will appear in <lib>.rc"
   204 
   205     ^ 'Claus Gittinger / eXept Software AG'
   206 
   207     "Modified: / 18-11-2016 / 11:48:00 / cg"
   208 !
   209 
   210 description
   211     "Return a description string which will appear in nt.def / bc.def"
   212 
   213     ^ 'Smalltalk/X Additional Tools'
   214 !
   215 
   216 legalCopyright
   217     "Return a copyright string which will appear in <lib>.rc"
   218 
   219     ^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012'
   220 
   221     "Modified: / 18-11-2016 / 12:18:55 / cg"
   222 !
   223 
   224 productName
   225     "Return a product name which will appear in <lib>.rc"
   226 
   227     ^ 'Smalltalk/X'
   228 ! !
   229 
   230 !stx_libtool2 class methodsFor:'documentation'!
   231 
   232 version
   233     ^ '$Header$'
   234 !
   235 
   236 version_CVS
   237     ^ '$Header$'
   238 ! !
   239