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
cg@2071
     1
"
mawalch@3547
     2
 COPYRIGHT (c) 1988 by Claus Gittinger / 2006 by eXept Software AG
cg@3351
     3
              All Rights Reserved
cg@2071
     4
cg@2071
     5
 This software is furnished under a license and may be used
cg@2071
     6
 only in accordance with the terms of that license and with the
cg@2071
     7
 inclusion of the above copyright notice.   This software may not
cg@2071
     8
 be provided or otherwise made available to, or used by, any
cg@2071
     9
 other person.  No title to or ownership of the software is
cg@2071
    10
 hereby transferred.
cg@2071
    11
"
cg@2068
    12
"{ Package: 'stx:libtool2' }"
cg@2068
    13
cg@3177
    14
"{ NameSpace: Smalltalk }"
cg@3177
    15
cg@2068
    16
LibraryDefinition subclass:#stx_libtool2
cg@2381
    17
	instanceVariableNames:''
cg@2381
    18
	classVariableNames:''
cg@2381
    19
	poolDictionaries:''
cg@2381
    20
	category:'* Projects & Packages *'
cg@2068
    21
!
cg@2068
    22
cg@2071
    23
!stx_libtool2 class methodsFor:'documentation'!
cg@2071
    24
cg@2071
    25
copyright
cg@2071
    26
"
mawalch@3547
    27
 COPYRIGHT (c) 1988 by Claus Gittinger / 2006 by eXept Software AG
cg@3351
    28
              All Rights Reserved
cg@2071
    29
cg@2071
    30
 This software is furnished under a license and may be used
cg@2071
    31
 only in accordance with the terms of that license and with the
cg@2071
    32
 inclusion of the above copyright notice.   This software may not
cg@2071
    33
 be provided or otherwise made available to, or used by, any
cg@2071
    34
 other person.  No title to or ownership of the software is
cg@2071
    35
 hereby transferred.
cg@2071
    36
"
cg@2071
    37
!
cg@2071
    38
cg@2071
    39
documentation
cg@2071
    40
"
cg@3177
    41
    Package documentation:
cg@3177
    42
cg@3190
    43
    This library contains additional advanced ST/X development tools.
mawalch@3547
    44
    This includes new improved browser, additional analysis, monitoring and profiling tools,
cg@3503
    45
    UI builders, better inspector, better filebrowser etc.
cg@3190
    46
mawalch@3547
    47
    Typically, these tools are not needed in end-user (standAlone) applications.
cg@3504
    48
cg@3504
    49
    [author:]
cg@3504
    50
        cg
cg@3504
    51
cg@3504
    52
    [primary maintainer:]
cg@3504
    53
        cg
cg@2071
    54
"
cg@2071
    55
! !
cg@2068
    56
boris@2145
    57
!stx_libtool2 class methodsFor:'description'!
boris@2145
    58
sv@2172
    59
excludedFromPreRequisites
sv@2786
    60
    "list all packages which should be ignored in the automatic
sv@2786
    61
     preRequisites scan. See #preRequisites for more."
sv@2786
    62
sv@2172
    63
    ^ #(
sv@2786
    64
        #'stx:clients/Demos'    "WindowTreeView - referenced by FlyByWindowInformation>>keyPress:x:y:view: "
sv@2786
    65
        #'stx:goodies/webServer'    "HTTPServer - referenced by UIPainter>>doInstallAsWebPage "
sv@2966
    66
        #'exept:httpPortal'    "WebApplicationModel - referenced by UIPainter>>canInstallAsWebPage "
sv@2966
    67
        #'stx:goodies/communication'    "HTTPInterface - referenced by ImageEditor>>doLoadFromURL "
sv@3154
    68
        #'stx:libview3'    "LineSegmentMorph - referenced by UIObjectView class>>isHorizontalResizable: "
sv@2172
    69
    )
sv@2172
    70
!
sv@2172
    71
sv@2966
    72
mandatoryPreRequisites
cg@3600
    73
    "list packages which are mandatory as a prerequisite.
cg@3600
    74
     This are packages containing superclasses of my classes and classes which
cg@3600
    75
     are extended by myself.
cg@3600
    76
     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
cg@3600
    77
     This method is generated automatically,
cg@3600
    78
     by searching along the inheritance chain of all of my classes.
cg@3600
    79
     Please take a look at the #referencedPreRequisites method as well."
sv@2786
    80
boris@2145
    81
    ^ #(
