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