stx_libwidg.st
author sr
Tue, 11 Jun 2019 11:47:16 +0200
changeset 6604 89a0c07bbba9
parent 6540 f16a4870c7c8
child 6629 ba8fdce25504
permissions -rw-r--r--
#BUGFIX by Stefan Reise fixed recursion when calling #showSelectedFont #updateFamilyList class: FontPanel added: #updateFamilyListAndDoShowSelectedFont: changed: #showSelectedFont #updateFamilyList
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3341
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
     1
"
5970
43fb3c842443 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5969
diff changeset
     2
 COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG
43fb3c842443 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5969
diff changeset
     3
              All Rights Reserved
3341
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
     4
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
     5
 This software is furnished under a license and may be used
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
     6
 only in accordance with the terms of that license and with the
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
     8
 be provided or otherwise made available to, or used by, any
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
     9
 other person.  No title to or ownership of the software is
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    10
 hereby transferred.
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    11
"
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libwidg' }"
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
5243
cbd28c5f47ea comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents: 5165
diff changeset
    14
"{ NameSpace: Smalltalk }"
cbd28c5f47ea comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents: 5165
diff changeset
    15
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
LibraryDefinition subclass:#stx_libwidg
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
3472
3754048433f7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3435
diff changeset
    20
	category:'* Projects & Packages *'
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
3341
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    23
!stx_libwidg class methodsFor:'documentation'!
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    24
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    25
copyright
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    26
"
5970
43fb3c842443 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5969
diff changeset
    27
 COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG
43fb3c842443 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5969
diff changeset
    28
              All Rights Reserved
3341
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    29
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    30
 This software is furnished under a license and may be used
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    31
 only in accordance with the terms of that license and with the
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    33
 be provided or otherwise made available to, or used by, any
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    34
 other person.  No title to or ownership of the software is
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    35
 hereby transferred.
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    36
"
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    37
!
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    38
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    39
documentation
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    40
"
5243
cbd28c5f47ea comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents: 5165
diff changeset
    41
    Package Documentation
cbd28c5f47ea comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents: 5165
diff changeset
    42
5275
ce7b9390336c class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 5272
diff changeset
    43
    This library contains elementary GUI components (widgets), such as Buttons, InputFields,
5243
cbd28c5f47ea comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents: 5165
diff changeset
    44
    TextEditors, Scrollbars etc.
5275
ce7b9390336c class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 5272
diff changeset
    45
5944
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    46
    All of these widgets are written in 100% pure Smalltalk. 
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    47
    They do not depend upon any particular underlying graphic system (by the operating system). 
5275
ce7b9390336c class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 5272
diff changeset
    48
    Instead, they build upon the abstraction layer as provided by libview.
5944
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    49
    Arguably, this has both advantages and disadvantages:
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    50
    for one, the ST/X widgets may not look&feel 100% like their native counterparts, especially
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    51
    on systems which constantly change (i.e. Windows).
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    52
    On the other hand, this frees us completely from any development there, 
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    53
    and gets us rid of big problems when looks, feels or even APIs change.
6234
1e296cf378d6 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6128
diff changeset
    54
    (btw.: and also makes us independent of any bugs found in those)
1e296cf378d6 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6128
diff changeset
    55
    
5944
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    56
    Just consider the following historic fact:
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    57
        when motif was modern, people asked for a native motif style...
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    58
        ... a few years later for qt, then gnome, and what next?
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    59
        We'd be constantly adapting to new frameworks and not get any work done,
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    60
        if we were depending on native widgets
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    61
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    62
    Also, this might even make problems, if widget frameorks on different systems 
185bccebb1ce #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 5501
diff changeset
    63
    (i.e. X vs. Windows vs. Cocoa) provide different levels of functionality.
6109
65b35d71953b #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 6046
diff changeset
    64
65b35d71953b #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 6046
diff changeset
    65
    [author:]
65b35d71953b #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 6046
diff changeset
    66
        cg
65b35d71953b #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 6046
diff changeset
    67
65b35d71953b #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 6046
diff changeset
    68
    [primary maintainer:]