cg@3600
    82
        #'stx:libbasic'    "Array - superclass of DataSetBuilder::Row"
cg@3600
    83
        #'stx:libview'    "DisplaySurface - superclass of UIGalleryView"
cg@3600
    84
        #'stx:libview2'    "ActiveHelp - superclass of FlyByWindowInformation"
cg@3600
    85
        #'stx:libwidg'    "ListView - superclass of UIPainter::TreeView"
cg@3600
    86
        #'stx:libwidg2'    "AbstractHierarchicalItem - superclass of MenuEditor::ActionItem"
sv@2966
    87
    )
sv@2966
    88
!
sv@2966
    89
sv@2966
    90
referencedPreRequisites
cg@3600
    91
    "list packages which are a prerequisite, because they contain
cg@3600
    92
     classes which are referenced by my classes.
cg@3600
    93
     These packages are NOT needed as a prerequisite for compiling or loading,
cg@3600
    94
     however, a class from it may be referenced during execution and having it
cg@3600
    95
     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
cg@3600
    96
     includes explicit checks for the package being present.
cg@3600
    97
     This method is generated automatically,
cg@3600
    98
     by searching all classes (and their packages) which are referenced by my classes.
cg@3600
    99
     Please also take a look at the #mandatoryPreRequisites method"
sv@2966
   100
sv@2966
   101
    ^ #(
cg@3600
   102
        #'stx:goodies/refactoryBrowser/parser'    "ParseTreeSearcher - referenced by Tools::InternationalLanguageTranslationEditor>>extractTranslationsFromHelpSpecMethod:"
cg@3600
   103
        #'stx:libbasic2'    "ActorStream - referenced by Tools::ProjectBuilder>>buildWithColorizedOutputTo:"
cg@3600
   104
        #'stx:libbasic3'    "AbstractSourceCodeManager - referenced by Tools::ProjectBuilderAssistantApplication>>checkSourceCodeManagerType"
cg@3600
   105
        #'stx:libcomp'    "ObjectFileLoader - referenced by Tools::ObjectModuleInformation>>postBuildWith:"
cg@3600
   106
        #'stx:libhtml'    "HTMLDocumentView - referenced by MethodFinderWindow>>openHTMLDocumentation"
cg@3600
   107
        #'stx:libtool'    "AbstractLauncherApplication - referenced by Tools::ObjectModuleInformation>>loadPackage"
cg@3600
   108
        #'stx:libui'    "DataSetColumnSpec - referenced by DataSetBuilder>>columns:"
cg@3600
   109
    )
cg@3600
   110
!
cg@3600
   111
cg@3600
   112
subProjects
cg@3600
   113
    "list packages which are known as subprojects.
cg@3600
   114
     The generated makefile will enter those and make there as well.
cg@3600
   115
     However: they are not forced to be loaded when a package is loaded;
cg@3600
   116
     for those, redefine #referencedPrerequisites or #mandatoryPreRequisites."
cg@3600
   117
cg@3600
   118
    ^ #(
boris@2145
   119
    )
boris@2145
   120
! !
boris@2145
   121
cg@2068
   122
!stx_libtool2 class methodsFor:'description - compilation'!
cg@2068
   123
cg@2577
   124
additionalBaseAddressDefinition_bc_dot_mak
cg@2577
   125
    "this is an optional definition, which (if present) may speed up the dll-loading a little
cg@2577
   126
     on win32 systems."
cg@2577
   127
cg@2068
   128
    ^ '
sv@2149
   129
# see stdHeader_bc for LIBTOOL2_BASE
cg@2577
   130
LIB_BASE=$(LIBTOOL2_BASE)
cg@2068
   131
'
cg@3163
   132
!
cg@3163
   133
cg@3163
   134
stcWarningOptions
cg@3163
   135
    ^ '-warnNonStandard -warnUnused'
cg@2068
   136
! !
cg@2068
   137
cg@2068
   138
!stx_libtool2 class methodsFor:'description - contents'!
cg@2068
   139
cg@2068
   140
classNamesAndAttributes
cg@2755
   141
    "lists the classes which are to be included in the project.
cg@2755
   142
     Each entry in the list may be: a single class-name (symbol),
cg@2755
   143
     or an array-literal consisting of class name and attributes.
cg@2755
   144
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
cg@2755
   145
cg@2068
   146
    ^ #(
cg@2643
   147
        "<className> or (<className> attributes...) in load order"
cg@2643
   148
        ColorEditDialog
