author | Claus Gittinger <cg@exept.de> |
Sat, 21 Feb 2015 01:48:27 +0100 | |
changeset 5272 | 72cb0a50d237 |
parent 5243 | cbd28c5f47ea |
child 5275 | ce7b9390336c |
permissions | -rw-r--r-- |
3341 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
4109 | 3 |
All Rights Reserved |
3341 | 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 |
" |
|
3330 | 12 |
"{ Package: 'stx:libwidg' }" |
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 | 16 |
LibraryDefinition subclass:#stx_libwidg |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
3472 | 20 |
category:'* Projects & Packages *' |
3330 | 21 |
! |
22 |
||
3341 | 23 |
!stx_libwidg class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
4109 | 28 |
All Rights Reserved |
3341 | 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 |
" |
|
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 |
|
cbd28c5f47ea
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5165
diff
changeset
|
43 |
This library contains elementary gui components (widgets), such as Buttons, InputFields, |
cbd28c5f47ea
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5165
diff
changeset
|
44 |
TextEditors, Scrollbars etc. |
3341 | 45 |
" |
46 |
! ! |
|
3330 | 47 |
|
48 |
!stx_libwidg class methodsFor:'description'! |
|
49 |
||
3488 | 50 |
excludedFromPreRequisites |
3330 | 51 |
^ #( |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
52 |
#'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
|
53 |
#'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
|
54 |
#'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
|
55 |
#'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
|
56 |
#'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
|
57 |
#'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
|
58 |
#'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
|
59 |
#'stx:libwidg2' "FilenameEditField - referenced by DialogBox>>addFilenameInputFieldOn:in:tabable: " |
3330 | 60 |
) |
61 |
! |
|
62 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
63 |
mandatoryPreRequisites |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
64 |
"list all required mandatory packages. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
65 |
Packages are mandatory, if they contain superclasses of the package's classes |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
66 |
or classes which are extended by this package. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
67 |
This list can be maintained manually or (better) generated and |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
68 |
updated by scanning the superclass hierarchies |
4663 | 69 |
(the browser has a menu function for that)" |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
70 |
|
3330 | 71 |
^ #( |
4663 | 72 |
#'stx:libbasic' "Autoload - superclass of ListViewController " |
73 |
#'stx:libview' "Controller - superclass of ButtonController " |
|
74 |
#'stx:libview2' "Model - superclass of MultiSelectionInList " |
|
3330 | 75 |
) |
3488 | 76 |
! |
77 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
78 |
referencedPreRequisites |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
79 |
"list all packages containing classes referenced by the packages's members. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
80 |
This list can be maintained manually or (better) generated and |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
81 |
updated by looking for global variable accesses |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
82 |
(the browser has a menu function for that) |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
83 |
However, often too much is found, and you may want to explicitely |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
84 |
exclude individual packages in the #excludedFromPreRequisites method." |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
85 |
|
3488 | 86 |
^ #( |
4663 | 87 |
#'stx:libbasic2' "ActorStream - referenced by TextCollector>>initialize " |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
88 |
#'stx:libbasic3' "MessageTally - referenced by Workspace>>spyOnIt " |
4663 | 89 |
#'stx:libui' "ActionButtonSpec - referenced by Button>>specClass " |
90 |
) |
|
91 |
! |
|
92 |
||
93 |
subProjects |
|
94 |
"list packages which are known as subprojects. |
|
95 |
The generated makefile will enter those and make there as well. |
|
96 |
However: they are not forced to be loaded when a package is loaded; |
|
97 |
for those, redefine requiredPrerequisites" |
|
98 |
||
99 |
^ #( |
|
3488 | 100 |
) |
3330 | 101 |
! ! |
102 |
||
3351 | 103 |
!stx_libwidg class methodsFor:'description - compilation'! |
104 |
||
3922 | 105 |
additionalBaseAddressDefinition_bc_dot_mak |
106 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
107 |
on win32 systems." |
|
108 |
||
3374 | 109 |
^ ' |
3435 | 110 |
# see stdHeader_bc for LIBWIDG_BASE |
3922 | 111 |
LIB_BASE=$(LIBWIDG_BASE) |
3374 | 112 |
' |
113 |
! |
|
114 |
||
3351 | 115 |
stcOptimizationOptions |
4084 | 116 |
^ '+optinline' |
5151 | 117 |
! |
118 |
||
119 |
stcWarningOptions |
|
120 |
^ '-warnNonStandard -warnUnused' |
|
3351 | 121 |
! ! |
122 |
||
3488 | 123 |
!stx_libwidg class methodsFor:'description - contents'! |
124 |
||
125 |
classNamesAndAttributes |
|
4270 | 126 |
"lists the classes which are to be included in the project. |
127 |
Each entry in the list may be: a single class-name (symbol), |
|
128 |
or an array-literal consisting of class name and attributes. |
|
129 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
130 |
||
3488 | 131 |
^ #( |
4270 | 132 |
"<className> or (<className> attributes...) in load order" |
5165 | 133 |
ButtonController |
134 |
DialogBox |
|
135 |
EditTextViewCompletionSupport |
|
136 |
EnterFieldGroup |
|
137 |
FramedBox |
|
138 |
GenericToolbarIconLibrary |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
139 |
Label |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
140 |
ListView |
4837
ac279fb76bb0
Make ListViewController compiled instead of autoloaded
Stefan Vogel <sv@exept.de>
parents:
4800
diff
changeset
|
141 |
ListViewController |
5165 | 142 |
MenuEvent |
4270 | 143 |
ObjectView |
144 |
PanelView |
|
145 |
PopUpMenu |
|
146 |
PullDownMenu |
|
147 |
RadioButtonGroup |
|
148 |
ScrollBar |
|
149 |
ScrollableView |
|
5165 | 150 |
Scroller |
151 |
SelectionInList |
|
152 |
VariablePanel |
|
153 |
VariablePanelController |
|
154 |
#'stx_libwidg' |
|
155 |
Button |
|
156 |
CheckLabel |
|
157 |
EnterBox |
|
158 |
FontPanel |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
159 |
HVScrollableView |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
160 |
HorizontalPanelView |
5165 | 161 |
HorizontalScrollBar |
162 |
HorizontalScroller |
|
163 |
InfoBox |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
164 |
MiniScroller |
5165 | 165 |
MultiColumnPanelView |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
166 |
MultiSelectionInList |
5165 | 167 |
OptionBox |
168 |
PopUpListController |
|
4270 | 169 |
SelectionInListView |
170 |
SequenceView |
|
5165 | 171 |
TextView |
172 |
ToggleController |
|
4270 | 173 |
VariableHorizontalPanel |
174 |
VariableHorizontalPanelController |
|
175 |
VariableVerticalPanel |
|
176 |
VariableVerticalPanelController |
|
177 |
VerticalPanelView |
|
5165 | 178 |
WorkspaceCompletionSupport |
179 |
XPToolbarIconLibrary |
|
180 |
ArrowButton |
|
181 |
EditTextView |
|
182 |
EnterBox2 |
|
183 |
FileSelectionList |
|
184 |
HorizontalMiniScroller |
|
185 |
ListSelectionBox |
|
186 |
MenuView |
|
187 |
PopUpList |
|
188 |
RadioButtonController |
|
189 |
Toggle |
|
190 |
VistaToolbarIconLibrary |
|
4270 | 191 |
WarningBox |
5272 | 192 |
AdwaitaToolbarIconLibrary |
5165 | 193 |
CheckToggle |
194 |
ClickMenuView |
|
195 |
EditField |
|
196 |
FileSelectionBox |
|
197 |
RadioButton |
|
198 |
TextCollector |
|
199 |
Windows8ToolbarIconLibrary |
|
200 |
YesNoBox |
|
201 |
FileSaveBox |
|
4270 | 202 |
Workspace |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
203 |
CodeView |
5272 | 204 |
(MacOSXToolbarIconLibrary autoload) |
3488 | 205 |
) |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
206 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
207 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
208 |
extensionMethodNames |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
209 |
"lists the extension methods which are to be included in the project. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
210 |
Entries are 2-element array literals, consisting of class-name and selector." |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
211 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
212 |
^ #( |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
213 |
) |
3488 | 214 |
! ! |
215 |
||
3330 | 216 |
!stx_libwidg class methodsFor:'description - project information'! |
217 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
218 |
applicationIconFileName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
219 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
220 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
221 |
^ nil |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
222 |
"/ ^ self applicationName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
223 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
224 |
|
3330 | 225 |
companyName |
226 |
"Return a companyname which will appear in <lib>.rc" |
|
227 |
||
228 |
^ 'eXept Software AG' |
|
229 |
! |
|
230 |
||
231 |
description |
|
232 |
"Return a description string which will appear in nt.def / bc.def" |
|
233 |
||
3342 | 234 |
^ 'Smalltalk/X Elementary Widgets' |
235 |
! |
|
236 |
||
3330 | 237 |
legalCopyright |
3939 | 238 |
"Return a copyright string which will appear in <lib>.rc" |
3330 | 239 |
|
4431 | 240 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
3513 | 241 |
|
4431 | 242 |
"Modified: / 18-07-2012 / 19:12:14 / cg" |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
243 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
244 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
245 |
productName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
246 |
"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
|
247 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
248 |
^ 'Smalltalk/X' |
3330 | 249 |
! ! |
250 |
||
251 |
!stx_libwidg class methodsFor:'documentation'! |
|
252 |
||
253 |
version |
|
5272 | 254 |
^ '$Header: /cvs/stx/stx/libwidg/stx_libwidg.st,v 1.40 2015-02-21 00:48:27 cg Exp $' |
4084 | 255 |
! |
256 |
||
257 |
version_CVS |
|
5272 | 258 |
^ '$Header: /cvs/stx/stx/libwidg/stx_libwidg.st,v 1.40 2015-02-21 00:48:27 cg Exp $' |
3330 | 259 |
! ! |
4520 | 260 |