author | Claus Gittinger <cg@exept.de> |
Fri, 25 Feb 2000 16:51:25 +0100 | |
changeset 1364 | c931ea91276c |
parent 1359 | ea946edbf5fb |
child 1386 | 5b562fd44e68 |
permissions | -rw-r--r-- |
164 | 1 |
" |
2 |
COPYRIGHT (c) 1995 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 |
" |
|
12 |
||
13 |
||
14 |
||
15 |
||
16 |
ApplicationModel subclass:#UISpecificationTool |
|
759 | 17 |
instanceVariableNames:'modifiedHolder aspects specification selection specChannel |
1307 | 18 |
buildInView listOfSpecViews' |
164 | 19 |
classVariableNames:'' |
20 |
poolDictionaries:'' |
|
21 |
category:'Interface-UIPainter' |
|
22 |
! |
|
23 |
||
1307 | 24 |
ViewScroller subclass:#BuildInView |
25 |
instanceVariableNames:'outerFrame' |
|
26 |
classVariableNames:'' |
|
27 |
poolDictionaries:'' |
|
28 |
privateIn:UISpecificationTool |
|
29 |
! |
|
30 |
||
164 | 31 |
!UISpecificationTool class methodsFor:'documentation'! |
32 |
||
33 |
copyright |
|
34 |
" |
|
35 |
COPYRIGHT (c) 1995 by eXept Software AG |
|
36 |
All Rights Reserved |
|
37 |
||
38 |
This software is furnished under a license and may be used |
|
39 |
only in accordance with the terms of that license and with the |
|
40 |
inclusion of the above copyright notice. This software may not |
|
41 |
be provided or otherwise made available to, or used by, any |
|
42 |
other person. No title to or ownership of the software is |
|
43 |
hereby transferred. |
|
44 |
" |
|
45 |
||
46 |
||
47 |
||
48 |
! |
|
49 |
||
50 |
documentation |
|
51 |
" |
|
52 |
used by the UIPainter to manipulate the specifications of the selected component |
|
53 |
||
54 |
[author:] |
|
55 |
Claus Atzkern |
|
56 |
||
57 |
[see also:] |
|
58 |
UIPainter |
|
59 |
UILayoutTool |
|
60 |
UIHelpTool |
|
61 |
" |
|
62 |
! ! |
|
63 |
||
172 | 64 |
!UISpecificationTool class methodsFor:'help specs'! |
65 |
||
66 |
helpSpec |
|
752 | 67 |
"This resource specification was automatically generated |
68 |
by the UIHelpTool of ST/X." |
|
69 |
||
70 |
"Do not manually edit this!! If it is corrupted, |
|
71 |
the UIHelpTool may not be able to read the specification." |
|
294 | 72 |
|
847 | 73 |
" |
752 | 74 |
UIHelpTool openOnClass:UISpecificationTool |
172 | 75 |
" |
294 | 76 |
|
752 | 77 |
<resource: #help> |
78 |
||
79 |
^super helpSpec addPairsFrom:#( |
|
172 | 80 |
|
580 | 81 |
#acceptChannel |
780 | 82 |
'Aspect selector or binding for accepting the entry.' |
580 | 83 |
|
367 | 84 |
#acceptImmediate |
801 | 85 |
'Enable sending of the entered string to the model with every key press.' |
367 | 86 |
|
87 |
#acceptOnLeave |
|
1153 | 88 |
'Enable sending of the entered string to the model when field is left via a keyboard action.' |
367 | 89 |
|
540 | 90 |
#acceptOnLostFocus |
801 | 91 |
'Enable sending of the entered string to the model when the field looses its input focus.' |
540 | 92 |
|
1153 | 93 |
#acceptOnPointerLeaveFocus |
94 |
'Enable sending of the entered string to the model when field is left via a mouse motion.' |
|
95 |
||
367 | 96 |
#acceptOnReturn |
801 | 97 |
'Enable sending of the entered string to the model when the RETURN key is pressed.' |
367 | 98 |
|
99 |
#acceptOnTab |
|
801 | 100 |
'Enable sending of the entered string to the model when the TAB key is pressed.' |
367 | 101 |
|
303 | 102 |
#action |
801 | 103 |
'Name of the message sent to the application when the widget is activated.' |
303 | 104 |
|
367 | 105 |
#actionArg |
801 | 106 |
'Optional argument passed with the action message.' |
367 | 107 |
|
540 | 108 |
#appletParamText |
109 |
'Paste the complete appletTAGs HTML text here (i.e. all from <applet> up to and including the </applet>). Press parse to extract all parameters from it.' |
|
110 |
||
111 |
#appletTextParse |
|
112 |
'Parse the appletTAG and fill the parameters directory from it.' |
|
113 |
||
350 | 114 |
#arbitraryView |
1344 | 115 |
'Message sent to the application to provide the view instance, or name of the views class.' |
294 | 116 |
|
540 | 117 |
#archiveEntry |
118 |
'The name of a zip-file archive, if the class(es) are to be loaded from a zip-archive.' |
|
119 |
||
120 |
#arrowButtonDirection |
|
780 | 121 |
'Defines the direction of the arrow.' |
540 | 122 |
|
350 | 123 |
#autoRepeat |
1154 | 124 |
'Enable auto-repeat of the action as long as the button is pressed (Must be Trigger-on-Down).' |
307 | 125 |
|
367 | 126 |
#backgroundChannel |
1165 | 127 |
'Aspect selector or binding for a background color holder.' |
367 | 128 |
|
350 | 129 |
#backgroundColor |
780 | 130 |
'Defines the background color of the widget.' |
303 | 131 |
|
350 | 132 |
#beDefault |
801 | 133 |
'Show a default (-return) bitmap after the label.' |
307 | 134 |
|
580 | 135 |
#beDependentOfRows |
1164 | 136 |
'Make the widget dependent on each row (ie rows send change messages).' |
580 | 137 |
|
350 | 138 |
#booleanHolder |
837 | 139 |
'Aspect selector or binding for a boolean holder which enables the widget.' |
294 | 140 |
|
1166 | 141 |
#booleanModel |
142 |
'Aspect selector or binding for a holder on the boolean state.' |
|
143 |
||
350 | 144 |
#borderWidth |
783 | 145 |
'Defines the width of the border (in pixels).' |
303 | 146 |
|
1166 | 147 |
#buttonModelArg |
148 |
'Value stored into the model when the button is pressed.' |
|
149 |
||
307 | 150 |
#canvas |
780 | 151 |
'Aspect selector or binding for the widget placed into the notebook.' |
294 | 152 |
|
350 | 153 |
#canvasArgument |
801 | 154 |
'An optional argument passed with the message.' |
350 | 155 |
|
1331 | 156 |
#canvasFrameLevel |
157 |
'3D Level of frame around canvas.' |
|
158 |
||
159 |
#canvasInset |
|
160 |
'Inset of canvas; a Point or Integer; leave blank for default.' |
|
161 |
||
350 | 162 |
#canvasSelector |
801 | 163 |
'The name of the message sent to the application after opening the canvas.' |
350 | 164 |
|
1153 | 165 |
#chartHolder |
166 |
'Value holder on a chart description.' |
|
167 |
||
168 |
#chartLabel |
|
169 |
'Label string shown with the chart.' |
|
170 |
||
580 | 171 |
#clientHolder |
801 | 172 |
'Aspect selector or binding for a holder on the client application to be opened.' |
580 | 173 |
|
350 | 174 |
#clientKey |
1364 | 175 |
'Message send to the master application to return an application instance; Default: master application itself.' |
350 | 176 |
|
540 | 177 |
#codeBaseHolder |
178 |
'The URL of the directory, where the classFile-file resides. If the classFile is located on the local machine, use\ file:/<fullPath>\ where fullPath is an absolute pathname. If its to be accessed via http, use\ http:/<host>/<relativePath>\ where relativePath is the path relative to the http''s top diretory on that host.' |
|
179 |
||
180 |
#codeFileEntry |
|
801 | 181 |
'The name of the java classFile which contains the applets code. For example: ''ArcTest.class''' |
540 | 182 |
|
1164 | 183 |
#columnAdaptor |
184 |
'Name of a method in the application which returns a column adaptor.' |
|
185 |
||
580 | 186 |
#columnButton |
780 | 187 |
'Opens a Table Columns Builder.' |
580 | 188 |
|
189 |
#columnHolder |
|
801 | 190 |
'Aspect selector or binding for a holder on the list of the column descriptions.' |
580 | 191 |
|
1176 | 192 |
#componentsChangeSize |
193 |
'Recompute layout when any component changes its size.' |
|
194 |
||
1165 | 195 |
#converter |
196 |
'Method in the application returning a typeconverter.' |
|
847 | 197 |
|
1359 | 198 |
#createNewApplication |
1364 | 199 |
'Create a new appModel instance for the subCanvas (Client & clientHolder must be empty).' |
1359 | 200 |
|
201 |
#createNewBuilder |
|
1364 | 202 |
'Create a new builder instance for the subCanvas (subApp will use its own aspects).' |
1359 | 203 |
|
1176 | 204 |
#dblClickChannel |
205 |
'Aspect selector or binding for a holder on the double-clicked item.' |
|
206 |
||
350 | 207 |
#defaultLabel |
780 | 208 |
'Default label (used, if nothing selected).' |
350 | 209 |
|
210 |
#document |
|
855 | 211 |
'Aspect selector or binding for a holder of the URL of the document.' |
350 | 212 |
|
213 |
#doubleClickSelector |
|
1028 | 214 |
'Message sent to the application upon double click.' |
580 | 215 |
|
216 |
#downAction |
|
801 | 217 |
'Name of the message sent to the application when the down(right)-button is pressed.' |
294 | 218 |
|
1157
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
219 |
#dragDisplayObjects |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
220 |
'Message with one argument the DropSource, to get the list of Objects displayed during dragging' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
221 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
222 |
#dragDropObjects |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
223 |
'Message with one argument the DropSource, to get the list of DropObjects' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
224 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
225 |
#dragFeedBack |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
226 |
'Optional Message with one argument, the DropContext, to give a feedBack of the finished operation' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
227 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
228 |
#dragStart |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
229 |
'Optional Message with two arguments, the DropSource and the view, called to start your own handler' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
230 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
231 |
#dragStartArgument |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
232 |
'Optional user defined argument stored in the DropSource' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
233 |
|
1190 | 234 |
#drawBoxChannel |
235 |
'Boolean aspect which controls box-display.' |
|
236 |
||
237 |
#drawNormalsChannel |
|
238 |
'Boolean aspect which controls normals-display.' |
|
239 |
||
1157
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
240 |
#dropArgument |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
241 |
'Optional user defined argument stored in the DropTarget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
242 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
243 |
#dropCanCheck |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
244 |
'Message with one argument, the DropContext, to asked if the context could be dropped' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
245 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
246 |
#dropEnter |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
247 |
'Optional Message with one argument, the DropContext, send the first time when entering the widget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
248 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
249 |
#dropLeave |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
250 |
'Optional Message with one argument, the DropContext, send the last time when leaving the widget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
251 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
252 |
#dropOver |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
253 |
'Optional Message with one argument, the DropContext, send all the time when moveing over the widget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
254 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
255 |
#dropSelector |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
256 |
'Message with one argument, the DropContext, to drop the collection of objects' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
257 |
|
350 | 258 |
#enableChannel |
837 | 259 |
'Aspect selector or binding for a boolean holder which enables the widget.' |
350 | 260 |
|
1161 | 261 |
#endMotionCallBack |
262 |
'Method invoked with end of thumb motion.' |
|
263 |
||
1051 | 264 |
#escapeIsCancelInDialog |
265 |
'If on, and the window is opened modal, the ESC-Key acts like a Cancel-action' |
|
266 |
||
580 | 267 |
#fileSelectionFilterClas |
801 | 268 |
'The name of the item class used to create the entries into the hierarchical list.' |
580 | 269 |
|
350 | 270 |
#fileSelectionTreeRoot |
801 | 271 |
'Aspect selector or binding for a holder on the root directories path name.' |
350 | 272 |
|
580 | 273 |
#fitLastRow |
801 | 274 |
'Resize the last row to fit the width of the widget.' |
580 | 275 |
|
350 | 276 |
#fontMenu |
801 | 277 |
'Defines the font used by the widget.' |
294 | 278 |
|
367 | 279 |
#forceRecursiveBackground |
801 | 280 |
'If on, the background color is recursively set in all sub components.' |
367 | 281 |
|
540 | 282 |
#foregroundChannel |
801 | 283 |
'Aspect selector or binding for a foreground color holder.' |
540 | 284 |
|
350 | 285 |
#foregroundColor |
780 | 286 |
'Defines the foreground color of the widget.' |
350 | 287 |
|
288 |
#galleryLabels |
|
801 | 289 |
'Aspect selector or binding for a holder on the label list.' |
350 | 290 |
|
291 |
#galleryModel |
|
780 | 292 |
'Aspect selector or binding for the selected label.' |
294 | 293 |
|
307 | 294 |
#gallerySelection |
801 | 295 |
'Aspect selector or binding for a holder which gets the windowSpec of the selected widget.' |
307 | 296 |
|
294 | 297 |
#gallerySelectors |
801 | 298 |
'Name of the message sent to the application returning a list of resource spec selectors.' |
294 | 299 |
|
1190 | 300 |
#glxGraphXMax |
301 |
'range end x' |
|
302 |
||
303 |
#glxGraphXMin |
|
304 |
'range start x' |
|
305 |
||
306 |
#glxGraphXStep |
|
307 |
'range step x' |
|
308 |
||
309 |
#glxGraphYMax |
|
310 |
'range end y' |
|
311 |
||
312 |
#glxGraphYMin |
|
313 |
'range start y' |
|
314 |
||
315 |
#glxGraphYStep |
|
316 |
'range step y' |
|
317 |
||
1164 | 318 |
#has3Dseparators |
801 | 319 |
'Enable 3D-look row/column separators.' |
367 | 320 |
|
1082 | 321 |
#hasBorder |
322 |
'Draw a border around the widget - ignored in 3D view styles (ST80 compatibility).' |
|
323 |
||
350 | 324 |
#hierarchicalList |
801 | 325 |
'Aspect selector or binding for a root item holder.' |
350 | 326 |
|
327 |
#hierarchicalListButton |
|
780 | 328 |
'Opens a Hierarchical List Editor on the application class and the defined selector.' |
294 | 329 |
|
1153 | 330 |
#highlightMode |
331 |
'Defines how selected items are highlighted' |
|
332 |
||
350 | 333 |
#horizontalLayout |
801 | 334 |
'Defines how sub components are arranged horizontally.' |
350 | 335 |
|
336 |
#horizontalMiniScroller |
|
801 | 337 |
'Use a mini-scroller as horizontal scrollbar.' |
294 | 338 |
|
350 | 339 |
#horizontalScroller |
801 | 340 |
'Enable horizontal scrollability.' |
350 | 341 |
|
580 | 342 |
#horizontalSpace |
801 | 343 |
'Horizontal space between sub components (in pixels).' |
580 | 344 |
|
350 | 345 |
#id |
780 | 346 |
'Unique symbolic name (ID) of the widget.' |
303 | 347 |
|
540 | 348 |
#initiallyDisabled |
801 | 349 |
'Widget is initially disabled.' |
540 | 350 |
|
367 | 351 |
#initiallyInvisible |
801 | 352 |
'Widget is initially invisible.' |
367 | 353 |
|
354 |
#inputFieldGroup |
|
780 | 355 |
'Unique symbolic name (ID) for the group of the entry field.' |
367 | 356 |
|
350 | 357 |
#isMultiSelect |
801 | 358 |
'Enable/disable multiple selections.' |
294 | 359 |
|
580 | 360 |
#isOpaque |
801 | 361 |
'If on, the widget is displayed opaque; if off, its transparent.' |
580 | 362 |
|
350 | 363 |
#isTriggerOnDown |
801 | 364 |
'If on, the button triggers its action when pressed. If off, it triggers on release.' |
303 | 365 |
|
1153 | 366 |
#itemChildrenSelector |
367 |
'Method in the application to return a block retrieveing nodes (lazy) children.' |
|
368 |
||
369 |
#itemContentsSelector |
|
370 |
'Method in the application to return a block retrieveing a nodes (lazy) contents.' |
|
371 |
||
372 |
#itemIconSelector |
|
373 |
'Method in the application to return a block retrieveing nodes (lazy) icon.' |
|
374 |
||
375 |
#itemLabelSelector |
|
376 |
'Method in the application to return a block retrieveing nodes (lazy) label.' |
|
377 |
||
1181 | 378 |
#keepCanvasAlive |
379 |
'If on, the view is unmapped when switching; otherwise, its destroyed.' |
|
380 |
||
1161 | 381 |
#keyboardStep |
382 |
'Defines the step used with cursor keys.' |
|
383 |
||
303 | 384 |
#label |
801 | 385 |
'The label of the widget.' |
303 | 386 |
|
1176 | 387 |
#labelAlignment |
388 |
'Specifies how the labels logo is positioned within the Label.' |
|
389 |
||
367 | 390 |
#labelChannel |
801 | 391 |
'Aspect selector or binding for a labelString holder.' |
367 | 392 |
|
393 |
#labelIsImage |
|
837 | 394 |
'Label is actually the selector if a message providing an image-label.' |
367 | 395 |
|
580 | 396 |
#labelPositionList |
780 | 397 |
'Defines the position of the label.' |
580 | 398 |
|
540 | 399 |
#lampColor |
801 | 400 |
'Defines the lamps color.' |
540 | 401 |
|
350 | 402 |
#level |
1028 | 403 |
'Level of the 3D-border (in pixels); Take widgets default, if left empty.' |
350 | 404 |
|
405 |
#listHolder |
|
801 | 406 |
'Aspect selector or binding for the list holder.' |
350 | 407 |
|
408 |
#majorKey |
|
801 | 409 |
'Name of the class which provides the window spec. If empty, the application itself is used.' |
350 | 410 |
|
411 |
#maxChars |
|
801 | 412 |
'Maximum number of characters in the field.' |
350 | 413 |
|
414 |
#maxSize |
|
415 |
'Those two fields specify the windows maximum size. The user will not be allowed to resize it to a larger size.' |
|
416 |
||
847 | 417 |
#maxValue |
418 |
'An optional maximum value (if fieldType = numberInRange)' |
|
419 |
||
350 | 420 |
#maxXField |
801 | 421 |
'The maximum width of the applications topWindow.' |
350 | 422 |
|
423 |
#maxYField |
|
801 | 424 |
'The maximum height of the applications topWindow.' |
350 | 425 |
|
426 |
#menuButton |
|
801 | 427 |
'Open a Menu Editor on the menu.' |
350 | 428 |
|
429 |
#menuId |
|
1051 | 430 |
'Aspect selector or binding providing the menu spec.' |
350 | 431 |
|
432 |
#menuPerformer |
|
801 | 433 |
'Aspect selector or binding providing the receiver of menu messages.' |
350 | 434 |
|
435 |
#middleButtonPressed |
|
801 | 436 |
'Name of the message sent to the application when the middle button is pressed.' |
350 | 437 |
|
847 | 438 |
#minValue |
439 |
'An optional minimum value (if fieldType = numberInRange)' |
|
440 |
||
350 | 441 |
#minXField |
801 | 442 |
'The minimum width of the applications topWindow.' |
350 | 443 |
|
444 |
#minYField |
|
801 | 445 |
'The minimum height of the applications topWindow.' |
350 | 446 |
|
294 | 447 |
#minorKey |
1364 | 448 |
'Message sent to the class which returns the window specification (default: windowSpec).' |
350 | 449 |
|
1162 | 450 |
#model |
451 |
'Aspect selector or binding providing the model of the widget.' |
|
452 |
||
580 | 453 |
#modifiedChannel |
801 | 454 |
'Aspect selector or binding for a holder for the modified-flag.' |
580 | 455 |
|
456 |
#monitoring |
|
801 | 457 |
'Enable automatic update whenever the directory is modified.' |
580 | 458 |
|
459 |
#monitoringDelayTime |
|
801 | 460 |
'Time in seconds between updates (if monitoring is enabled).' |
580 | 461 |
|
462 |
#moveSelectedRow |
|
801 | 463 |
'Enable/disable automatic movement of the row containing the selected tab item.' |
580 | 464 |
|
350 | 465 |
#oneTabPerLine |
801 | 466 |
'Arrange tabs vertically, with only one tab item per row.' |
350 | 467 |
|
610
c6dc33689c6a
Add help for subSpec GUI Painter opening.
Stefan Vogel <sv@exept.de>
parents:
584
diff
changeset
|
468 |
#openSubSpecGuiHelp |
780 | 469 |
'Opens a GUI Builder on the defined class and selector.' |
610
c6dc33689c6a
Add help for subSpec GUI Painter opening.
Stefan Vogel <sv@exept.de>
parents:
584
diff
changeset
|
470 |
|
580 | 471 |
#orientation |
801 | 472 |
'Defines the orientation (horizontal or vertical).' |
580 | 473 |
|
540 | 474 |
#paramAdd |
801 | 475 |
'Adds a name-value pair to the appletParameter collection.' |
540 | 476 |
|
477 |
#paramList |
|
478 |
'Lists defined parameters.' |
|
479 |
||
480 |
#paramNameField |
|
481 |
'The name of the appletParameter.' |
|
482 |
||
483 |
#paramRemove |
|
801 | 484 |
'Removes that appletParameter.' |
540 | 485 |
|
486 |
#paramValueField |
|
487 |
'The value of the appletParameter.' |
|
488 |
||
1161 | 489 |
#progressValueHolder |
490 |
'Aspect selector or binding for a holder on the indicators value.' |
|
491 |
||
540 | 492 |
#radioButtonGroup |
801 | 493 |
'Aspect selector or binding providing the radioButton group-model.' |
540 | 494 |
|
495 |
#radioButtonValue |
|
801 | 496 |
'Value passed to the radioButton group-model.' |
540 | 497 |
|
498 |
#readOnly |
|
801 | 499 |
'Make the contents be readOnly.' |
540 | 500 |
|
580 | 501 |
#regionType |
780 | 502 |
'Defines the shape of the widget.' |
580 | 503 |
|
540 | 504 |
#resizeForLabel |
801 | 505 |
'Enable/disable automatic resize after a label change.' |
540 | 506 |
|
1051 | 507 |
#returnIsOKInDialog |
508 |
'If on, and the window is opened modal, the Return/Enter-Key acts like an Accept-action' |
|
509 |
||
580 | 510 |
#rowIfAbsent |
801 | 511 |
'Name of the message sent to the application when an empty list entry is detected.' |
580 | 512 |
|
1161 | 513 |
#scrollerValueHolder |
514 |
'Aspect selector or binding for a holder on the scrollers value.' |
|
515 |
||
580 | 516 |
#selectConditionSelector |
1028 | 517 |
'Message sent to the application to validate a selection (not selectable if false is returned).' |
580 | 518 |
|
1164 | 519 |
#selectRowOnDefault |
520 |
'Select whole row, if unselectable column is selected.' |
|
521 |
||
350 | 522 |
#selectionHolder |
801 | 523 |
'Aspect selector or binding for a holder on the selection.' |
350 | 524 |
|
525 |
#setMaxExtent |
|
801 | 526 |
'Pick the maximum extent from the canvases current extent.' |
350 | 527 |
|
528 |
#setMinExtent |
|
801 | 529 |
'Pick the minimum extent from the canvases current extent.' |
350 | 530 |
|
1190 | 531 |
#showBox |
532 |
'Display a bounding box.' |
|
533 |
||
580 | 534 |
#showDirectoryIndicator |
801 | 535 |
'Show/hide directory indicators for non-empty directories.' |
580 | 536 |
|
537 |
#showDirectoryIndicatorForRoot |
|
801 | 538 |
'Show/hide the directory indicator for the root item.' |
303 | 539 |
|
1328 | 540 |
#showHandle |
1331 | 541 |
'Show resize-handles.' |
1328 | 542 |
|
1164 | 543 |
#showLabels |
544 |
'Show/hide column labels.' |
|
545 |
||
540 | 546 |
#showLamp |
801 | 547 |
'Show/hide the colored lamp.' |
540 | 548 |
|
350 | 549 |
#showLines |
801 | 550 |
'Show/hide connecting lines between tree items.' |
303 | 551 |
|
1190 | 552 |
#showNormals |
553 |
'Display normals.' |
|
554 |
||
580 | 555 |
#showPercentage |
801 | 556 |
'Show/hide the percentage display.' |
580 | 557 |
|
350 | 558 |
#showRoot |
801 | 559 |
'Show/hide the root item.' |
294 | 560 |
|
580 | 561 |
#showSeparatingLines |
801 | 562 |
'Show/hide separated lines.' |
580 | 563 |
|
350 | 564 |
#sizeAsDefault |
801 | 565 |
'Size the widget to include space for the default-(return) bitmap.' |
294 | 566 |
|
1161 | 567 |
#sliderValueHolder |
568 |
'Aspect selector or binding for a holder on the sliders value.' |
|
569 |
||
580 | 570 |
#specHolder |
780 | 571 |
'Aspect selector or binding for holding the selector returning a window specification.' |
580 | 572 |
|
573 |
#start |
|
801 | 574 |
'Defines the ranges minimum.' |
580 | 575 |
|
1161 | 576 |
#startMotionCallBack |
577 |
'Method invoked with start of thumb motion.' |
|
578 |
||
580 | 579 |
#step |
801 | 580 |
'Defines the step within the range.' |
580 | 581 |
|
582 |
#stop |
|
801 | 583 |
'Defines the ranges maximum.' |
580 | 584 |
|
1028 | 585 |
#supportsExpandAll |
586 |
'Enable/disable the expand-all function' |
|
587 |
||
1320 | 588 |
#tabIntern |
589 |
'Tab into the widget; if off, TAB skips over the widgets fields' |
|
590 |
||
294 | 591 |
#tabLabels |
801 | 592 |
'Name of the message sent to the application returning a list of labels for the tab items.' |
294 | 593 |
|
350 | 594 |
#tabOrientation |
780 | 595 |
'Defines the side for the arrangement of the tab items.' |
294 | 596 |
|
597 |
#tabWidget |
|
801 | 598 |
'Defines the type of the border style of the tab items (Windows style vs. Mac style).' |
367 | 599 |
|
540 | 600 |
#tabable |
837 | 601 |
'Widget can be reached by pressing the TAB key.' |
540 | 602 |
|
1176 | 603 |
#tabbedOverEndAction |
604 |
'Method invoked when the end was reached by tabbing.' |
|
605 |
||
606 |
#tabbedOverStartAction |
|
607 |
'Method invoked when the beginning was reached by tabbing.' |
|
608 |
||
367 | 609 |
#translateLabel |
837 | 610 |
'Translate the label via the resource mechanism to a national language string.' |
294 | 611 |
|
350 | 612 |
#typeConverter |
801 | 613 |
'Defines how the entry string is converted to an object which is passed to the model.' |
350 | 614 |
|
580 | 615 |
#upAction |
801 | 616 |
'Name of the message sent to the application when the up(left)-button is pressed.' |
580 | 617 |
|
350 | 618 |
#useIndex |
801 | 619 |
'If on, use the items index as selection; if off, use the items value.' |
307 | 620 |
|
367 | 621 |
#usePreferredExtent |
1051 | 622 |
'If on, the window computes its preferred extent; if off, the layout-sections value is used.' |
367 | 623 |
|
580 | 624 |
#validateDoubleClickSelector |
1028 | 625 |
'Message sent to the application to validate double click (no action if false is returned).' |
626 |
||
627 |
#validateExpandabilitySelector |
|
628 |
'Message sent to the application to validate expand on double click (no expand if false is returned).' |
|
580 | 629 |
|
294 | 630 |
#valueChangeSelector |
1028 | 631 |
'Message sent to the application when the selection has changed.' |
294 | 632 |
|
350 | 633 |
#verticalLayout |
780 | 634 |
'Defines how sub components are vertically arranged.' |
294 | 635 |
|
350 | 636 |
#verticalMiniScroller |
801 | 637 |
'Use a mini-scroller as vertical scrollbar.' |
303 | 638 |
|
350 | 639 |
#verticalScroller |
801 | 640 |
'Enable vertical scrollability.' |
350 | 641 |
|
580 | 642 |
#verticalSpace |
780 | 643 |
'Vertical space between the sub components (in pixels).' |
580 | 644 |
|
1333 | 645 |
#viewChannel |
646 |
'Aspect selector or binding for a holder provides the view to be embedded.' |
|
647 |
||
1296 | 648 |
#visibilityChannel |
649 |
'Aspect selector or binding for a boolean holder which makes the widget visible.' |
|
650 |
||
350 | 651 |
#windowIcon |
801 | 652 |
'Name of the message sent to the application returning an icon image for the top window.' |
303 | 653 |
|
350 | 654 |
#windowLabel |
801 | 655 |
'Label of the top window.' |
307 | 656 |
|
1190 | 657 |
#xRotChannel |
658 |
'Aspect providing x-Rotation value.' |
|
659 |
||
660 |
#xTransChannel |
|
661 |
'Aspect providing x-Translation value.' |
|
662 |
||
663 |
#yRotChannel |
|
664 |
'Aspect providing y-Rotation value.' |
|
665 |
||
666 |
#yTransChannel |
|
667 |
'Aspect providing y-Translation value.' |
|
668 |
||
669 |
#zRotChannel |
|
670 |
'Aspect providing z-Rotation value.' |
|
671 |
||
672 |
#zTransChannel |
|
673 |
'Aspect providing z-Translation value.' |
|
674 |
||
172 | 675 |
) |
676 |
! ! |
|
677 |
||
164 | 678 |
!UISpecificationTool class methodsFor:'interface specs'! |
679 |
||
680 |
windowSpec |
|
1307 | 681 |
"This resource specification was automatically generated |
682 |
by the UIPainter of ST/X." |
|
164 | 683 |
|
1307 | 684 |
"Do not manually edit this!! If it is corrupted, |
685 |
the UIPainter may not be able to read the specification." |
|
164 | 686 |
|
687 |
" |
|
688 |
UIPainter new openOnClass:UISpecificationTool andSelector:#windowSpec |
|
689 |
UISpecificationTool new openInterface:#windowSpec |
|
1307 | 690 |
UISpecificationTool open |
164 | 691 |
" |
692 |
||
693 |
<resource: #canvas> |
|
694 |
||
1307 | 695 |
^ |
696 |
#(#FullSpec |
|
697 |
#name: #windowSpec |
|
698 |
#window: |
|
699 |
#(#WindowSpec |
|
700 |
#label: 'unnamed canvas' |
|
701 |
#name: 'unnamed canvas' |
|
1313 | 702 |
#bounds: #(#Rectangle 12 22 312 322) |
1307 | 703 |
) |
704 |
#component: |
|
705 |
#(#SpecCollection |
|
706 |
#collection: #( |
|
707 |
#(#ArbitraryComponentSpec |
|
1313 | 708 |
#name: 'BuildInView' |
1307 | 709 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
1313 | 710 |
#hasVerticalScrollBar: true |
711 |
#miniScrollerVertical: true |
|
712 |
#autoHideScrollBars: true |
|
1307 | 713 |
#hasBorder: false |
1313 | 714 |
#component: #buildInView |
1307 | 715 |
) |
716 |
) |
|
717 |
||
718 |
) |
|
164 | 719 |
) |
720 |
! ! |
|
721 |
||
1331 | 722 |
!UISpecificationTool methodsFor:'accessing-channels'! |
1315 | 723 |
|
724 |
modifiedHolder:aValueHolder |
|
725 |
"set the value holder set to true in case of modifying attributes |
|
726 |
" |
|
727 |
||
728 |
modifiedHolder removeDependent:self. |
|
164 | 729 |
|
1315 | 730 |
(modifiedHolder := aValueHolder) notNil ifTrue:[ |
731 |
modifiedHolder addDependent:self. |
|
732 |
]. |
|
1063
9e710dbc7c92
inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents:
1051
diff
changeset
|
733 |
|
1315 | 734 |
! ! |
735 |
||
1331 | 736 |
!UISpecificationTool methodsFor:'accessing-specification'! |
1063
9e710dbc7c92
inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents:
1051
diff
changeset
|
737 |
|
172 | 738 |
specification |
739 |
"gets current edit specification |
|
740 |
" |
|
741 |
^ specification |
|
742 |
||
743 |
||
744 |
! |
|
745 |
||
746 |
specification:aSpec |
|
747 |
"sets current edit specification |
|
748 |
" |
|
1315 | 749 |
aSpec notNil ifTrue:[ |
750 |
"/ same type of spec - simply change the spec; no need to setup everything |
|
751 |
specification class == aSpec class ifTrue:[ |
|
752 |
specification := aSpec. |
|
753 |
specChannel value:specification. |
|
754 |
^ self |
|
755 |
] |
|
1307 | 756 |
]. |
428 | 757 |
|
1315 | 758 |
"/ release resources |
759 |
specChannel release. |
|
760 |
aspects release. |
|
761 |
selection := listOfSpecViews := nil. |
|
762 |
buildInView destroyAllSubSpecs. |
|
763 |
||
764 |
(specification := aSpec) isNil ifTrue:[ |
|
765 |
aspects := specChannel := nil. |
|
766 |
^ self |
|
1307 | 767 |
]. |
768 |
||
769 |
"/ some tricky specs need the builder during the addBindings phase. |
|
770 |
"/ This is passed down in a special UIBindingsDictionary |
|
771 |
"/ (remain backward compatible) |
|
536
3991e37ec19f
pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents:
428
diff
changeset
|
772 |
|
1307 | 773 |
aspects := UISpecification newBindingsDictionary. |
774 |
aspects builder:builder. |
|
775 |
aspects at:#modifiedChannel put:modifiedHolder. |
|
776 |
aspects at:#acceptChannel put:self acceptChannel. |
|
172 | 777 |
|
1307 | 778 |
specChannel := specification asValue. |
779 |
specification class addBindingsTo:aspects for:specification channel:specChannel. |
|
536
3991e37ec19f
pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents:
428
diff
changeset
|
780 |
|
1307 | 781 |
"/ arrange for being notified, if any aspect changes |
782 |
aspects do:[:el| el addDependent:self ]. |
|
783 |
||
172 | 784 |
! ! |
785 |
||
364 | 786 |
!UISpecificationTool methodsFor:'actions'! |
787 |
||
788 |
setMaxExtent |
|
789 |
"set the windows maxExtent from its current extent" |
|
790 |
||
791 |
|canvas currentExtent| |
|
792 |
||
793 |
canvas := self masterApplication painter topView. |
|
794 |
currentExtent := canvas extent. |
|
795 |
(self aspectFor:#maxX) value:currentExtent x. |
|
796 |
(self aspectFor:#maxY) value:currentExtent y. |
|
797 |
||
798 |
"Modified: / 29.10.1997 / 18:29:17 / cg" |
|
799 |
! |
|
800 |
||
801 |
setMinExtent |
|
802 |
"set the windows minExtent from its current extent" |
|
803 |
||
804 |
|canvas currentExtent| |
|
805 |
||
806 |
canvas := self masterApplication painter topView. |
|
807 |
currentExtent := canvas extent. |
|
808 |
(self aspectFor:#minX) value:currentExtent x. |
|
809 |
(self aspectFor:#minY) value:currentExtent y. |
|
810 |
||
811 |
"Created: / 29.10.1997 / 18:17:55 / cg" |
|
812 |
"Modified: / 29.10.1997 / 18:28:53 / cg" |
|
813 |
! ! |
|
814 |
||
164 | 815 |
!UISpecificationTool methodsFor:'bindings'! |
816 |
||
1315 | 817 |
acceptChannel |
818 |
"return the value of the instance variable 'acceptChannel' (automatically generated)" |
|
819 |
||
820 |
^ masterApplication acceptChannel |
|
821 |
! |
|
822 |
||
164 | 823 |
aspectFor:aKey |
824 |
"returns aspect for a key or nil |
|
825 |
" |
|
826 |
aspects notNil ifTrue:[ |
|
827 |
^ aspects at:aKey ifAbsent:nil |
|
828 |
]. |
|
829 |
^ super aspectFor:aKey |
|
830 |
||
428 | 831 |
! |
832 |
||
1313 | 833 |
buildInView |
834 |
^ buildInView |
|
1307 | 835 |
! |
836 |
||
584
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
837 |
specificationFor:aKey |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
838 |
"this is called if our current specification contains |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
839 |
subspecifications or subcanvases. |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
840 |
Get the subspecification from the current specification" |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
841 |
|
1307 | 842 |
specification notNil ifTrue:[ |
843 |
^ specification class perform:aKey ifNotUnderstood:nil |
|
584
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
844 |
]. |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
845 |
^ nil |
172 | 846 |
! ! |
847 |
||
848 |
!UISpecificationTool methodsFor:'change & update'! |
|
164 | 849 |
|
172 | 850 |
update |
851 |
"reload specification |
|
164 | 852 |
" |
172 | 853 |
specChannel notNil ifTrue:[ |
854 |
specChannel value:specification. |
|
855 |
] |
|
164 | 856 |
|
857 |
||
858 |
! |
|
859 |
||
860 |
update:something with:someArgument from:someone |
|
861 |
"any attribute changed its state in the current specification |
|
862 |
" |
|
863 |
someone ~~ modifiedHolder ifTrue:[ |
|
893 | 864 |
"/ any in the spec has changed. |
865 |
"/ update my modified holders value |
|
866 |
||
1071 | 867 |
modifiedHolder value:true |
164 | 868 |
] |
869 |
||
893 | 870 |
"Modified: / 16.7.1998 / 19:25:59 / cg" |
164 | 871 |
! ! |
872 |
||
1315 | 873 |
!UISpecificationTool methodsFor:'initialization'! |
874 |
||
875 |
initialize |
|
876 |
super initialize. |
|
877 |
buildInView := BuildInView new. |
|
878 |
! ! |
|
879 |
||
164 | 880 |
!UISpecificationTool methodsFor:'selection'! |
881 |
||
882 |
selection:something |
|
172 | 883 |
"selection changed |
884 |
" |
|
1307 | 885 |
|slices index spec window| |
164 | 886 |
|
172 | 887 |
specification notNil ifTrue:[ |
888 |
slices := specification class slices. |
|
1307 | 889 |
index := slices findFirst:[:aSlice| aSlice first = something ]. |
164 | 890 |
|
1307 | 891 |
index ~~ 0 ifTrue:[ |
892 |
spec := specification class perform:((slices at:index) last) |
|
428 | 893 |
] |
164 | 894 |
]. |
895 |
||
172 | 896 |
spec ~= selection ifTrue:[ |
1307 | 897 |
(selection := spec) notNil ifTrue:[ |
898 |
listOfSpecViews isNil ifTrue:[ |
|
899 |
listOfSpecViews := Array new:(slices size). |
|
900 |
] ifFalse:[ |
|
901 |
window := listOfSpecViews at:index |
|
902 |
]. |
|
903 |
window isNil ifTrue:[ |
|
904 |
builder buildFromSpec:spec in:(window := SimpleView new). |
|
905 |
listOfSpecViews at:index put:window. |
|
906 |
]. |
|
907 |
]. |
|
1315 | 908 |
buildInView scrolledView:window. |
164 | 909 |
]. |
910 |
! ! |
|
911 |
||
1307 | 912 |
!UISpecificationTool::BuildInView methodsFor:'accessing'! |
759 | 913 |
|
1315 | 914 |
destroyAllSubSpecs |
915 |
"destroy all subViews which represents a specification |
|
916 |
" |
|
917 |
outerFrame destroySubViews. |
|
918 |
||
919 |
scrolledView notNil ifTrue:[ |
|
920 |
scrolledView := nil. |
|
921 |
self sizeChanged:nil. |
|
922 |
] |
|
923 |
||
924 |
||
925 |
! |
|
926 |
||
1307 | 927 |
scrolledView:aView |
928 |
"set the view to be scrolled" |
|
1351
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
929 |
|scr theOneComponent y| |
1307 | 930 |
|
931 |
scrolledView == aView ifTrue:[^ self]. |
|
759 | 932 |
|
1307 | 933 |
scrolledView notNil ifTrue:[scrolledView unmap]. |
759 | 934 |
|
1307 | 935 |
(scrolledView := aView) isNil ifTrue:[ |
936 |
^ self |
|
937 |
]. |
|
938 |
||
939 |
scrolledView superView == outerFrame ifFalse:[ |
|
940 |
scrolledView borderWidth:0; level:0. |
|
845
146b3f78afcb
we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents:
837
diff
changeset
|
941 |
|
1307 | 942 |
outerFrame addSubView:scrolledView. |
1351
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
943 |
scrolledView subViews size == 1 ifTrue:[ |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
944 |
theOneComponent := scrolledView subViews first. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
945 |
theOneComponent isScrollWrapper ifTrue:[ |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
946 |
"/ give it a full-relative size, and let it do |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
947 |
"/ the scrolling itself. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
948 |
y := 1.0 |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
949 |
] |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
950 |
]. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
951 |
y isNil ifTrue:[ |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
952 |
y := scrolledView preferredExtent y |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
953 |
]. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
954 |
scrolledView origin:0@0 corner:1.0 @ y. |
1307 | 955 |
scrolledView := scrolledView. |
956 |
scrolledView allViewBackground:(self viewBackground). |
|
759 | 957 |
]. |
845
146b3f78afcb
we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents:
837
diff
changeset
|
958 |
|
1307 | 959 |
realized ifTrue:[ |
960 |
scrolledView realize. |
|
961 |
self sizeChanged:nil. |
|
962 |
]. |
|
759 | 963 |
|
1307 | 964 |
|
965 |
||
966 |
||
967 |
||
759 | 968 |
! ! |
969 |
||
1313 | 970 |
!UISpecificationTool::BuildInView methodsFor:'initialization'! |
971 |
||
1315 | 972 |
initialize |
973 |
super initialize. |
|
974 |
outerFrame := SimpleView origin:0.0@0.0 corner:1.0@1.0 in:self. |
|
975 |
outerFrame borderWidth:0; level:0. |
|
976 |
||
977 |
||
978 |
! |
|
979 |
||
1313 | 980 |
level:aLevel |
981 |
super level:0 |
|
982 |
! |
|
983 |
||
984 |
realize |
|
1315 | 985 |
|
1313 | 986 |
super realize. |
987 |
superView notNil ifTrue:[superView level:0]. |
|
988 |
! ! |
|
989 |
||
164 | 990 |
!UISpecificationTool class methodsFor:'documentation'! |
991 |
||
992 |
version |
|
993 |
^ '$Header$' |
|
994 |
! ! |