cg@2643
   149
        DataSetBuilder
cg@2806
   150
        DirectoryView
sv@2786
   151
        FlyByWindowInformation
cg@2643
   152
        ImageEditor
cg@2643
   153
        MenuEditor
cg@2738
   154
        MethodFinderWindow
cg@2643
   155
        SelectionBrowser
cg@2643
   156
        TabListEditor
cg@3600
   157
        #'Tools::InternationalLanguageTranslationEditor'
sv@2786
   158
        #'Tools::ObjectModuleInformation'
sv@2786
   159
        #'Tools::ProjectBuilder'
sv@2786
   160
        #'Tools::ProjectBuilderAssistantApplication'
cg@2643
   161
        UIGalleryView
cg@2643
   162
        UIHelpTool
cg@2643
   163
        UILayoutTool
sv@2786
   164
        UIListEditor
cg@2643
   165
        UIObjectView
cg@2643
   166
        UIPainter
cg@2643
   167
        UISelectionPanel
cg@2643
   168
        UISpecificationTool
cg@2643
   169
        #'stx_libtool2'
cg@2643
   170
        FileSelectionBrowser
cg@2643
   171
        ResourceSelectionBrowser
cg@2643
   172
        UIPainterView
cg@3600
   173
        (HierarchicalListEditor autoload)
cg@3600
   174
        (MethodSelectionBrowser autoload)
cg@3600
   175
        (ProjectBrowser autoload)
cg@3600
   176
        (STXInstaller autoload)
cg@3600
   177
        (ShellView autoload)
cg@3600
   178
        (SnapShotImage autoload)
cg@3600
   179
        (SnapShotImageMemory autoload)
cg@3600
   180
        (#'Tools::NewInspectorList' autoload)
cg@3600
   181
        (#'Tools::NewInspectorListView' autoload)
cg@3600
   182
        (#'Tools::NewInspectorPanelView' autoload)
cg@3600
   183
        (#'Tools::NewInspectorView' autoload)
cg@3600
   184
        (#'Tools::ProjectDefinitionEditor' autoload)
cg@3600
   185
        (#'Tools::ViewTreeInspectorApplication' autoload)
cg@2068
   186
    )
cg@2068
   187
!
cg@2068
   188
cg@2068
   189
extensionMethodNames
sv@2786
   190
    "lists the extension methods which are to be included in the project.
cg@3600
   191
     Entries are 2-element array literals, consisting of class-name and selector.
cg@3600
   192
     A correponding method with real names must be present in my concrete subclasses
cg@3600
   193
     if it has extensions."
sv@2786
   194
cg@2068
   195
    ^ #(
cg@3208
   196
        Image edit
cg@2068
   197
    )
cg@2068
   198
! !
cg@2068
   199
cg@2068
   200
!stx_libtool2 class methodsFor:'description - project information'!
cg@2068
   201
cg@2068
   202
companyName
cg@2068
   203
    "Return a companyname which will appear in <lib>.rc"
cg@2068
   204
cg@3350
   205
    ^ 'Claus Gittinger / eXept Software AG'
cg@3350
   206
cg@3350
   207
    "Modified: / 18-11-2016 / 11:48:00 / cg"
cg@2068
   208
!
cg@2068
   209
cg@2068
   210
description
cg@2068
   211
    "Return a description string which will appear in nt.def / bc.def"
cg@2068
   212
cg@2474
   213
    ^ 'Smalltalk/X Additional Tools'
cg@2068
   214
!
cg@2068
   215
cg@2068
   216
legalCopyright
cg@2068
   217
    "Return a copyright string which will appear in <lib>.rc"
cg@2068
   218
cg@3352
   219
    ^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012'
cg@2194
   220
cg@3352
   221
    "Modified: / 18-11-2016 / 12:18:55 / cg"
sv@2966
   222
!
sv@2966
   223
sv@2966
   224
productName
sv@2966
   225
    "Return a product name which will appear in <lib>.rc"
sv@2966
   226
sv@2966
   227
    ^ 'Smalltalk/X'
cg@2068
   228
! !
cg@2068
   229
cg@2068
   230
!stx_libtool2 class methodsFor:'documentation'!
cg@2068
   231
cg@2068
   232
version
cg@2068
   233
    ^ '$Header$'
cg@2610
   234
!
cg@2610
   235
cg@2610
   236
version_CVS
cg@2610
   237
    ^ '$Header$'
cg@2068
   238
! !
sv@2966
   239