author | Claus Gittinger <cg@exept.de> |
Sat, 31 Jan 2015 13:58:40 +0100 | |
changeset 4699 | 8f3feb1c2ba1 |
parent 4675 | de4c87d0d088 |
child 4713 | b39fc77035f1 |
permissions | -rw-r--r-- |
3028 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
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 |
" |
|
27 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
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 |
|
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
43 |
This library contains additional gui components (widgets). |
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
44 |
These are less often used and can (in theory) be left out of simple end-user |
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
45 |
applications. |
3028 | 46 |
" |
47 |
! ! |
|
3002 | 48 |
|
49 |
!stx_libwidg2 class methodsFor:'description'! |
|
50 |
||
3027 | 51 |
additionalClassNamesAndAttributes |
3002 | 52 |
^ #( |
3014 | 53 |
"/ <className> or (<className> attributes...) |
54 |
'LicenceBox' |
|
3002 | 55 |
) |
3014 | 56 |
|
3027 | 57 |
"Created: / 21-08-2006 / 19:52:03 / cg" |
58 |
! |
|
59 |
||
3232 | 60 |
excludedFromPreRequisites |
4017 | 61 |
"list all packages which should be ignored in the automatic |
62 |
preRequisites scan. See #preRequisites for more." |
|
63 |
||
3232 | 64 |
^ #( |
65 |
#'stx:clients/Demos' "CodingExamples_GUI::GUIDemoNoteBook - referenced by TabItem class>>test " |
|
66 |
#'stx:goodies' "IdentityDictionaryWithDefault - referenced by GridBagLayoutInfo>>initialize " |
|
67 |
#'stx:goodies/postscript' "PSGraphicsContext - referenced by ImageEditView>>printWithMagnification: " |
|
68 |
#'stx:libtool' "FileBrowser - referenced by HierarchicalFileList::Directory>>icon " |
|
69 |
#'stx:libtool2' "ImageEditor - referenced by ImageEditView class>>classResources " |
|
70 |
#'stx:libwidg3' "ClockView - referenced by TabItem class>>test " |
|
3378 | 71 |
#'stx:goodies/refactoryBrowser/parser' "RBParser - referenced by DoWhatIMeanSupport class>>findNodeForInterval:in: " |
72 |
#'stx:libcomp' "Parser - referenced by DoWhatIMeanSupport class>>codeCompletionForMessage:inClass:codeView: " |
|
73 |
#'stx:libhtml' "HTMLDocumentView - referenced by LicenceBox>>initialize " |
|
3232 | 74 |
) |
75 |
! |
|
76 |
||
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
77 |
mandatoryPreRequisites |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
78 |
"list all required mandatory packages. |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
79 |
Packages are mandatory, if they contain superclasses of the package's classes |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
80 |
or classes which are extended by this package. |
4017 | 81 |
This list can be maintained manually or (better) generated and |
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
82 |
updated by scanning the superclass hierarchies |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
83 |
(the browser has a menu function for that) |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
84 |
However, often too much is found, and you may want to explicitely |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
85 |
exclude individual packages in the #excludedFromPreRequisites method." |
3157 | 86 |
|
87 |
^ #( |
|
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
88 |
#'stx:libbasic' "Notification - superclass of ProgressNotification " |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
89 |
#'stx:libbasic2' "List - superclass of HierarchicalList " |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
90 |
#'stx:libview' "TopView - superclass of ExtendedComboBox::MenuWrapper " |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
91 |
#'stx:libview2' "ApplicationModel - superclass of PrintingDialog " |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
92 |
#'stx:libwidg' "ListView - superclass of FilenameEditField " |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
93 |
) |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
94 |
! |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
95 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
96 |
referencedPreRequisites |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
97 |
"list all packages containing classes referenced by the packages's members. |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
98 |
This list can be maintained manually or (better) generated and |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
99 |
updated by looking for global variable accesses |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
100 |
(the browser has a menu function for that) |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
101 |
However, often too much is found, and you may want to explicitely |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
102 |
exclude individual packages in the #excludedFromPreRequisites method." |
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 |
#'stx:libui' "DividerSpec - referenced by Separator>>specClass " |
3157 | 106 |
) |
3002 | 107 |
! ! |
108 |
||
3055 | 109 |
!stx_libwidg2 class methodsFor:'description - compilation'! |
110 |
||
3746 | 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 |
||
3055 | 115 |
^ ' |
3163 | 116 |
# see stdHeader_bc for LIBWIDG2_BASE |
3746 | 117 |
LIB_BASE=$(LIBWIDG2_BASE) |
3055 | 118 |
' |
4675 | 119 |
! |
120 |
||
121 |
stcWarningOptions |
|
122 |
^ '-warnNonStandard -warnUnused' |
|
3055 | 123 |
! ! |
124 |
||
3096 | 125 |
!stx_libwidg2 class methodsFor:'description - contents'! |
126 |
||
127 |
classNamesAndAttributes |
|
3949 | 128 |
"lists the classes which are to be included in the project. |
129 |
Each entry in the list may be: a single class-name (symbol), |
|
130 |
or an array-literal consisting of class name and attributes. |
|
131 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
132 |
||
3096 | 133 |
^ #( |
134 |
"<className> or (<className> attributes...) in load order" |
|
4017 | 135 |
AssistantApplication |
3113 | 136 |
CharacterSetView |
3096 | 137 |
CheckBox |
138 |
ComboBoxButton |
|
139 |
ComboView |
|
140 |
DSVColumnView |
|
141 |
DSVLabelView |
|
142 |
DataSetColumn |
|
143 |
DataSetLabel |
|
144 |
DataSetView |
|
145 |
DoWhatIMeanSupport |
|
146 |
EnterBoxWithList |
|
147 |
ExtendedComboBox |
|
148 |
FilenameEditField |
|
149 |
FilenameEnterBox |
|
4017 | 150 |
FilenameWidgetWithHistory |
3096 | 151 |
GridBagConstraints |
152 |
GridBagLayoutInfo |
|
153 |
GridBagLayoutView |
|
4017 | 154 |
HierarchicalDropTargetController |
3096 | 155 |
HierarchicalItem |
156 |
HierarchicalList |
|
157 |
HierarchyNode |
|
158 |
ImageView |
|
4540 | 159 |
(KeyboardView autoload) |
3096 | 160 |
LabelledEnterField |
4017 | 161 |
LinkButton |
162 |
LinkButtonController |
|
3096 | 163 |
ListEntry |
164 |
ListModelView |
|
165 |
(MenuButton autoload) |
|
166 |
MenuPanel |
|
167 |
MultipleItemSelectionWidget |
|
168 |
NoteBookView |
|
169 |
PrintAbortDialog |
|
170 |
PrintingDialog |
|
171 |
ProgressIndicator |
|
4017 | 172 |
ProgressNotification |
3096 | 173 |
SelectionInHierarchy |
174 |
SelectionInTree |
|
175 |
SelectionInTreeView |
|
176 |
Separator |
|
177 |
Slider |
|
4009 | 178 |
SteppingSlider |
3096 | 179 |
(StrokeView autoload) |
180 |
SubCanvas |
|
181 |
SyncedMultiColumnTextView |
|
182 |
TabItem |
|
183 |
TabSpecRuler |
|
184 |
TabWidget |
|
185 |
TabulatorSpecification |
|
4017 | 186 |
TerminalView |
3096 | 187 |
TextBox |
188 |
TreeItem |
|
189 |
UpDownButton |
|
190 |
ViewScroller |
|
191 |
#'stx_libwidg2' |
|
4017 | 192 |
ColorMenu |
193 |
ComboBoxView |
|
194 |
ComboListView |
|
195 |
FileSelectionItem |
|
196 |
FileSelectionTree |
|
197 |
FilenameWidgetWithoutHistory |
|
198 |
FontMenu |
|
199 |
HierarchicalFileList |
|
200 |
HierarchicalItemWithLabel |
|
201 |
HorizontalSlider |
|
202 |
HorizontalSteppingSlider |
|
203 |
ImageEditView |
|
204 |
ModelListEntry |
|
205 |
MultiColListEntry |
|
206 |
SelectionInListModelView |
|
4540 | 207 |
(TabControl autoload) |
4017 | 208 |
TabView |
209 |
ThreeColumnTextView |
|
210 |
TreeItemWithImage |
|
4540 | 211 |
TriggerBox |
4017 | 212 |
TwoColumnTextView |
4540 | 213 |
VT100TerminalView |
4017 | 214 |
FilenameComboBoxView |
215 |
HierarchicalItemWithLabelAndIcon |
|
216 |
HierarchicalListView |
|
217 |
LabelAndIcon |
|
218 |
HierarchicalItemWithLabelAndIconAndValue |
|
3793 | 219 |
LabelAndTwoIcons |
4540 | 220 |
(ColoredListEntry autoload) |
221 |
(ComboBrowseView autoload) |
|
222 |
(ComboUpDownView autoload) |
|
223 |
(GraphColumn autoload) |
|
224 |
(GraphColumnView autoload) |
|
225 |
(GraphColumnView2D autoload) |
|
226 |
(GraphColumnView2DSpec autoload) |
|
227 |
(GraphColumnView3D autoload) |
|
228 |
(GraphColumnView3DSpec autoload) |
|
229 |
(GraphColumnViewSpec autoload) |
|
230 |
(HorizontalScale autoload) |
|
231 |
(ImageSelectionBox autoload) |
|
232 |
(ListEditor autoload) |
|
233 |
(MotionButton autoload) |
|
234 |
(NoteBookFrameView autoload) |
|
235 |
(ParagraphSpecification autoload) |
|
236 |
(RoundButton autoload) |
|
237 |
(Ruler autoload) |
|
238 |
(Scale autoload) |
|
239 |
(SelectionInHierarchyView autoload) |
|
240 |
(TextRuler autoload) |
|
241 |
(VT52TerminalView autoload) |
|
242 |
(VerticalRuler autoload) |
|
3096 | 243 |
) |
4017 | 244 |
! |
4009 | 245 |
|
4017 | 246 |
extensionMethodNames |
247 |
"lists the extension methods which are to be included in the project. |
|
248 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
249 |
||
250 |
^ #( |
|
251 |
) |
|
3096 | 252 |
! ! |
253 |
||
3002 | 254 |
!stx_libwidg2 class methodsFor:'description - project information'! |
255 |
||
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
256 |
applicationIconFileName |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
257 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
258 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
259 |
^ nil |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
260 |
"/ ^ self applicationName |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
261 |
! |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
262 |
|
3002 | 263 |
companyName |
264 |
"Return a companyname which will appear in <lib>.rc" |
|
265 |
||
266 |
^ 'eXept Software AG' |
|
267 |
! |
|
268 |
||
269 |
description |
|
270 |
"Return a description string which will appear in nt.def / bc.def" |
|
271 |
||
3029 | 272 |
^ 'Smalltalk/X Additional Widgets' |
273 |
! |
|
274 |
||
3002 | 275 |
legalCopyright |
3753 | 276 |
"Return a copyright string which will appear in <lib>.rc" |
3002 | 277 |
|
4134 | 278 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
3273 | 279 |
|
4134 | 280 |
"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
|
281 |
! |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
282 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
283 |
productName |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
284 |
"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
|
285 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
286 |
^ 'Smalltalk/X' |
3002 | 287 |
! ! |
288 |
||
289 |
!stx_libwidg2 class methodsFor:'documentation'! |
|
290 |
||
291 |
version |
|
4699
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
292 |
^ '$Header: /cvs/stx/stx/libwidg2/stx_libwidg2.st,v 1.51 2015-01-31 12:58:40 cg Exp $' |
3793 | 293 |
! |
294 |
||
295 |
version_CVS |
|
4699
8f3feb1c2ba1
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
4675
diff
changeset
|
296 |
^ '$Header: /cvs/stx/stx/libwidg2/stx_libwidg2.st,v 1.51 2015-01-31 12:58:40 cg Exp $' |
3002 | 297 |
! ! |
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
298 |