author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 21 May 2015 21:00:16 +0100 | |
branch | jv |
changeset 4769 | 17172bc64232 |
parent 4743 | 8ff3613a4e99 |
child 4770 | 6634b540fea2 |
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 |
|
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...) |
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" |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
135 |
AbstractHierarchicalItem |
4017 | 136 |
AssistantApplication |
3113 | 137 |
CharacterSetView |
3096 | 138 |
CheckBox |
139 |
ComboBoxButton |
|
140 |
ComboView |
|
141 |
DSVColumnView |
|
142 |
DSVLabelView |
|
143 |
DataSetColumn |
|
144 |
DataSetLabel |
|
145 |
DataSetView |
|
146 |
DoWhatIMeanSupport |
|
147 |
EnterBoxWithList |
|
148 |
ExtendedComboBox |
|
149 |
FilenameEditField |
|
150 |
FilenameEnterBox |
|
4017 | 151 |
FilenameWidgetWithHistory |
3096 | 152 |
GridBagConstraints |
153 |
GridBagLayoutInfo |
|
154 |
GridBagLayoutView |
|
4017 | 155 |
HierarchicalDropTargetController |
3096 | 156 |
HierarchicalList |
157 |
HierarchyNode |
|
158 |
ImageView |
|
159 |
LabelledEnterField |
|
4017 | 160 |
LinkButton |
161 |
LinkButtonController |
|
3096 | 162 |
ListEntry |
163 |
ListModelView |
|
164 |
MenuPanel |
|
165 |
MultipleItemSelectionWidget |
|
166 |
NoteBookView |
|
167 |
PrintAbortDialog |
|
168 |
PrintingDialog |
|
169 |
ProgressIndicator |
|
4017 | 170 |
ProgressNotification |
3096 | 171 |
SelectionInHierarchy |
172 |
SelectionInTree |
|
173 |
SelectionInTreeView |
|
174 |
Separator |
|
175 |
Slider |
|
4009 | 176 |
SteppingSlider |
3096 | 177 |
SubCanvas |
178 |
SyncedMultiColumnTextView |
|
179 |
TabItem |
|
180 |
TabSpecRuler |
|
181 |
TabWidget |
|
182 |
TabulatorSpecification |
|
4017 | 183 |
TerminalView |
3096 | 184 |
TextBox |
185 |
TreeItem |
|
186 |
UpDownButton |
|
187 |
ViewScroller |
|
188 |
#'stx_libwidg2' |
|
4017 | 189 |
ColorMenu |
190 |
ComboBoxView |
|
191 |
ComboListView |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
192 |
CompactHierarchicalItem |
4017 | 193 |
FileSelectionItem |
194 |
FileSelectionTree |
|
195 |
FilenameWidgetWithoutHistory |
|
196 |
FontMenu |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
197 |
HierarchicalItem |
4017 | 198 |
HorizontalSlider |
199 |
HorizontalSteppingSlider |
|
200 |
ImageEditView |
|
201 |
ModelListEntry |
|
202 |
MultiColListEntry |
|
203 |
SelectionInListModelView |
|
204 |
TabView |
|
205 |
ThreeColumnTextView |
|
206 |
TreeItemWithImage |
|
4540 | 207 |
TriggerBox |
4017 | 208 |
TwoColumnTextView |
4540 | 209 |
VT100TerminalView |
4017 | 210 |
FilenameComboBoxView |
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
211 |
HierarchicalFileList |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
212 |
HierarchicalItemWithLabel |
4017 | 213 |
HierarchicalListView |
214 |
LabelAndIcon |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
215 |
HierarchicalItemWithLabelAndIcon |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
216 |
LabelAndTwoIcons |
4017 | 217 |
HierarchicalItemWithLabelAndIconAndValue |
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
218 |
(KeyboardView autoload) |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
219 |
(MenuButton autoload) |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
220 |
(StrokeView autoload) |
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
221 |
(TabControl autoload) |
4540 | 222 |
(ColoredListEntry autoload) |
223 |
(ComboBrowseView autoload) |
|
224 |
(ComboUpDownView autoload) |
|
225 |
(GraphColumn autoload) |
|
226 |
(GraphColumnView autoload) |
|
227 |
(GraphColumnView2D autoload) |
|
228 |
(GraphColumnView2DSpec autoload) |
|
229 |
(GraphColumnView3D autoload) |
|
230 |
(GraphColumnView3DSpec autoload) |
|
231 |
(GraphColumnViewSpec autoload) |
|
232 |
(HorizontalScale autoload) |
|
233 |
(ImageSelectionBox autoload) |
|
234 |
(ListEditor autoload) |
|
235 |
(MotionButton autoload) |
|
236 |
(NoteBookFrameView autoload) |
|
237 |
(ParagraphSpecification autoload) |
|
238 |
(RoundButton autoload) |
|
239 |
(Ruler autoload) |
|
240 |
(Scale autoload) |
|
241 |
(SelectionInHierarchyView autoload) |
|
242 |
(TextRuler autoload) |
|
243 |
(VT52TerminalView autoload) |
|
244 |
(VerticalRuler autoload) |
|
3096 | 245 |
) |
4017 | 246 |
! |
4009 | 247 |
|
4017 | 248 |
extensionMethodNames |
249 |
"lists the extension methods which are to be included in the project. |
|
250 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
251 |
||
252 |
^ #( |
|
253 |
) |
|
3096 | 254 |
! ! |
255 |
||
3002 | 256 |
!stx_libwidg2 class methodsFor:'description - project information'! |
257 |
||
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
258 |
applicationIconFileName |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
259 |
"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
|
260 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
261 |
^ nil |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
262 |
"/ ^ self applicationName |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
263 |
! |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
264 |
|
3002 | 265 |
companyName |
266 |
"Return a companyname which will appear in <lib>.rc" |
|
267 |
||
268 |
^ 'eXept Software AG' |
|
269 |
! |
|
270 |
||
271 |
description |
|
272 |
"Return a description string which will appear in nt.def / bc.def" |
|
273 |
||
3029 | 274 |
^ 'Smalltalk/X Additional Widgets' |
275 |
! |
|
276 |
||
3002 | 277 |
legalCopyright |
3753 | 278 |
"Return a copyright string which will appear in <lib>.rc" |
3002 | 279 |
|
4134 | 280 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
3273 | 281 |
|
4134 | 282 |
"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
|
283 |
! |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
284 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
285 |
productName |
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
286 |
"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
|
287 |
|
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
288 |
^ 'Smalltalk/X' |
3002 | 289 |
! ! |
290 |
||
291 |
!stx_libwidg2 class methodsFor:'documentation'! |
|
292 |
||
293 |
version |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
294 |
^ '$Header: /cvs/stx/stx/libwidg2/stx_libwidg2.st,v 1.53 2015-05-01 14:41:51 cg Exp $' |
3793 | 295 |
! |
296 |
||
297 |
version_CVS |
|
4743
8ff3613a4e99
new class: CompactHierarchicalItem
Claus Gittinger <cg@exept.de>
parents:
4713
diff
changeset
|
298 |
^ '$Header: /cvs/stx/stx/libwidg2/stx_libwidg2.st,v 1.53 2015-05-01 14:41:51 cg Exp $' |
3002 | 299 |
! ! |
4179
d033737183e6
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4147
diff
changeset
|
300 |