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