author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 01 Apr 2013 14:07:29 +0100 | |
branch | jv |
changeset 12626 | 7ae48abfedac |
parent 12625 | 482496b7e155 |
parent 12603 | af982630f6ad |
child 12650 | e0f607754b9a |
permissions | -rw-r--r-- |
9987 | 1 |
" |
10099 | 2 |
Copyright (c) 2007-2010 Jan Vrany, SWING Research Group, Czech Technical University in Prague |
3 |
Copyright (c) 2009-2010 eXept Software AG |
|
9987 | 4 |
|
10099 | 5 |
Permission is hereby granted, free of charge, to any person |
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
9987 | 25 |
" |
26 |
"{ Package: 'stx:libtool' }" |
|
27 |
||
28 |
"{ NameSpace: Tools }" |
|
29 |
||
30 |
ApplicationModel subclass:#InlineMessageDialog |
|
11518 | 31 |
instanceVariableNames:'messageHolder progressHolder backgroundColorHolder |
32 |
backgroundColorOrDefaultHolder progressView panelView |
|
33 |
panelViewComponents specHolder panelShownHolder panelHiddenHolder |
|
34 |
worker layout changeLayoutUponShowHide' |
|
9987 | 35 |
classVariableNames:'' |
36 |
poolDictionaries:'' |
|
37 |
category:'Interface-Tools' |
|
38 |
! |
|
39 |
||
40 |
!InlineMessageDialog class methodsFor:'documentation'! |
|
41 |
||
42 |
copyright |
|
43 |
" |
|
10099 | 44 |
Copyright (c) 2007-2010 Jan Vrany, SWING Research Group, Czech Technical University in Prague |
45 |
Copyright (c) 2009-2010 eXept Software AG |
|
46 |
||
47 |
Permission is hereby granted, free of charge, to any person |
|
48 |
obtaining a copy of this software and associated documentation |
|
49 |
files (the 'Software'), to deal in the Software without |
|
50 |
restriction, including without limitation the rights to use, |
|
51 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
52 |
copies of the Software, and to permit persons to whom the |
|
53 |
Software is furnished to do so, subject to the following |
|
54 |
conditions: |
|
9987 | 55 |
|
10099 | 56 |
The above copyright notice and this permission notice shall be |
57 |
included in all copies or substantial portions of the Software. |
|
58 |
||
59 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
60 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
61 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
62 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
63 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
64 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
65 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
66 |
OTHER DEALINGS IN THE SOFTWARE. |
|
9987 | 67 |
" |
11518 | 68 |
! |
69 |
||
70 |
documentation |
|
71 |
" |
|
72 |
A simple info/warning dialog to embed into application window - |
|
73 |
much like information panel in Firefox or other applications. |
|
74 |
Use it when a modal dialog might be too disturbing. |
|
75 |
||
76 |
||
77 |
[author:] |
|
78 |
Jan Vrany <jan.vrany@fit.cvut.cz> |
|
79 |
||
80 |
[instance variables:] |
|
81 |
||
82 |
[class variables:] |
|
83 |
||
84 |
[see also:] |
|
85 |
||
86 |
" |
|
87 |
! |
|
88 |
||
89 |
examples |
|
90 |
" |
|
91 |
Starting the application: |
|
92 |
[exBegin] |
|
93 |
Tools::InlineMessageDialog new |
|
94 |
open; |
|
95 |
message: 'Hello World'; |
|
96 |
show: #messageInfoSpec. |
|
97 |
||
98 |
||
99 |
[exEnd] |
|
100 |
||
101 |
more examples to be added: |
|
102 |
[exBegin] |
|
103 |
... add code fragment for |
|
104 |
... executable example here ... |
|
105 |
[exEnd] |
|
106 |
" |
|
107 |
! ! |
|
108 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
109 |
|
11518 | 110 |
!InlineMessageDialog class methodsFor:'accessing-colors'! |
111 |
||
112 |
defaultInformationBackground |
|
113 |
||
114 |
^(Color red:100.0 green:78.0392156862745 blue:22.7450980392157) |
|
115 |
||
116 |
"Created: / 10-04-2012 / 19:31:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
117 |
! |
|
118 |
||
119 |
defaultWarningBackground |
|
120 |
||
121 |
^(Color red:76.078431372549 green:43.1372549019608 blue:43.1372549019608) |
|
122 |
||
123 |
"Created: / 10-04-2012 / 19:30:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
9987 | 124 |
! ! |
125 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
126 |
|
9987 | 127 |
!InlineMessageDialog class methodsFor:'interface specs'! |
128 |
||
129 |
messageInfoSpec |
|
130 |
"This resource specification was automatically generated |
|
131 |
by the UIPainter of ST/X." |
|
132 |
||
133 |
"Do not manually edit this!! If it is corrupted, |
|
134 |
the UIPainter may not be able to read the specification." |
|
135 |
||
136 |
" |
|
11518 | 137 |
UIPainter new openOnClass:Tools::InlineMessageDialog andSelector:#messageInfoSpec |
138 |
Tools::InlineMessageDialog new openInterface:#messageInfoSpec |
|
9987 | 139 |
" |
140 |
||
141 |
<resource: #canvas> |
|
142 |
||
143 |
^ |
|
144 |
#(FullSpec |
|
145 |
name: messageInfoSpec |
|
146 |
window: |
|
147 |
(WindowSpec |
|
148 |
label: 'MessageInfo' |
|
149 |
name: 'MessageInfo' |
|
150 |
min: (Point 10 10) |
|
151 |
bounds: (Rectangle 0 0 800 40) |
|
152 |
) |
|
153 |
component: |
|
154 |
(SpecCollection |
|
155 |
collection: ( |
|
156 |
(LabelSpec |
|
157 |
label: 'Label' |
|
158 |
name: 'Message' |
|
11518 | 159 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
160 |
backgroundChannel: backgroundColorOrDefaultHolder |
|
9987 | 161 |
translateLabel: true |
162 |
labelChannel: messageHolder |
|
163 |
adjust: left |
|
164 |
) |
|
165 |
) |
|
166 |
||
167 |
) |
|
168 |
) |
|
169 |
! |
|
170 |
||
171 |
progressInfoSpec |
|
172 |
"This resource specification was automatically generated |
|
173 |
by the UIPainter of ST/X." |
|
174 |
||
175 |
"Do not manually edit this!! If it is corrupted, |
|
176 |
the UIPainter may not be able to read the specification." |
|
177 |
||
178 |
" |
|
179 |
UIPainter new openOnClass:Tools::InlineMessageDialog andSelector:#progressInfoSpec |
|
180 |
Tools::InlineMessageDialog new openInterface:#progressInfoSpec |
|
181 |
" |
|
182 |
||
183 |
<resource: #canvas> |
|
184 |
||
185 |
^ |
|
186 |
#(FullSpec |
|
187 |
name: progressInfoSpec |
|
188 |
window: |
|
189 |
(WindowSpec |
|
190 |
label: 'ProgressInfo' |
|
191 |
name: 'ProgressInfo' |
|
192 |
min: (Point 10 10) |
|
193 |
bounds: (Rectangle 0 0 800 40) |
|
194 |
forceRecursiveBackgroundOfDefaultBackground: true |
|
195 |
) |
|
196 |
component: |
|
197 |
(SpecCollection |
|
198 |
collection: ( |
|
11518 | 199 |
(ViewSpec |
200 |
name: 'Box1' |
|
201 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
|
202 |
level: 0 |
|
203 |
backgroundChannel: backgroundColorOrDefaultHolder |
|
204 |
component: |
|
205 |
(SpecCollection |
|
206 |
collection: ( |
|
207 |
(LabelSpec |
|
208 |
label: 'Label' |
|
209 |
name: 'Message' |
|
210 |
layout: (LayoutFrame 0 0 0 0 -20 1 20 0) |
|
211 |
backgroundChannel: backgroundColorOrDefaultHolder |
|
212 |
translateLabel: true |
|
213 |
labelChannel: messageHolder |
|
214 |
adjust: left |
|
215 |
) |
|
216 |
(ProgressIndicatorSpec |
|
217 |
name: 'ProgressIndicator' |
|
218 |
layout: (LayoutFrame 0 0 -20 1 -20 1 -3 1) |
|
219 |
level: 0 |
|
220 |
backgroundChannel: backgroundColorOrDefaultHolder |
|
221 |
model: progressHolder |
|
222 |
foregroundColor: (Color 52.156862745098 37.2549019607843 0.0) |
|
223 |
postBuildCallback: postBuildProgressView: |
|
224 |
) |
|
225 |
) |
|
226 |
||
227 |
) |
|
9987 | 228 |
) |
229 |
) |
|
230 |
||
231 |
) |
|
232 |
) |
|
233 |
! |
|
234 |
||
11518 | 235 |
warningInfoSpec |
236 |
||
237 |
<resource: #canvas> |
|
238 |
||
239 |
^self messageInfoSpec |
|
240 |
||
241 |
"Modified: / 10-04-2012 / 19:40:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
242 |
! |
|
243 |
||
9987 | 244 |
windowSpec |
245 |
"This resource specification was automatically generated |
|
246 |
by the UIPainter of ST/X." |
|
247 |
||
248 |
"Do not manually edit this!! If it is corrupted, |
|
249 |
the UIPainter may not be able to read the specification." |
|
250 |
||
251 |
" |
|
252 |
UIPainter new openOnClass:Tools::InlineMessageDialog andSelector:#windowSpec |
|
253 |
Tools::InlineMessageDialog new openInterface:#windowSpec |
|
254 |
Tools::InlineMessageDialog open |
|
255 |
" |
|
256 |
||
257 |
<resource: #canvas> |
|
258 |
||
259 |
^ |
|
260 |
#(FullSpec |
|
261 |
name: windowSpec |
|
262 |
window: |
|
263 |
(WindowSpec |
|
264 |
label: 'Tools::InlineMessageDialog' |
|
265 |
name: 'Tools::InlineMessageDialog' |
|
266 |
min: (Point 10 10) |
|
267 |
bounds: (Rectangle 0 0 800 40) |
|
268 |
) |
|
269 |
component: |
|
270 |
(SpecCollection |
|
271 |
collection: ( |
|
11518 | 272 |
(ViewSpec |
273 |
name: 'Layout' |
|
9987 | 274 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
11518 | 275 |
backgroundChannel: backgroundColorOrDefaultHolder |
276 |
component: |
|
277 |
(SpecCollection |
|
278 |
collection: ( |
|
279 |
(HorizontalPanelViewSpec |
|
280 |
name: 'ComponentPanel' |
|
281 |
layout: (LayoutFrame 12 0 0 0 -10 1 0 1) |
|
282 |
backgroundChannel: backgroundColorOrDefaultHolder |
|
283 |
horizontalLayout: rightSpaceFit |
|
284 |
verticalLayout: fit |
|
285 |
horizontalSpace: 0 |
|
286 |
verticalSpace: 3 |
|
287 |
elementsChangeSize: true |
|
288 |
component: |
|
289 |
(SpecCollection |
|
290 |
collection: ( |
|
291 |
(SubCanvasSpec |
|
292 |
name: 'InfoSpec' |
|
293 |
level: 0 |
|
294 |
hasHorizontalScrollBar: false |
|
295 |
hasVerticalScrollBar: false |
|
296 |
miniScrollerHorizontal: false |
|
297 |
specHolder: specHolder |
|
298 |
createNewBuilder: false |
|
299 |
usePreferredHeight: true |
|
300 |
useDynamicPreferredWidth: true |
|
301 |
useDynamicPreferredHeight: true |
|
302 |
useDefaultExtent: true |
|
303 |
usePreferredWidth: true |
|
304 |
) |
|
305 |
) |
|
306 |
||
307 |
) |
|
308 |
postBuildCallback: postBuildPanelView: |
|
309 |
) |
|
310 |
) |
|
311 |
||
312 |
) |
|
9987 | 313 |
) |
314 |
) |
|
315 |
||
316 |
) |
|
317 |
) |
|
318 |
! ! |
|
319 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
320 |
|
11518 | 321 |
!InlineMessageDialog class methodsFor:'others'! |
322 |
||
323 |
version_CVS |
|
12603 | 324 |
^ '$Header: /cvs/stx/stx/libtool/Tools__InlineMessageDialog.st,v 1.11 2013-03-31 20:32:27 cg Exp $' |
11518 | 325 |
! ! |
326 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
327 |
|
9987 | 328 |
!InlineMessageDialog methodsFor:'accessing'! |
329 |
||
11518 | 330 |
backgroundColor: aColor |
331 |
"Sets the background color, but only iff backgroundColorHolder is |
|
332 |
not set" |
|
333 |
||
334 |
backgroundColorHolder isNil ifTrue:[ |
|
335 |
self backgroundColorOrDefaultHolder value: aColor |
|
336 |
] |
|
337 |
||
338 |
"Created: / 10-04-2012 / 19:38:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
339 |
! |
|
340 |
||
9987 | 341 |
message: aString |
342 |
||
343 |
self messageHolder value: aString |
|
344 |
||
345 |
"Created: / 28-10-2010 / 18:23:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
346 |
! |
|
347 |
||
348 |
progress: aNumberOrNil |
|
349 |
||
11249 | 350 |
aNumberOrNil isNumber ifTrue:[ |
351 |
progressView notNil ifTrue:[ |
|
352 |
progressView showBusyIndication: false. |
|
353 |
]. |
|
354 |
self progressHolder value: aNumberOrNil |
|
355 |
] ifFalse:[ |
|
356 |
progressView notNil ifTrue:[ |
|
357 |
progressView showBusyIndication: true. |
|
358 |
] |
|
359 |
||
360 |
] |
|
9987 | 361 |
|
362 |
"Created: / 28-10-2010 / 18:24:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
363 |
! ! |
|
364 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
365 |
|
11518 | 366 |
!InlineMessageDialog methodsFor:'accessing-presentation'! |
367 |
||
368 |
changeLayoutUponShowHide: aBoolean |
|
369 |
"If set to false, no changes to compokent layout is done |
|
370 |
when panel is shown/hidden. This effectively means, that |
|
371 |
that panel is shown over the normal content. |
|
372 |
||
373 |
Default value is true (i.e., relayout components)" |
|
374 |
||
375 |
changeLayoutUponShowHide := aBoolean |
|
376 |
||
377 |
"Modified (comment): / 17-05-2012 / 13:56:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
378 |
! ! |
|
379 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
380 |
|
9987 | 381 |
!InlineMessageDialog methodsFor:'actions'! |
382 |
||
383 |
doAbort |
|
384 |
||
11248 | 385 |
worker isNil ifTrue:[ self hide. ^ self ]. |
386 |
worker interruptWith:[ |
|
387 |
NoHandlerError handle:[:ex | |
|
388 |
ex parameter signal == AbortOperationRequest ifTrue:[ |
|
389 |
ex return. |
|
390 |
]. |
|
391 |
ex reject. |
|
392 |
] do:[ |
|
393 |
AbortOperationRequest raise. |
|
394 |
]. |
|
12517
3a904476a8d2
Merged 959c0bb8a414 and cf091b9c64a9 (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
395 |
]. |
3a904476a8d2
Merged 959c0bb8a414 and cf091b9c64a9 (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
396 |
(worker notNil and:[worker isDead not]) ifTrue:[ |
3a904476a8d2
Merged 959c0bb8a414 and cf091b9c64a9 (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
397 |
worker terminate. |
3a904476a8d2
Merged 959c0bb8a414 and cf091b9c64a9 (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
398 |
"/ raise its prio to make it terminate quickly |
12462
7466535c9b47
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12416
diff
changeset
|
399 |
worker priority:(Processor userSchedulingPriority + 1). |
11518 | 400 |
worker := nil. |
401 |
]. |
|
402 |
||
12517
3a904476a8d2
Merged 959c0bb8a414 and cf091b9c64a9 (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
403 |
"Modified: / 11-04-2012 / 16:24:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
11518 | 404 |
! |
405 |
||
12416
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
406 |
doAbortIfWorking |
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
407 |
worker notNil ifTrue:[ self doAbort ]. |
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
408 |
|
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
409 |
"Created: / 04-10-2012 / 19:20:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
410 |
! |
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
411 |
|
11518 | 412 |
doOK |
413 |
<resource: #uiCallback> |
|
414 |
||
415 |
(worker notNil and:[worker isDead not]) ifTrue:[ |
|
12517
3a904476a8d2
Merged 959c0bb8a414 and cf091b9c64a9 (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
416 |
worker terminate. |
12416
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
417 |
"/ raise its prio to make it terminate quickly |
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
418 |
worker priority:(Processor userSchedulingPriority + 1). |
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
419 |
worker := nil. |
11248 | 420 |
]. |
11518 | 421 |
self hide. |
9987 | 422 |
|
12625
482496b7e155
Fixed Tools::InlineMessageDialog>>doOK
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12517
diff
changeset
|
423 |
"Modified: / 31-03-2013 / 18:02:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
11518 | 424 |
! ! |
425 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
426 |
|
11518 | 427 |
!InlineMessageDialog methodsFor:'adding & removing components'! |
428 |
||
429 |
addButton: aButton |
|
430 |
| layoutView | |
|
431 |
||
432 |
aButton preferredExtent: ((aButton width + 20) max: 70"px") @ 24. |
|
433 |
layoutView := View new. |
|
434 |
layoutView backgroundChannel: self backgroundColorOrDefaultHolder. |
|
435 |
layoutView addComponent: aButton. |
|
436 |
aButton layout: |
|
437 |
( LayoutFrame fractions:(0 @ 0.5 corner:1.0 @ 0.5) offsets:(3 @ -12 corner:-3 @ 12) ). |
|
438 |
layoutView preferredExtent: (aButton preferredExtent x + 12) @ 24. |
|
439 |
||
440 |
^self addComponent: layoutView |
|
441 |
||
442 |
"Created: / 10-04-2012 / 20:49:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
443 |
! |
|
444 |
||
445 |
addButtonAbort |
|
446 |
||
447 |
^self addButtonWithLabel: (self resources string:'Abort') action: [ self doAbort ] |
|
448 |
||
449 |
"Created: / 10-04-2012 / 21:45:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
450 |
! |
|
451 |
||
452 |
addButtonOK |
|
453 |
||
454 |
^self addButtonWithLabel: (self resources string:'OK') action: [ self doOK ] |
|
455 |
||
456 |
"Created: / 10-04-2012 / 21:44:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
457 |
! |
|
458 |
||
459 |
addButtonWithLabel: label action: action |
|
460 |
^self addButton: (Button label: label action: action) |
|
461 |
||
462 |
"Created: / 10-04-2012 / 20:50:25 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
9987 | 463 |
! |
464 |
||
11518 | 465 |
addComponent: aView |
466 |
panelView isNil ifTrue:[ |
|
467 |
panelViewComponents isNil ifTrue:[ |
|
468 |
panelViewComponents := OrderedCollection new |
|
469 |
]. |
|
470 |
panelViewComponents add: aView |
|
471 |
] ifFalse:[ |
|
472 |
panelView addSubView: aView. |
|
473 |
aView isVisible: true. |
|
474 |
]. |
|
475 |
^aView. |
|
476 |
||
477 |
"Created: / 10-04-2012 / 20:50:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
478 |
! |
|
479 |
||
480 |
beInformation |
|
481 |
||
482 |
self backgroundColor: self class defaultInformationBackground. |
|
483 |
self specHolder value: #messageInfoSpec |
|
484 |
||
485 |
"Created: / 11-04-2012 / 11:39:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
486 |
! |
|
487 |
||
488 |
beProgress |
|
489 |
||
490 |
self backgroundColor: self class defaultInformationBackground. |
|
491 |
self specHolder value: #progressInfoSpec |
|
492 |
||
493 |
"Created: / 11-04-2012 / 11:41:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
494 |
! |
|
9987 | 495 |
|
11518 | 496 |
beWarning |
497 |
||
498 |
self backgroundColor: self class defaultWarningBackground. |
|
499 |
self specHolder value: #messageInfoSpec |
|
500 |
||
501 |
"Created: / 11-04-2012 / 11:41:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
502 |
! |
|
9987 | 503 |
|
11518 | 504 |
removeComponent: aView |
505 |
panelView notNil ifTrue:[ |
|
506 |
panelView removeComponent: aView. |
|
507 |
]. |
|
508 |
panelViewComponents notNil ifTrue:[ |
|
509 |
panelViewComponents remove: aView ifAbsent:[]. |
|
510 |
] |
|
511 |
||
512 |
"Created: / 11-04-2012 / 00:51:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
513 |
! |
|
514 |
||
515 |
removeComponents |
|
516 |
"Removes all components except subcanvas" |
|
517 |
panelViewComponents := nil. |
|
518 |
panelView notNil ifTrue:[ |
|
519 |
panelView subViews copyWithoutFirst do:[:component| |
|
520 |
component destroy |
|
521 |
] |
|
522 |
||
523 |
]. |
|
524 |
||
525 |
"Created: / 11-04-2012 / 00:51:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
9987 | 526 |
! ! |
527 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
528 |
|
9987 | 529 |
!InlineMessageDialog methodsFor:'aspects'! |
530 |
||
11518 | 531 |
backgroundColorHolder |
532 |
"return/create the 'backgroundColorHolder' value holder (automatically generated)" |
|
533 |
||
534 |
backgroundColorHolder isNil ifTrue:[ |
|
535 |
backgroundColorHolder := ValueHolder new. |
|
536 |
]. |
|
537 |
^ backgroundColorHolder |
|
538 |
! |
|
539 |
||
540 |
backgroundColorHolder:something |
|
541 |
"set the 'backgroundColorHolder' value holder (automatically generated)" |
|
542 |
||
543 |
|oldValue newValue| |
|
544 |
||
545 |
backgroundColorHolder notNil ifTrue:[ |
|
546 |
oldValue := backgroundColorHolder value. |
|
547 |
backgroundColorHolder removeDependent:self. |
|
548 |
]. |
|
549 |
backgroundColorHolder := something. |
|
550 |
backgroundColorHolder notNil ifTrue:[ |
|
551 |
backgroundColorHolder addDependent:self. |
|
552 |
]. |
|
553 |
newValue := backgroundColorHolder value. |
|
554 |
oldValue ~~ newValue ifTrue:[ |
|
555 |
self update:#value with:newValue from:backgroundColorHolder. |
|
556 |
]. |
|
557 |
! |
|
558 |
||
559 |
backgroundColorOrDefaultHolder |
|
560 |
"return/create the 'backgroundColorOrDefaultHolder' value holder (automatically generated)" |
|
561 |
||
562 |
backgroundColorOrDefaultHolder isNil ifTrue:[ |
|
563 |
backgroundColorOrDefaultHolder := ValueHolder new. |
|
564 |
backgroundColorOrDefaultHolder addDependent:self. |
|
565 |
]. |
|
566 |
^ backgroundColorOrDefaultHolder |
|
567 |
! |
|
568 |
||
9987 | 569 |
messageHolder |
570 |
<resource: #uiAspect> |
|
571 |
||
572 |
messageHolder isNil ifTrue:[ |
|
573 |
messageHolder := ValueHolder new. |
|
574 |
]. |
|
575 |
^ messageHolder. |
|
11509 | 576 |
|
577 |
"Modified (comment): / 15-05-2012 / 11:08:35 / cg" |
|
9987 | 578 |
! |
579 |
||
11248 | 580 |
panelHiddenHolder |
581 |
"return/create the 'panelHiddenHolder' value holder (automatically generated)" |
|
582 |
||
583 |
panelHiddenHolder isNil ifTrue:[ |
|
584 |
panelHiddenHolder := ValueHolder new. |
|
585 |
]. |
|
586 |
^ panelHiddenHolder |
|
587 |
! |
|
588 |
||
589 |
panelHiddenHolder:aValueModel |
|
590 |
"set the 'panelHiddenHolder' value holder (automatically generated)" |
|
591 |
||
592 |
panelHiddenHolder := aValueModel. |
|
593 |
! |
|
594 |
||
595 |
panelShownHolder |
|
596 |
"return/create the 'panelShownHolder' value holder (automatically generated)" |
|
597 |
||
598 |
panelShownHolder isNil ifTrue:[ |
|
599 |
panelShownHolder := ValueHolder new. |
|
600 |
]. |
|
601 |
^ panelShownHolder |
|
602 |
! |
|
603 |
||
604 |
panelShownHolder:aValueModel |
|
605 |
"set the 'panelShownHolder' value holder (automatically generated)" |
|
606 |
||
607 |
panelShownHolder := aValueModel. |
|
608 |
! |
|
609 |
||
9987 | 610 |
progressHolder |
611 |
<resource: #uiAspect> |
|
612 |
||
613 |
"automatically generated by UIPainter ..." |
|
614 |
||
615 |
"*** the code below creates a default model when invoked." |
|
616 |
"*** (which may not be the one you wanted)" |
|
617 |
"*** Please change as required and accept it in the browser." |
|
618 |
"*** (and replace this comment by something more useful ;-)" |
|
619 |
||
620 |
progressHolder isNil ifTrue:[ |
|
621 |
progressHolder := ValueHolder new. |
|
622 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
|
623 |
"/ progressHolder addDependent:self. |
|
624 |
"/ progressHolder onChangeSend:#progressHolderChanged to:self. |
|
625 |
]. |
|
626 |
^ progressHolder. |
|
627 |
! |
|
628 |
||
629 |
specHolder |
|
630 |
"return/create the 'specHolder' value holder (automatically generated)" |
|
631 |
||
632 |
specHolder isNil ifTrue:[ |
|
633 |
specHolder := ValueHolder with: #messageInfoSpec. |
|
634 |
]. |
|
635 |
^ specHolder |
|
636 |
||
637 |
"Modified: / 28-10-2010 / 18:29:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
638 |
! ! |
|
639 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
640 |
|
11518 | 641 |
!InlineMessageDialog methodsFor:'change & update'! |
642 |
||
643 |
update:aspect with:parameter from:changedObject |
|
644 |
"Invoked when an object that I depend upon sends a change notification." |
|
645 |
||
646 |
changedObject == backgroundColorHolder ifTrue:[ |
|
647 |
self backgroundColorOrDefaultHolder value: backgroundColorHolder value. |
|
648 |
^ self. |
|
649 |
]. |
|
650 |
super update:aspect with:parameter from:changedObject |
|
651 |
||
652 |
"Modified: / 10-04-2012 / 19:36:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
653 |
! ! |
|
654 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
655 |
|
11249 | 656 |
!InlineMessageDialog methodsFor:'hooks'! |
657 |
||
11518 | 658 |
commonPostBuild |
659 |
panelViewComponents notEmptyOrNil ifTrue:[ |
|
660 |
| correctionView | |
|
661 |
panelViewComponents do:[:each|panelView addSubView: each]. |
|
662 |
"/ "/Correction view, dunno why the layout is bad without it... |
|
663 |
"/ correctionView := View new. |
|
664 |
"/ correctionView extent: (panelView subViews size * 3)@24. |
|
665 |
"/ correctionView backgroundChannel: self backgroundColorOrDefaultHolder. |
|
666 |
"/ panelView addComponent: correctionView |
|
667 |
] |
|
668 |
||
669 |
"Created: / 10-04-2012 / 21:02:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
670 |
! |
|
671 |
||
672 |
postBuildPanelView: aPanelView |
|
673 |
panelView := aPanelView. |
|
674 |
||
675 |
"Created: / 10-04-2012 / 20:47:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
676 |
! |
|
677 |
||
11249 | 678 |
postBuildProgressView: aProgressIndicator |
679 |
progressView := aProgressIndicator |
|
680 |
||
681 |
"Created: / 10-02-2012 / 10:42:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
682 |
! ! |
|
683 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
684 |
|
9987 | 685 |
!InlineMessageDialog methodsFor:'private'! |
686 |
||
687 |
getMyView |
|
688 |
||
689 |
| v | |
|
690 |
||
11518 | 691 |
builder isNil ifTrue:[ ^ nil ]. |
9987 | 692 |
v := builder window. |
693 |
^(v superView isKindOf: SubCanvas) |
|
694 |
ifTrue:[v superView] |
|
695 |
ifFalse:[v] |
|
696 |
||
697 |
"Created: / 29-10-2010 / 11:49:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
698 |
! |
|
699 |
||
700 |
getOtherView |
|
701 |
||
702 |
| myView | |
|
703 |
||
704 |
myView := self getMyView. |
|
11518 | 705 |
^ (myView isNil or:[myView superView isNil]) ifTrue:[ |
11248 | 706 |
nil. |
707 |
] ifFalse: [ |
|
708 |
myView superView subViews after: myView |
|
709 |
]. |
|
9987 | 710 |
|
711 |
"Created: / 29-10-2010 / 11:49:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
712 |
! |
|
713 |
||
714 |
hide |
|
715 |
||
716 |
| myView otherView | |
|
12416
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
717 |
builder isNil ifTrue:[ ^ self ]. |
9987 | 718 |
myView := self getMyView. |
719 |
otherView := self getOtherView. |
|
720 |
||
11518 | 721 |
myView isVisible ifFalse:[ "/already hidden" |
722 |
self reset. |
|
723 |
^self |
|
724 |
]. |
|
9987 | 725 |
myView isVisible: false. |
11248 | 726 |
panelShownHolder notNil ifTrue:[ |
727 |
panelShownHolder value: false |
|
728 |
]. |
|
729 |
panelHiddenHolder notNil ifTrue:[ |
|
730 |
panelHiddenHolder value: true |
|
731 |
]. |
|
11518 | 732 |
changeLayoutUponShowHide ~~ false ifTrue:[ |
12416
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
733 |
otherView layout: layout. |
11518 | 734 |
]. |
11248 | 735 |
|
11518 | 736 |
self reset. |
9987 | 737 |
|
738 |
"Created: / 29-10-2010 / 11:55:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
12416
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
739 |
"Modified (format): / 17-01-2013 / 23:35:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9987 | 740 |
! |
741 |
||
11518 | 742 |
show |
9987 | 743 |
|
744 |
| myView otherView | |
|
745 |
myView := self getMyView. |
|
746 |
otherView := self getOtherView. |
|
11518 | 747 |
(myView isNil or:[myView isVisible]) ifTrue:[ |
748 |
^self. |
|
749 |
]. |
|
9987 | 750 |
myView isVisible: true. |
11248 | 751 |
panelShownHolder notNil ifTrue:[ |
752 |
panelShownHolder value: true |
|
753 |
]. |
|
754 |
panelHiddenHolder notNil ifTrue:[ |
|
755 |
panelHiddenHolder value: false |
|
756 |
]. |
|
757 |
||
11518 | 758 |
changeLayoutUponShowHide ~~ false ifTrue:[ |
759 |
otherView notNil ifTrue:[ |
|
760 |
layout := otherView layout copy. |
|
761 |
otherView layout: |
|
762 |
(layout copy topOffset: layout topOffset + 40; yourself). |
|
763 |
]. |
|
764 |
]. |
|
765 |
||
766 |
"Created: / 11-04-2012 / 11:43:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
767 |
! |
|
768 |
||
769 |
show: spec |
|
770 |
<resource: #obsolete> |
|
771 |
||
772 |
self obsoleteMethodWarning. |
|
773 |
self breakPoint: #jv. |
|
774 |
||
775 |
spec == #warningInfoSpec ifTrue:[ self beWarning ]. |
|
776 |
spec == #messageInfoSpec ifTrue:[ self beInformation ]. |
|
777 |
spec == #progressInfoSpec ifTrue:[ self beProgress ]. |
|
778 |
self show. |
|
9987 | 779 |
|
780 |
"Created: / 29-10-2010 / 11:48:15 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
781 |
! ! |
|
782 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
783 |
|
11518 | 784 |
!InlineMessageDialog methodsFor:'utilities'! |
785 |
||
786 |
reset |
|
787 |
"Resets the dialog to initial state, removes all |
|
788 |
user supplied components." |
|
789 |
||
790 |
self removeComponents. |
|
791 |
||
792 |
"Created: / 11-04-2012 / 00:51:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
793 |
! |
|
794 |
||
795 |
showMessage: aString |
|
796 |
"Shows given message and OK button (which closes the dialog |
|
797 |
when clicked" |
|
798 |
||
799 |
self showMessage: aString closeAfter: nil |
|
800 |
||
801 |
"Created: / 11-04-2012 / 13:11:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
802 |
! |
|
803 |
||
804 |
showMessage: aString closeAfter: aTimeDurationOrIntegerOrNil |
|
805 |
"Shows given message and OK button (which closes the dialog |
|
806 |
when clicked). The dialog closes automaticaly after |
|
807 |
aTimeDurationOrIntegerOrNil (integer value means secons, nil |
|
808 |
means do not close automatically)" |
|
809 |
||
810 |
||
811 |
self reset. |
|
812 |
self beInformation. |
|
813 |
self message: aString. |
|
814 |
self addButtonOK. |
|
815 |
self show. |
|
816 |
aTimeDurationOrIntegerOrNil notNil ifTrue:[ |
|
817 |
worker := |
|
818 |
[ |
|
819 |
aTimeDurationOrIntegerOrNil isInteger ifTrue:[ |
|
820 |
Delay waitForSeconds: aTimeDurationOrIntegerOrNil. |
|
821 |
] ifFalse:[ |
|
822 |
Delay waitForMilliseconds: aTimeDurationOrIntegerOrNil milliseconds |
|
823 |
]. |
|
824 |
self hide. |
|
825 |
] newProcess. |
|
826 |
worker addExitAction:[ worker := nil ]. |
|
827 |
worker resume. |
|
828 |
]. |
|
829 |
||
830 |
"Created: / 11-04-2012 / 13:13:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
831 |
! |
|
832 |
||
833 |
showProgressLabeled: aString while: aBlock |
|
834 |
"During an execution of aBlock, show a label with given |
|
835 |
string, a progressbar showing the progress and an 'Abort' button. |
|
836 |
||
837 |
If the block raises a ProgressNotification, then the percentage |
|
838 |
progress is updated accordingly. If it raises an ActivityNotification, |
|
839 |
then the label is updated and progress bar is changed to be an |
|
840 |
activity notificator. |
|
841 |
||
842 |
When an 'Abort' button is pressed, the block is interrupted by |
|
843 |
AbortOperationRequest. |
|
844 |
||
845 |
When a block terminates (either normally or abruptly, dialog is closed. |
|
846 |
" |
|
847 |
||
848 |
worker := [ |
|
849 |
self reset. |
|
850 |
self beProgress. |
|
851 |
self message: aString. |
|
852 |
self addButtonAbort. |
|
853 |
self progress: nil. |
|
854 |
self show. |
|
855 |
[ |
|
856 |
aBlock value. |
|
857 |
] on: ProgressNotification , ActivityNotification do:[:ex| |
|
858 |
self progress: ex parameter. |
|
859 |
ex messageText notNil ifTrue:[ |
|
860 |
self message: ex messageText. |
|
861 |
]. |
|
862 |
ex proceed. |
|
863 |
]. |
|
864 |
] newProcess. |
|
865 |
worker addExitAction:[ |
|
866 |
"This check is required, since somebody may want to show |
|
867 |
info/warning from within the action block" |
|
868 |
self specHolder value == #progressInfoSpec ifTrue:[ |
|
869 |
self hide. |
|
870 |
]. |
|
871 |
worker := nil. |
|
872 |
]. |
|
873 |
worker resume. |
|
874 |
||
875 |
"Created: / 11-04-2012 / 13:38:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
876 |
! ! |
|
877 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
878 |
|
11518 | 879 |
!InlineMessageDialog methodsFor:'utilities-obsolete'! |
880 |
||
881 |
information: message |
|
882 |
||
883 |
self information: message timeout: nil |
|
884 |
||
885 |
"Created: / 11-02-2012 / 23:14:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
886 |
! |
|
887 |
||
888 |
information: message timeout: timeoutOrNil |
|
889 |
||
890 |
self reset. |
|
891 |
self beInformation. |
|
892 |
self message: message. |
|
893 |
self addButtonOK. |
|
894 |
self show. |
|
895 |
timeoutOrNil isInteger ifTrue:[ |
|
896 |
[ |
|
897 |
Delay waitForSeconds: timeoutOrNil. |
|
898 |
self hide. |
|
899 |
] fork. |
|
900 |
] |
|
901 |
||
902 |
"Created: / 11-02-2012 / 23:14:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
903 |
! |
|
904 |
||
905 |
progress: label while: block |
|
906 |
||
907 |
worker := [ |
|
908 |
self reset. |
|
909 |
self beProgress. |
|
910 |
self message: label. |
|
911 |
self addButtonAbort. |
|
912 |
self progress: nil. |
|
913 |
self show. |
|
914 |
[ |
|
915 |
block value. |
|
916 |
] on: ProgressNotification , ActivityNotification do:[:ex| |
|
917 |
self progress: ex parameter. |
|
918 |
ex messageText notNil ifTrue:[ |
|
919 |
self message: ex messageText. |
|
920 |
]. |
|
921 |
ex proceed. |
|
922 |
]. |
|
923 |
] newProcess. |
|
924 |
worker addExitAction:[ |
|
925 |
self specHolder value == #progressInfoSpec ifTrue:[ |
|
926 |
self hide. |
|
927 |
]. |
|
928 |
worker := nil. |
|
929 |
]. |
|
930 |
worker resume. |
|
931 |
||
932 |
"Created: / 10-02-2012 / 10:34:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
933 |
! |
|
934 |
||
935 |
warning: message action: block labeled: label |
|
936 |
||
937 |
self reset. |
|
938 |
self beWarning. |
|
939 |
self message: message. |
|
940 |
self addButtonWithLabel: label action: block. |
|
941 |
self addButtonOK. |
|
942 |
self show |
|
943 |
||
944 |
"Created: / 13-02-2012 / 16:59:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
945 |
! ! |
|
946 |
||
12626
7ae48abfedac
Merged 482496b7e155 and af982630f6ad (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
947 |
|
9987 | 948 |
!InlineMessageDialog class methodsFor:'documentation'! |
949 |
||
11249 | 950 |
version |
12603 | 951 |
^ '$Header: /cvs/stx/stx/libtool/Tools__InlineMessageDialog.st,v 1.11 2013-03-31 20:32:27 cg Exp $' |
12462
7466535c9b47
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12416
diff
changeset
|
952 |
! |
7466535c9b47
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12416
diff
changeset
|
953 |
|
7466535c9b47
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12416
diff
changeset
|
954 |
version_HG |
7466535c9b47
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12416
diff
changeset
|
955 |
|
7466535c9b47
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12416
diff
changeset
|
956 |
^ '§Changeset: <not expanded> §' |
11249 | 957 |
! |
958 |
||
9987 | 959 |
version_SVN |
11518 | 960 |
^ '§Id: Tools__InlineMessageDialog.st 7976 2012-04-11 16:14:22Z vranyj1 §' |
9987 | 961 |
! ! |
12416
1171d0e7a363
class: Tools::InlineMessageDialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11518
diff
changeset
|
962 |