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