author | Claus Gittinger <cg@exept.de> |
Tue, 01 Jul 2014 12:57:27 +0200 | |
changeset 5081 | 64ecf2a36648 |
parent 4837 | ac279fb76bb0 |
child 5151 | dff9b289c195 |
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 |
||
14 |
LibraryDefinition subclass:#stx_libwidg |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
3472 | 18 |
category:'* Projects & Packages *' |
3330 | 19 |
! |
20 |
||
3341 | 21 |
!stx_libwidg class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
4109 | 26 |
All Rights Reserved |
3341 | 27 |
|
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
37 |
documentation |
|
38 |
" |
|
4465 | 39 |
Build- and package information for creation of the st/x standard library: stx_libwidg. |
3341 | 40 |
This library contains elementary gui components (widgets). |
41 |
" |
|
42 |
! ! |
|
3330 | 43 |
|
44 |
!stx_libwidg class methodsFor:'description'! |
|
45 |
||
3488 | 46 |
excludedFromPreRequisites |
3330 | 47 |
^ #( |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
48 |
#'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
|
49 |
#'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
|
50 |
#'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
|
51 |
#'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
|
52 |
#'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
|
53 |
#'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
|
54 |
#'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
|
55 |
#'stx:libwidg2' "FilenameEditField - referenced by DialogBox>>addFilenameInputFieldOn:in:tabable: " |
3330 | 56 |
) |
57 |
! |
|
58 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
59 |
mandatoryPreRequisites |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
60 |
"list all required mandatory packages. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
61 |
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
|
62 |
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
|
63 |
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
|
64 |
updated by scanning the superclass hierarchies |
4663 | 65 |
(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
|
66 |
|
3330 | 67 |
^ #( |
4663 | 68 |
#'stx:libbasic' "Autoload - superclass of ListViewController " |
69 |
#'stx:libview' "Controller - superclass of ButtonController " |
|
70 |
#'stx:libview2' "Model - superclass of MultiSelectionInList " |
|
3330 | 71 |
) |
3488 | 72 |
! |
73 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
74 |
referencedPreRequisites |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
75 |
"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
|
76 |
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
|
77 |
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
|
78 |
(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
|
79 |
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
|
80 |
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
|
81 |
|
3488 | 82 |
^ #( |
4663 | 83 |
#'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
|
84 |
#'stx:libbasic3' "MessageTally - referenced by Workspace>>spyOnIt " |
4663 | 85 |
#'stx:libui' "ActionButtonSpec - referenced by Button>>specClass " |
86 |
) |
|
87 |
! |
|
88 |
||
89 |
subProjects |
|
90 |
"list packages which are known as subprojects. |
|
91 |
The generated makefile will enter those and make there as well. |
|
92 |
However: they are not forced to be loaded when a package is loaded; |
|
93 |
for those, redefine requiredPrerequisites" |
|
94 |
||
95 |
^ #( |
|
3488 | 96 |
) |
3330 | 97 |
! ! |
98 |
||
3351 | 99 |
!stx_libwidg class methodsFor:'description - compilation'! |
100 |
||
3922 | 101 |
additionalBaseAddressDefinition_bc_dot_mak |
102 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
103 |
on win32 systems." |
|
104 |
||
3374 | 105 |
^ ' |
3435 | 106 |
# see stdHeader_bc for LIBWIDG_BASE |
3922 | 107 |
LIB_BASE=$(LIBWIDG_BASE) |
3374 | 108 |
' |
109 |
! |
|
110 |
||
3351 | 111 |
stcOptimizationOptions |
4084 | 112 |
^ '+optinline' |
3351 | 113 |
! ! |
114 |
||
3488 | 115 |
!stx_libwidg class methodsFor:'description - contents'! |
116 |
||
117 |
classNamesAndAttributes |
|
4270 | 118 |
"lists the classes which are to be included in the project. |
119 |
Each entry in the list may be: a single class-name (symbol), |
|
120 |
or an array-literal consisting of class name and attributes. |
|
121 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
122 |
||
3488 | 123 |
^ #( |
4270 | 124 |
"<className> or (<className> attributes...) in load order" |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
125 |
Label |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
126 |
Button |
4270 | 127 |
ArrowButton |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
128 |
ButtonController |
4270 | 129 |
CheckLabel |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
130 |
Toggle |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
131 |
ToggleController |
4270 | 132 |
CheckToggle |
133 |
DialogBox |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
134 |
ListView |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
135 |
TextView |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
136 |
EditTextView |
4270 | 137 |
EditField |
138 |
EnterBox |
|
139 |
EnterBox2 |
|
140 |
EnterFieldGroup |
|
141 |
FontPanel |
|
142 |
FramedBox |
|
143 |
InfoBox |
|
144 |
ListSelectionBox |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
145 |
FileSelectionBox |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
146 |
FileSaveBox |
4837
ac279fb76bb0
Make ListViewController compiled instead of autoloaded
Stefan Vogel <sv@exept.de>
parents:
4800
diff
changeset
|
147 |
ListViewController |
4270 | 148 |
ObjectView |
149 |
OptionBox |
|
150 |
PanelView |
|
151 |
PopUpList |
|
152 |
PopUpListController |
|
153 |
PopUpMenu |
|
154 |
PullDownMenu |
|
155 |
RadioButton |
|
156 |
RadioButtonController |
|
157 |
RadioButtonGroup |
|
158 |
ScrollBar |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
159 |
HorizontalScrollBar |
4270 | 160 |
ScrollableView |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
161 |
HVScrollableView |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
162 |
HorizontalPanelView |
4270 | 163 |
Scroller |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
164 |
MiniScroller |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
165 |
HorizontalMiniScroller |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
166 |
HorizontalScroller |
4270 | 167 |
SelectionInList |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
168 |
MultiSelectionInList |
4270 | 169 |
SelectionInListView |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
170 |
FileSelectionList |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
171 |
MenuView |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
172 |
ClickMenuView |
4270 | 173 |
SequenceView |
174 |
TextCollector |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
175 |
VariablePanel |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
176 |
VariablePanelController |
4270 | 177 |
VariableHorizontalPanel |
178 |
VariableHorizontalPanelController |
|
179 |
VariableVerticalPanel |
|
180 |
VariableVerticalPanelController |
|
181 |
VerticalPanelView |
|
182 |
WarningBox |
|
183 |
Workspace |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
184 |
CodeView |
4270 | 185 |
YesNoBox |
186 |
#'stx_libwidg' |
|
187 |
MultiColumnPanelView |
|
188 |
GenericToolbarIconLibrary |
|
189 |
XPToolbarIconLibrary |
|
190 |
VistaToolbarIconLibrary |
|
191 |
MenuEvent |
|
4520 | 192 |
Windows8ToolbarIconLibrary |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
193 |
EditTextViewCompletionSupport |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
194 |
WorkspaceCompletionSupport |
3488 | 195 |
) |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
196 |
|
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
197 |
"Modified: / 26-09-2013 / 18:29:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
198 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
199 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
200 |
extensionMethodNames |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
201 |
"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
|
202 |
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
|
203 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
204 |
^ #( |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
205 |
) |
3488 | 206 |
! ! |
207 |
||
3330 | 208 |
!stx_libwidg class methodsFor:'description - project information'! |
209 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
210 |
applicationIconFileName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
211 |
"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
|
212 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
213 |
^ nil |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
214 |
"/ ^ self applicationName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
215 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
216 |
|
3330 | 217 |
companyName |
218 |
"Return a companyname which will appear in <lib>.rc" |
|
219 |
||
220 |
^ 'eXept Software AG' |
|
221 |
! |
|
222 |
||
223 |
description |
|
224 |
"Return a description string which will appear in nt.def / bc.def" |
|
225 |
||
3342 | 226 |
^ 'Smalltalk/X Elementary Widgets' |
227 |
! |
|
228 |
||
3330 | 229 |
legalCopyright |
3939 | 230 |
"Return a copyright string which will appear in <lib>.rc" |
3330 | 231 |
|
4431 | 232 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
3513 | 233 |
|
4431 | 234 |
"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
|
235 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
236 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
237 |
productName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
238 |
"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
|
239 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
240 |
^ 'Smalltalk/X' |
3330 | 241 |
! ! |
242 |
||
243 |
!stx_libwidg class methodsFor:'documentation'! |
|
244 |
||
245 |
version |
|
4837
ac279fb76bb0
Make ListViewController compiled instead of autoloaded
Stefan Vogel <sv@exept.de>
parents:
4800
diff
changeset
|
246 |
^ '$Header: /cvs/stx/stx/libwidg/stx_libwidg.st,v 1.36 2013-12-05 09:22:14 stefan Exp $' |
4084 | 247 |
! |
248 |
||
249 |
version_CVS |
|
4837
ac279fb76bb0
Make ListViewController compiled instead of autoloaded
Stefan Vogel <sv@exept.de>
parents:
4800
diff
changeset
|
250 |
^ '$Header: /cvs/stx/stx/libwidg/stx_libwidg.st,v 1.36 2013-12-05 09:22:14 stefan Exp $' |
3330 | 251 |
! ! |
4520 | 252 |