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