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