65b35d71953b #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 6046
diff changeset
    69
        cg
3341
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    70
"
04b4a5a268e6 comments
Claus Gittinger <cg@exept.de>
parents: 3330
diff changeset
    71
! !
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
!stx_libwidg class methodsFor:'description'!
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
    75
excludedFromPreRequisites
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
    ^ #(
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    77
        #'stx:libjavascript'    "JavaScriptParser - referenced by Workspace>>browseImplementorsOfIt "
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    78
        #'stx:goodies/communication'    "HTTPInterface - referenced by EditTextView>>editMenu "
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    79
        #'stx:goodies/soap'    "SOAP::SoapImplError - referenced by EditTextView>>googleSpellingSuggestion "
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    80
        #'stx:goodies/soap/examples'    "SOAP::BabelFishClient - referenced by EditTextView>>babelFishTranslate: "
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    81
        #'stx:libcomp'    "Parser - referenced by EditTextView>>executeKeyboardMacro: "
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    82
        #'stx:libhtml'    "HTMLDocumentView - referenced by DialogBox>>addHelpButtonFor: "
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    83
        #'stx:libtool'    "SystemBrowser - referenced by Workspace>>browseImplementorsOfIt "
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    84
        #'stx:libwidg2'    "FilenameEditField - referenced by DialogBox>>addFilenameInputFieldOn:in:tabable: "
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
    )
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
!
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    88
mandatoryPreRequisites
6540
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    89
    "list packages which are mandatory as a prerequisite.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    90
     This are packages containing superclasses of my classes and classes which
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    91
     are extended by myself.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    92
     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    93
     This method is generated automatically,
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    94
     by searching along the inheritance chain of all of my classes.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    95
     Please take a look at the #referencedPreRequisites method as well."
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
    96
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
    ^ #(
6540
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    98
        #'stx:libbasic'    "Behavior - extended"
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
    99
        #'stx:libview'    "Controller - superclass of ButtonController"
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   100
        #'stx:libview2'    "Model - superclass of MultiSelectionInList"
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
    )
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   102
!
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   103
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   104
referencedPreRequisites
6540
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   105
    "list packages which are a prerequisite, because they contain
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   106
     classes which are referenced by my classes.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   107
     These packages are NOT needed as a prerequisite for compiling or loading,
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   108
     however, a class from it may be referenced during execution and having it
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   109
     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   110
     includes explicit checks for the package being present.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   111
     This method is generated automatically,
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   112
     by searching all classes (and their packages) which are referenced by my classes.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   113
     Please also take a look at the #mandatoryPreRequisites method"
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   114
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   115
    ^ #(
6540
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   116
        #'stx:goodies/regex'    "Regex::RxMatcher - referenced by TextView>>openSearchBoxAndSearchWithReplaceChecked:"
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   117
        #'stx:libbasic2'    "ActorStream - referenced by TextCollector>>initialize"
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   118
        #'stx:libbasic3'    "MessageTally - referenced by Workspace>>spyOnIt"
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   119
        #'stx:libui'    "ActionButtonSpec - referenced by Button>>specClass"
4663
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   120
    )
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   121
!
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   122
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   123
subProjects
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   124
    "list packages which are known as subprojects.
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   125
     The generated makefile will enter those and make there as well.
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   126
     However: they are not forced to be loaded when a package is loaded;
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   127
     for those, redefine requiredPrerequisites"
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   128
cd4d1a3e58b3 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4532
diff changeset
   129
    ^ #(
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   130
    )
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   131
! !
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   132
3351
df60a6248d21 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3342
diff changeset
   133
!stx_libwidg class methodsFor:'description - compilation'!
df60a6248d21 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3342
diff changeset
   134
3922
257d62c0b29b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3826
diff changeset
   135
additionalBaseAddressDefinition_bc_dot_mak
257d62c0b29b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3826
diff changeset
   136
    "this is an optional definition, which (if present) may speed up the dll-loading a little
257d62c0b29b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3826
diff changeset
   137
     on win32 systems."
257d62c0b29b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3826
diff changeset
   138
3374
66bc355d092e automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   139
    ^ '
