author | Claus Gittinger <cg@exept.de> |
Thu, 30 May 2019 09:36:53 +0200 | |
changeset 6060 | 5baf8c498848 |
parent 5940 | d01a706522d7 |
child 6085 | 3855043eac71 |
permissions | -rw-r--r-- |
3028 | 1 |
" |
5339 | 2 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
3028 | 3 |
All Rights Reserved |
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 |
" |
|
3002 | 12 |
"{ Package: 'stx:libwidg2' }" |
13 |
||
4699
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
14 |
"{ NameSpace: Smalltalk }" |
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
15 |
|
3002 | 16 |
LibraryDefinition subclass:#stx_libwidg2 |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
3209 | 20 |
category:'* Projects & Packages *' |
3002 | 21 |
! |
22 |
||
3028 | 23 |
!stx_libwidg2 class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
5339 | 27 |
COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG |
3028 | 28 |
All Rights Reserved |
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 |
" |
|
4699
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
41 |
Package Documentation |
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
42 |
|
4713 | 43 |
This library contains additional gui components (widgets). |
44 |
||
45 |
These are less often used and can (in theory) be left out of very simple end-user |
|
4699
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
46 |
applications. |
5494 | 47 |
|
48 |
[author:] |
|
49 |
cg |
|
50 |
||
51 |
[primary maintainer:] |
|
52 |
cg |
|
3028 | 53 |
" |
54 |
! ! |
|
3002 | 55 |
|
56 |
!stx_libwidg2 class methodsFor:'description'! |
|
57 |
||
3027 | 58 |
additionalClassNamesAndAttributes |
3002 | 59 |
^ #( |
3014 | 60 |
"/ <className> or (<className> attributes...) |
61 |
'LicenceBox' |
|
3002 | 62 |
) |
3014 | 63 |
|
3027 | 64 |
"Created: / 21-08-2006 / 19:52:03 / cg" |
65 |
! |
|
66 |
||
3232 | 67 |
excludedFromPreRequisites |
4017 | 68 |
"list all packages which should be ignored in the automatic |
69 |
preRequisites scan. See #preRequisites for more." |
|
70 |
||
3232 | 71 |
^ #( |
72 |
#'stx:clients/Demos' "CodingExamples_GUI::GUIDemoNoteBook - referenced by TabItem class>>test " |
|
73 |
#'stx:goodies' "IdentityDictionaryWithDefault - referenced by GridBagLayoutInfo>>initialize " |
|
74 |
#'stx:goodies/postscript' "PSGraphicsContext - referenced by ImageEditView>>printWithMagnification: " |
|
75 |
#'stx:libtool' "FileBrowser - referenced by HierarchicalFileList::Directory>>icon " |
|
76 |
#'stx:libtool2' "ImageEditor - referenced by ImageEditView class>>classResources " |
|
77 |
#'stx:libwidg3' "ClockView - referenced by TabItem class>>test " |
|
3378 | 78 |
#'stx:goodies/refactoryBrowser/parser' "RBParser - referenced by DoWhatIMeanSupport class>>findNodeForInterval:in: " |
79 |
#'stx:libcomp' "Parser - referenced by DoWhatIMeanSupport class>>codeCompletionForMessage:inClass:codeView: " |
|
80 |
#'stx:libhtml' "HTMLDocumentView - referenced by LicenceBox>>initialize " |
|
4915 | 81 |
#'stx:goodies/refactoryBrowser/browser' "RefactoryTyper - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:" |
82 |
#'stx:libboss' "ObsoleteObject - referenced by DoWhatIMeanSupport>>codeCompletionForMessage:inClass:instance:context:codeView:" |
|
5251 | 83 |
#'stx:libbasic3' "SourceCodeManagerError - referenced by DoWhatIMeanSupport>>addClassesOfInstVarNamed:inClass:to:" |
84 |
#'stx:libjavascript' "JavaScriptCompletionEngine - referenced by DoWhatIMeanSupport>>codeCompletionForJavascriptMethod:orClass:context:codeView:into:" |
|
3232 | 85 |
) |
86 |
! |
|
87 |
||
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
88 |
mandatoryPreRequisites |
4915 | 89 |
"list packages which are mandatory as a prerequisite. |
90 |
This are packages containing superclasses of my classes and classes which |
|
91 |
are extended by myself. |
|
92 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
|
93 |
This method is generated automatically, |
|
94 |
by searching along the inheritance chain of all of my classes." |
|
3157 | 95 |
|
96 |
^ #( |
|
4915 | 97 |
#'stx:libbasic' "ActivityNotification - superclass of ProgressNotification" |
98 |
#'stx:libbasic2' "List - superclass of HierarchicalFileList" |
|
99 |
#'stx:libview' "Controller - superclass of LinkButtonController" |
|
100 |
#'stx:libview2' "ApplicationModel - superclass of AssistantApplication" |
|
101 |
#'stx:libwidg' "Button - superclass of ComboBoxButton" |
|
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
102 |
) |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
103 |
! |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
104 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
105 |
referencedPreRequisites |
4915 | 106 |
"list packages which are a prerequisite, because they contain |
107 |
classes which are referenced by my classes. |
|
108 |
We do not need these packages as a prerequisite for compiling or loading, |
|
109 |
however, a class from it may be referenced during execution and having it |
|
110 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
|
111 |
includes explicit checks for the package being present. |
|
112 |
This method is generated automatically, |
|
113 |
by searching all classes (and their packages) which are referenced by my classes." |
|
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
114 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
115 |
^ #( |
4915 | 116 |
#'stx:libui' "ComboBoxSpec - referenced by ComboBoxView>>specClass" |
117 |
) |
|
118 |
! |
|
119 |
||
120 |
subProjects |
|
121 |
"list packages which are known as subprojects. |
|
122 |
The generated makefile will enter those and make there as well. |
|
123 |
However: they are not forced to be loaded when a package is loaded; |
|
124 |
for those, redefine requiredPrerequisites." |
|
125 |
||
126 |
^ #( |
|
3157 | 127 |
) |
3002 | 128 |
! ! |
129 |
||
3055 | 130 |
!stx_libwidg2 class methodsFor:'description - compilation'! |
131 |
||
3746 | 132 |
additionalBaseAddressDefinition_bc_dot_mak |
133 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
134 |
on win32 systems." |
|
135 |
||
3055 | 136 |
^ ' |
3163 | 137 |
# see stdHeader_bc for LIBWIDG2_BASE |
3746 | 138 |
LIB_BASE=$(LIBWIDG2_BASE) |
3055 | 139 |
' |
4675 | 140 |
! |
141 |
||
142 |
stcWarningOptions |
|
143 |
^ '-warnNonStandard -warnUnused' |
|
3055 | 144 |
! ! |
145 |
||
3096 | 146 |
!stx_libwidg2 class methodsFor:'description - contents'! |
147 |
||
148 |
classNamesAndAttributes |
|
3949 | 149 |
"lists the classes which are to be included in the project. |
150 |
Each entry in the list may be: a single class-name (symbol), |
|
151 |
or an array-literal consisting of class name and attributes. |
|
152 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
153 |
||
3096 | 154 |
^ #( |
155 |
"<className> or (<className> attributes...) in load order" |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
156 |
AbstractHierarchicalItem |
4017 | 157 |
AssistantApplication |
3113 | 158 |
CharacterSetView |
3096 | 159 |
CheckBox |
160 |
ComboBoxButton |
|
161 |
ComboView |
|
162 |
DSVColumnView |
|
163 |
DSVLabelView |
|
164 |
DataSetColumn |
|
165 |
DataSetLabel |
|
166 |
DataSetView |
|
167 |
DoWhatIMeanSupport |
|
168 |
EnterBoxWithList |
|
169 |
ExtendedComboBox |
|
170 |
FilenameEditField |
|
171 |
FilenameEnterBox |
|
4017 | 172 |
FilenameWidgetWithHistory |
3096 | 173 |
GridBagConstraints |
174 |
GridBagLayoutInfo |
|
175 |
GridBagLayoutView |
|
4017 | 176 |
HierarchicalDropTargetController |
3096 | 177 |
HierarchicalList |
178 |
HierarchyNode |
|
179 |
ImageView |
|
180 |
LabelledEnterField |
|
4017 | 181 |
LinkButton |
182 |
LinkButtonController |
|
3096 | 183 |
ListEntry |
184 |
ListModelView |
|
185 |
MenuPanel |
|
186 |
MultipleItemSelectionWidget |
|
187 |
NoteBookView |
|
188 |
PrintAbortDialog |
|
189 |
PrintingDialog |
|
190 |
ProgressIndicator |
|
4017 | 191 |
ProgressNotification |
3096 | 192 |
SelectionInHierarchy |
193 |
SelectionInTree |
|
194 |
SelectionInTreeView |
|
195 |
Separator |
|
196 |
Slider |
|
4009 | 197 |
SteppingSlider |
3096 | 198 |
SubCanvas |
199 |
SyncedMultiColumnTextView |
|
200 |
TabItem |
|
201 |
TabSpecRuler |
|
202 |
TabWidget |
|
203 |
TabulatorSpecification |
|
4017 | 204 |
TerminalView |
3096 | 205 |
TextBox |
4915 | 206 |
ThumbWheel |
3096 | 207 |
TreeItem |
208 |
UpDownButton |
|
209 |
ViewScroller |
|
210 |
#'stx_libwidg2' |
|
5853 | 211 |
AbstractHierarchicalItemWithModel |
4017 | 212 |
ColorMenu |
213 |
ComboBoxView |
|
214 |
ComboListView |
|
215 |
FileSelectionItem |
|
216 |
FileSelectionTree |
|
217 |
FilenameWidgetWithoutHistory |
|
218 |
FontMenu |
|
5749 | 219 |
GnuplotGraphView |
4017 | 220 |
HorizontalSlider |
221 |
HorizontalSteppingSlider |
|
222 |
ImageEditView |
|
223 |
ModelListEntry |
|
224 |
MultiColListEntry |
|
225 |
SelectionInListModelView |
|
226 |
TabView |
|
5940 | 227 |
TextCollectorBox |
4017 | 228 |
ThreeColumnTextView |
229 |
TreeItemWithImage |
|
4540 | 230 |
TriggerBox |
4017 | 231 |
TwoColumnTextView |
4540 | 232 |
VT100TerminalView |
5853 | 233 |
CompactHierarchicalItem |
4017 | 234 |
FilenameComboBoxView |
5853 | 235 |
HierarchicalItem |
236 |
HierarchicalListView |
|
237 |
LabelAndIcon |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
238 |
HierarchicalFileList |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
239 |
HierarchicalItemWithLabel |
5299 | 240 |
HierarchicalItemWithValue |
5853 | 241 |
LabelAndTwoIcons |
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
242 |
HierarchicalItemWithLabelAndIcon |
4017 | 243 |
HierarchicalItemWithLabelAndIconAndValue |
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
244 |
(KeyboardView autoload) |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
245 |
(MenuButton autoload) |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
246 |
(StrokeView autoload) |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
247 |
(TabControl autoload) |
4540 | 248 |
(ColoredListEntry autoload) |
249 |
(ComboBrowseView autoload) |
|
250 |
(ComboUpDownView autoload) |
|
251 |
(GraphColumn autoload) |
|
252 |
(GraphColumnView autoload) |
|
253 |
(GraphColumnView2D autoload) |
|
254 |
(GraphColumnView2DSpec autoload) |
|
255 |
(GraphColumnView3D autoload) |
|
256 |
(GraphColumnView3DSpec autoload) |
|
257 |
(GraphColumnViewSpec autoload) |
|
258 |
(HorizontalScale autoload) |
|
259 |
(ImageSelectionBox autoload) |
|
260 |
(ListEditor autoload) |
|
261 |
(MotionButton autoload) |
|
262 |
(NoteBookFrameView autoload) |
|
263 |
(ParagraphSpecification autoload) |
|
264 |
(RoundButton autoload) |
|
265 |
(Ruler autoload) |
|
266 |
(Scale autoload) |
|
267 |
(SelectionInHierarchyView autoload) |
|
268 |
(TextRuler autoload) |
|
269 |
(VT52TerminalView autoload) |
|
270 |
(VerticalRuler autoload) |
|
3096 | 271 |
) |
4017 | 272 |
! |
4009 | 273 |
|
4017 | 274 |
extensionMethodNames |
5251 | 275 |
"lists the extension methods which are to be included in the project. |
276 |
Entries are 2-element array literals, consisting of class-name and selector. |
|
277 |
A correponding method with real names must be present in my concrete subclasses |
|
278 |
if it has extensions." |
|
4017 | 279 |
|
280 |
^ #( |
|
281 |
) |
|
3096 | 282 |
! ! |
283 |
||
3002 | 284 |
!stx_libwidg2 class methodsFor:'description - project information'! |
285 |
||
286 |
companyName |
|
287 |
"Return a companyname which will appear in <lib>.rc" |
|
288 |
||
5338 | 289 |
^ 'Claus Gittinger / eXept Software AG' |
290 |
||
291 |
"Modified: / 18-11-2016 / 11:47:45 / cg" |
|
3002 | 292 |
! |
293 |
||
294 |
description |
|
295 |
"Return a description string which will appear in nt.def / bc.def" |
|
296 |
||
3029 | 297 |
^ 'Smalltalk/X Additional Widgets' |
298 |
! |
|
299 |
||
3002 | 300 |
legalCopyright |
3753 | 301 |
"Return a copyright string which will appear in <lib>.rc" |
3002 | 302 |
|
5340 | 303 |
^ 'Copyright Claus Gittinger 1988\nCopyright eXept Software AG 2012' |
3273 | 304 |
|
5340 | 305 |
"Modified: / 18-11-2016 / 12:19:25 / cg" |
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
306 |
! |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
307 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
308 |
productName |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
309 |
"Return a product name which will appear in <lib>.rc" |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
310 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
311 |
^ 'Smalltalk/X' |
3002 | 312 |
! ! |
313 |
||
314 |
!stx_libwidg2 class methodsFor:'documentation'! |
|
315 |
||
316 |
version |
|
4792 | 317 |
^ '$Header$' |
3793 | 318 |
! |
319 |
||
320 |
version_CVS |
|
4792 | 321 |
^ '$Header$' |
3002 | 322 |
! ! |
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
323 |