3435
eeca718e5c33 Rename nt.mak to bc.mak
Stefan Vogel <sv@exept.de>
parents: 3391
diff changeset
   140
# see stdHeader_bc for LIBWIDG_BASE
3922
257d62c0b29b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3826
diff changeset
   141
LIB_BASE=$(LIBWIDG_BASE)
3374
66bc355d092e automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   142
'
66bc355d092e automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   143
!
66bc355d092e automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   144
3351
df60a6248d21 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3342
diff changeset
   145
stcOptimizationOptions
4084
7e41d96add36 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3939
diff changeset
   146
    ^ '+optinline'
5151
dff9b289c195 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4837
diff changeset
   147
!
dff9b289c195 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4837
diff changeset
   148
dff9b289c195 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4837
diff changeset
   149
stcWarningOptions
dff9b289c195 class: stx_libwidg
Claus Gittinger <cg@exept.de>
parents: 4837
diff changeset
   150
    ^ '-warnNonStandard -warnUnused'
3351
df60a6248d21 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3342
diff changeset
   151
! !
df60a6248d21 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3342
diff changeset
   152
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   153
!stx_libwidg class methodsFor:'description - contents'!
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   154
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   155
classNamesAndAttributes
4270
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   156
    "lists the classes which are to be included in the project.
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   157
     Each entry in the list may be: a single class-name (symbol),
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   158
     or an array-literal consisting of class name and attributes.
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   159
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   160
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   161
    ^ #(
4270
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   162
        "<className> or (<className> attributes...) in load order"
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   163
        ButtonController
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   164
        DialogBox
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   165
        EditTextViewCompletionSupport
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   166
        EnterFieldGroup
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   167
        FramedBox
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   168
        GenericToolbarIconLibrary
4800
72484439b233 Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 4663
diff changeset
   169
        Label
72484439b233 Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 4663
diff changeset
   170
        ListView
4837
ac279fb76bb0 Make ListViewController compiled instead of autoloaded
Stefan Vogel <sv@exept.de>
parents: 4800
diff changeset
   171
        ListViewController
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   172
        MenuEvent
4270
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   173
        ObjectView
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   174
        PanelView
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   175
        PopUpMenu
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   176
        PullDownMenu
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   177
        RadioButtonGroup
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   178
        ScrollBar
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   179
        ScrollableView
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   180
        Scroller
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   181
        SelectionInList
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   182
        VariablePanel
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   183
        VariablePanelController
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   184
        #'stx_libwidg'
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   185
        Button
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   186
        CheckLabel
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   187
        EnterBox
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   188
        FontPanel
4800
72484439b233 Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 4663
diff changeset
   189
        HVScrollableView
72484439b233 Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 4663
diff changeset
   190
        HorizontalPanelView
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   191
        HorizontalScrollBar
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   192
        HorizontalScroller
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   193
        InfoBox
4800
72484439b233 Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 4663
diff changeset
   194
        MiniScroller
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   195
        MultiColumnPanelView
4800
72484439b233 Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 4663
diff changeset
   196
        MultiSelectionInList
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   197
        OptionBox
6128
fb998ba8f169 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6109
diff changeset
   198
        PointFromUserController
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   199
        PopUpListController
6128
fb998ba8f169 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6109
diff changeset
   200
        RectangleFromUserController
4270
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   201
        SelectionInListView
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   202
        SequenceView
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   203
        TextView
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   204
        ToggleController
4270
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   205
        VariableHorizontalPanel
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   206
        VariableHorizontalPanelController
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   207
        VariableVerticalPanel
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   208
        VariableVerticalPanelController
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   209
        VerticalPanelView
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   210
        WorkspaceCompletionSupport
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   211
        XPToolbarIconLibrary
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   212
        ArrowButton
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   213
        EditTextView
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   214
        EnterBox2
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   215
        FileSelectionList
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   216
        HorizontalMiniScroller
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   217
        ListSelectionBox
5312
3a5a65f4cb7b compiled: MacOSXToolbarIconLibrary
Claus Gittinger <cg@exept.de>
parents: 5275
diff changeset
   218
        MacOSXToolbarIconLibrary
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   219
        MenuView
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   220
        PopUpList
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   221
        RadioButtonController
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   222
        Toggle
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   223
        VistaToolbarIconLibrary
4270
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   224
        WarningBox
5272
72cb0a50d237 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5243
diff changeset
   225
        AdwaitaToolbarIconLibrary
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   226
        CheckToggle
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   227
        ClickMenuView
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   228
        EditField
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   229
        FileSelectionBox
5501
Claus Gittinger <cg@exept.de>
parents: 5490
diff changeset
   230
        MacOSX2ToolbarIconLibrary
5165
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   231
        RadioButton
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   232
        TextCollector
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   233
        Windows8ToolbarIconLibrary
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   234
        YesNoBox
840cd63c9788 initial checkin
Claus Gittinger <cg@exept.de>
parents: 5151
diff changeset
   235
        FileSaveBox
6422
e4e23dbbb276 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6405
diff changeset
   236
        MacOSX2DarkToolbarIconLibrary
4270
467c7e653589 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4221
diff changeset
   237
        Workspace
4800
72484439b233 Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 4663
diff changeset
   238
        CodeView
6405
071c07f994fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   239
        (DarkVaderToolbarIconLibrary autoload)
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   240
    )
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   241
!
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   242
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   243
extensionMethodNames
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   244
    "lists the extension methods which are to be included in the project.
6540
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   245
     Entries are 2-element array literals, consisting of class-name and selector.
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   246
     A correponding method with real names must be present in my concrete subclasses
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   247
     if it has extensions."
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   248
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   249
    ^ #(
6540
f16a4870c7c8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6422
diff changeset
   250
        Class defaultIconForAboutBox
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   251
    )
3488
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   252
! !
e36f203dec13 Fix preRequisites
Stefan Vogel <sv@exept.de>
parents: 3472
diff changeset
   253
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
!stx_libwidg class methodsFor:'description - project information'!
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
companyName
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
    "Return a companyname which will appear in <lib>.rc"
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
5969
d613628c0078 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5944
diff changeset
   259
    ^ 'Claus Gittinger / eXept Software AG'
d613628c0078 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5944
diff changeset
   260
d613628c0078 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5944
diff changeset
   261
    "Modified: / 18-11-2016 / 11:47:47 / cg"
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
!
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   264
description
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   265
    "Return a description string which will appear in nt.def / bc.def"
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
3342
78f1864f3466 comments
Claus Gittinger <cg@exept.de>
parents: 3341
diff changeset
   267
    ^ 'Smalltalk/X Elementary Widgets'
78f1864f3466 comments
Claus Gittinger <cg@exept.de>
parents: 3341
diff changeset
   268
!
78f1864f3466 comments
Claus Gittinger <cg@exept.de>
parents: 3341
diff changeset
   269
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
legalCopyright
3939
70c39cad8959 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3922
diff changeset
   271
    "Return a copyright string which will appear in <lib>.rc"
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   272
5971
e670480031bc #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
   273
    ^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012'
3513
83bb6dbd0a97 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3512
diff changeset
   274
5971
e670480031bc #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
   275
    "Modified: / 18-11-2016 / 12:19:22 / cg"
4529
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   276
!
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   277
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   278
productName
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   279
    "Return a product name which will appear in <lib>.rc"
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   280
ec75c190f714 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 4520
diff changeset
   281
    ^ 'Smalltalk/X'
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   282
! !
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   283
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   284
!stx_libwidg class methodsFor:'documentation'!
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   286
version
5365
98fed6b394c4 copyright messages updated
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   287
    ^ '$Header$'
4084
7e41d96add36 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3939
diff changeset
   288
!
7e41d96add36 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3939
diff changeset
   289
7e41d96add36 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 3939
diff changeset
   290
version_CVS
5365
98fed6b394c4 copyright messages updated
Claus Gittinger <cg@exept.de>
parents: 5312
diff changeset
   291
    ^ '$Header$'
3330
8f02e6804c8f initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
! !
4520
c199ec1f7d7b automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 4465
diff changeset
   293