author | Stefan Vogel <sv@exept.de> |
Mon, 13 Mar 2017 09:54:33 +0100 | |
changeset 3941 | dd9237d3a727 |
parent 3905 | 88442f2772d0 |
child 3997 | f388b337715a |
permissions | -rw-r--r-- |
867 | 1 |
" |
896 | 2 |
COPYRIGHT (c) 1997-1998 by eXept Software AG |
867 | 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 |
" |
|
1390
35f90684be49
browserClass from preferences
Claus Gittinger <cg@exept.de>
parents:
1201
diff
changeset
|
12 |
"{ Package: 'stx:libview2' }" |
35f90684be49
browserClass from preferences
Claus Gittinger <cg@exept.de>
parents:
1201
diff
changeset
|
13 |
|
3519 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
867 | 16 |
ToolApplicationModel subclass:#ResourceSpecEditor |
2097 | 17 |
instanceVariableNames:'specClass specClassName specSelector aspects modified hasSaved |
2748
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
18 |
tabSelection isEmbeddedInBrowser' |
867 | 19 |
classVariableNames:'' |
20 |
poolDictionaries:'' |
|
21 |
category:'Interface-Framework' |
|
22 |
! |
|
23 |
||
24 |
!ResourceSpecEditor class methodsFor:'documentation'! |
|
25 |
||
26 |
copyright |
|
27 |
" |
|
896 | 28 |
COPYRIGHT (c) 1997-1998 by eXept Software AG |
867 | 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 |
||
44 |
documentation |
|
45 |
" |
|
896 | 46 |
Abstract super class for the MenuEditor, HierarchicalListEditor, |
47 |
and the TabListEditor. |
|
48 |
It provides common behavior for initializing, loading, saving, and |
|
49 |
asking for modifications of the resource specs (#menu, #hierarchicalList, |
|
50 |
#tabList) for the concrete subclasses. |
|
51 |
||
52 |
[instance variables:] |
|
53 |
specClass <Symbol> class implementing the resource spec |
|
54 |
specSelector <Symbol> selector returning the resource spec |
|
55 |
aspects <IdentityDictionary> dictionary with the attributes of the resource spec |
|
56 |
modified <Boolean> flag whether the resource spec was modified |
|
57 |
hasSaved <Boolean> flag whether the resource spec was saved |
|
58 |
tabSelection <Integer> index of the tab selection |
|
59 |
||
60 |
[see also:] |
|
61 |
MenuEditor |
|
62 |
HierarchicalListEditor |
|
63 |
TabListEditor |
|
867 | 64 |
|
65 |
[author:] |
|
876 | 66 |
Thomas Zwick, eXept Software AG |
867 | 67 |
" |
68 |
! ! |
|
69 |
||
70 |
!ResourceSpecEditor class methodsFor:'instance creation'! |
|
71 |
||
72 |
openModalOnClass:aClass andSelector:aSelector |
|
896 | 73 |
"opens modal the Resource Spec Editor on aClass and aSelector" |
867 | 74 |
|
75 |
^self new openModalOnClass:aClass andSelector:aSelector |
|
76 |
||
77 |
! |
|
78 |
||
79 |
openOnClass:aClass andSelector:aSelector |
|
896 | 80 |
"opens the Resource Spec Editor on aClass and aSelector" |
867 | 81 |
|
2102 | 82 |
^ self new openOnClass:aClass andSelector:aSelector |
867 | 83 |
! ! |
84 |
||
85 |
!ResourceSpecEditor class methodsFor:'accessing'! |
|
86 |
||
87 |
codeGenerationComment |
|
896 | 88 |
"returns a comment for the method code generated by myself" |
867 | 89 |
|
90 |
^self codeGenerationCommentForClass: self |
|
91 |
||
92 |
||
93 |
||
94 |
||
95 |
! |
|
96 |
||
1994 | 97 |
codeGenerationCommentForClass: generatingClass |
98 |
"returns a comment for the method code generated by generatingClass" |
|
99 |
||
100 |
|generatingClassName| |
|
101 |
||
102 |
generatingClassName := generatingClass name. |
|
867 | 103 |
|
104 |
^' "This resource specification was automatically generated\', |
|
1994 | 105 |
' by the ', generatingClassName, ' of ST/X."\\', |
867 | 106 |
|
107 |
' "Do not manually edit this!! If it is corrupted,\', |
|
1994 | 108 |
' the ', generatingClassName, ' may not be able to read the specification."' |
867 | 109 |
! |
110 |
||
111 |
resourceType |
|
896 | 112 |
"returns the type of resource of the method generated by the Resource Spec Editor; |
113 |
concrete subclasses has to reimplement this method" |
|
867 | 114 |
|
868 | 115 |
^self subclassResponsibility |
867 | 116 |
! ! |
117 |
||
118 |
!ResourceSpecEditor class methodsFor:'aspects'! |
|
119 |
||
120 |
aspects |
|
896 | 121 |
"returns the aspects for the attributes of the resource spec components; |
122 |
concrete subclasses might reimplement this method in order to return an array" |
|
867 | 123 |
|
124 |
^#() |
|
125 |
! ! |
|
126 |
||
3823 | 127 |
!ResourceSpecEditor class methodsFor:'help spec'! |
128 |
||
129 |
helpSpec |
|
130 |
"This resource specification was automatically generated |
|
131 |
by the UIHelpTool of ST/X." |
|
132 |
||
133 |
"Do not manually edit this!! If it is corrupted, |
|
134 |
the UIHelpTool may not be able to read the specification." |
|
135 |
||
136 |
" |
|
137 |
UIHelpTool openOnClass:ToolApplicationModel |
|
138 |
" |
|
139 |
||
140 |
<resource: #help> |
|
141 |
||
142 |
^ super helpSpec addPairsFrom:#( |
|
143 |
#fileShowStoreString |
|
144 |
'Show the Smalltalk storeString (to be pasted into code)' |
|
145 |
||
146 |
) |
|
147 |
! ! |
|
148 |
||
896 | 149 |
!ResourceSpecEditor class methodsFor:'queries'! |
150 |
||
3876 | 151 |
isAbstract |
152 |
"Return if this class is an abstract class. |
|
153 |
True is returned here for myself only; false for subclasses. |
|
154 |
Abstract subclasses must redefine this again." |
|
155 |
||
156 |
^ self == ResourceSpecEditor. |
|
157 |
! |
|
158 |
||
896 | 159 |
isVisualStartable |
1427 | 160 |
"return true, if this application can be started via #open. |
161 |
(to allow start of a change browser via double-click in the browser)" |
|
896 | 162 |
|
163 |
self == ResourceSpecEditor ifTrue:[^false]. |
|
164 |
^super isVisualStartable |
|
1967 | 165 |
! |
166 |
||
167 |
resourcePackage |
|
168 |
^ #'stx:libtool2' |
|
896 | 169 |
! ! |
170 |
||
2539 | 171 |
!ResourceSpecEditor class methodsFor:'startup & release'! |
876 | 172 |
|
173 |
preSnapshot |
|
896 | 174 |
"before a snapshot; updates the channels, |
175 |
because the clipboard has removed" |
|
876 | 176 |
|
177 |
super preSnapshot. |
|
178 |
||
1090 | 179 |
instances notNil ifTrue:[ |
180 |
instances do:[:inst | |
|
181 |
inst updateChannels. |
|
2103 | 182 |
inst enablingCommitButtonsHolder value: false. |
1147 | 183 |
inst modifiedChannel value: false. |
1090 | 184 |
] |
876 | 185 |
] |
186 |
||
1090 | 187 |
"Modified: / 4.2.1999 / 15:32:17 / cg" |
876 | 188 |
! ! |
189 |
||
867 | 190 |
!ResourceSpecEditor methodsFor:'accessing'! |
191 |
||
3809 | 192 |
alternativeSpecSelectors |
193 |
"returns an alternative method selector of the resource spec" |
|
194 |
||
195 |
^ nil |
|
196 |
! |
|
197 |
||
2097 | 198 |
clearModified |
2111
c3aee5cae2fe
embedding as special editors
Claus Gittinger <cg@exept.de>
parents:
2110
diff
changeset
|
199 |
self modified:false |
2097 | 200 |
! |
201 |
||
2748
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
202 |
isEmbeddedInBrowser |
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
203 |
^ isEmbeddedInBrowser ? false |
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
204 |
! |
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
205 |
|
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
206 |
isEmbeddedInBrowser:something |
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
207 |
isEmbeddedInBrowser := something. |
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
208 |
! |
03b9b57d2076
fixed usage as subcomponent in browser
Claus Gittinger <cg@exept.de>
parents:
2693
diff
changeset
|
209 |
|
867 | 210 |
modified |
889 | 211 |
"returns whether the resource spec was modified" |
867 | 212 |
|
2110 | 213 |
^ modified |
867 | 214 |
! |
215 |
||
216 |
modified: aBoolean |
|
896 | 217 |
"sets the resource spec modified as aBoolean" |
867 | 218 |
|
219 |
modified := aBoolean |
|
220 |
! |
|
221 |
||
2097 | 222 |
setModified |
2111
c3aee5cae2fe
embedding as special editors
Claus Gittinger <cg@exept.de>
parents:
2110
diff
changeset
|
223 |
self modified:true |
2097 | 224 |
! |
225 |
||
867 | 226 |
specClass |
2296 | 227 |
"return the class where the resource spec is implemented" |
867 | 228 |
|
2097 | 229 |
^ specClass |
867 | 230 |
! |
231 |
||
2097 | 232 |
specClass:aClassOrClassName |
889 | 233 |
"sets the class (or name) where the resource spec is (or should be) implemented" |
867 | 234 |
|
2097 | 235 |
aClassOrClassName isBehavior |
236 |
ifTrue: [ specClass := aClassOrClassName ] |
|
2374 | 237 |
ifFalse:[ specClass := Smalltalk classNamed:aClassOrClassName ]. |
238 |
||
239 |
"Modified: / 14-01-2008 / 17:38:54 / cg" |
|
2097 | 240 |
! |
241 |
||
242 |
specClassName |
|
2296 | 243 |
"return the classes name where the resource spec is implemented" |
2097 | 244 |
|
245 |
^ specClass name |
|
867 | 246 |
! |
247 |
||
248 |
specSelector |
|
889 | 249 |
"returns the method selector of the resource spec" |
867 | 250 |
|
251 |
^specSelector |
|
252 |
||
253 |
! |
|
254 |
||
255 |
specSelector:aSelector |
|
3809 | 256 |
"sets the method selector of the resource spec. |
257 |
That is the spec method being edited (i.e. #helpSpec, #windowSpec, #menuSpec, etc.)" |
|
867 | 258 |
|
259 |
specSelector := aSelector |
|
260 |
! ! |
|
261 |
||
262 |
!ResourceSpecEditor methodsFor:'aspects'! |
|
263 |
||
2120 | 264 |
aspectAt:aKey put:aValueHolder |
265 |
aspects at: aKey put:aValueHolder |
|
266 |
! |
|
267 |
||
867 | 268 |
aspectFor:aKey |
889 | 269 |
"returns the aspect for a aKey or nil" |
867 | 270 |
|
2498 | 271 |
^ aspects at: aKey ifAbsent: [super aspectFor:aKey] |
867 | 272 |
! |
273 |
||
2200
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
274 |
autoAcceptOnSelectionChange |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
275 |
^ builder valueAspectFor:#autoAcceptOnSelectionChange initialValue:true |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
276 |
! |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
277 |
|
2103 | 278 |
canPasteHolder |
279 |
"returns whether the application can paste; as value holder" |
|
280 |
||
281 |
|holder| |
|
282 |
||
283 |
holder := super canPasteHolder. |
|
284 |
holder value:(self class clipboard notNil). |
|
285 |
^ holder |
|
286 |
! |
|
287 |
||
288 |
enableMovingInAboveHolder |
|
289 |
"returns whether the selected item can move into the previous item as child; |
|
290 |
as a value holder" |
|
291 |
||
292 |
^builder booleanValueAspectFor: #valueOfEnableMovingInAbove |
|
293 |
! |
|
294 |
||
295 |
enableMovingInHolder |
|
296 |
"returns whether the selected item can move into next item as child; as value holder" |
|
297 |
||
298 |
^builder booleanValueAspectFor: #valueOfEnableMovingIn |
|
299 |
! |
|
300 |
||
301 |
enableMovingOutHolder |
|
302 |
"returns whether the selected item can move out from its parent item; as value holder" |
|
303 |
||
304 |
^builder booleanValueAspectFor: #valueOfEnableMovingOut |
|
305 |
! |
|
306 |
||
307 |
enableMovingUpOrDownHolder |
|
308 |
"returns whether the selected item can move up or down; as value holder" |
|
309 |
||
310 |
^builder booleanValueAspectFor: #valueOfEnableMovingUpOrDown |
|
311 |
! |
|
312 |
||
867 | 313 |
tabModel |
889 | 314 |
"returns the value holder for the tab selection" |
867 | 315 |
|
316 |
|holder| |
|
317 |
(holder := builder bindingAt:#tabModel) isNil ifTrue:[ |
|
318 |
holder := AspectAdaptor new subject:self; forAspect:#tabSelection. |
|
319 |
builder aspectAt:#tabModel put:holder. |
|
320 |
]. |
|
321 |
^ holder |
|
322 |
! |
|
323 |
||
324 |
valueOfEnableMovingIn |
|
2606 | 325 |
<resource: #obsolete> |
1470 | 326 |
"returns whether the selected item can move into next item as child; as value holder" |
867 | 327 |
|
2103 | 328 |
self obsoleteMethodWarning:'stupid name - use #enableMovingInHolder'. |
329 |
^ self enableMovingInHolder |
|
1470 | 330 |
! |
867 | 331 |
|
1470 | 332 |
valueOfEnableMovingInAbove |
2606 | 333 |
<resource: #obsolete> |
1470 | 334 |
"returns whether the selected item can move into the previous item as child; |
335 |
as a value holder" |
|
867 | 336 |
|
2103 | 337 |
self obsoleteMethodWarning:'stupid name - use #enableMovingInAboveHolder'. |
338 |
^ self enableMovingInAboveHolder |
|
867 | 339 |
! |
340 |
||
341 |
valueOfEnableMovingOut |
|
2606 | 342 |
<resource: #obsolete> |
1470 | 343 |
"returns whether the selected item can move out from its parent item; as value holder" |
867 | 344 |
|
2103 | 345 |
self obsoleteMethodWarning:'stupid name - use #enableMovingOutHolder'. |
346 |
^ self enableMovingOutHolder |
|
867 | 347 |
! |
348 |
||
349 |
valueOfEnableMovingUpOrDown |
|
2606 | 350 |
<resource: #obsolete> |
1470 | 351 |
"returns whether the selected item can move up or down; as value holder" |
867 | 352 |
|
2103 | 353 |
self obsoleteMethodWarning:'stupid name - use #enableMovingUpOrDownHolder'. |
354 |
^ self enableMovingUpOrDownHolder |
|
867 | 355 |
! ! |
356 |
||
357 |
!ResourceSpecEditor methodsFor:'building'! |
|
358 |
||
2037 | 359 |
buildFromClass: aClass andSelector: aSelector |
2097 | 360 |
^ self loadFromClass: aClass andSelector: aSelector |
2037 | 361 |
! |
362 |
||
867 | 363 |
buildFromResourceSpec: aResourceSpec |
868 | 364 |
"concrete subclass has to reimplement this method |
867 | 365 |
in order to build its resource spec from aResourceSpec" |
366 |
||
2097 | 367 |
^ self loadFromResourceSpec:aResourceSpec |
368 |
! |
|
369 |
||
370 |
loadFromClass: aClass andSelector: aSelector |
|
371 |
^ self subclassResponsibility |
|
372 |
! |
|
373 |
||
374 |
loadFromResourceSpec: aResourceSpec |
|
375 |
"concrete subclass has to reimplement this method |
|
376 |
in order to build its resource spec from aResourceSpec" |
|
377 |
||
2693 | 378 |
^ self subclassResponsibility |
867 | 379 |
! ! |
380 |
||
381 |
!ResourceSpecEditor methodsFor:'change & update'! |
|
382 |
||
1874
4bd4f25fdada
oops - modified flag was always re-turned on
Claus Gittinger <cg@exept.de>
parents:
1870
diff
changeset
|
383 |
update:something with:aParameter from:changedObject |
867 | 384 |
"one of my aspects has changed; update modified channel for the commit buttons" |
385 |
||
1874
4bd4f25fdada
oops - modified flag was always re-turned on
Claus Gittinger <cg@exept.de>
parents:
1870
diff
changeset
|
386 |
|enableCommitButtonsHolder| |
4bd4f25fdada
oops - modified flag was always re-turned on
Claus Gittinger <cg@exept.de>
parents:
1870
diff
changeset
|
387 |
|
2103 | 388 |
enableCommitButtonsHolder := self enablingCommitButtonsHolder. |
1874
4bd4f25fdada
oops - modified flag was always re-turned on
Claus Gittinger <cg@exept.de>
parents:
1870
diff
changeset
|
389 |
|
4bd4f25fdada
oops - modified flag was always re-turned on
Claus Gittinger <cg@exept.de>
parents:
1870
diff
changeset
|
390 |
changedObject ~~ enableCommitButtonsHolder ifTrue:[ |
4bd4f25fdada
oops - modified flag was always re-turned on
Claus Gittinger <cg@exept.de>
parents:
1870
diff
changeset
|
391 |
enableCommitButtonsHolder value: true |
4bd4f25fdada
oops - modified flag was always re-turned on
Claus Gittinger <cg@exept.de>
parents:
1870
diff
changeset
|
392 |
] |
876 | 393 |
! |
394 |
||
395 |
updateAllToolInstances |
|
896 | 396 |
"updates the channels of all other instances of my class" |
876 | 397 |
|
398 |
self allToolInstances do: [:inst| inst updateChannels] |
|
399 |
||
400 |
! |
|
401 |
||
402 |
updateChannels |
|
896 | 403 |
"updates my channels" |
876 | 404 |
|
2103 | 405 |
"/ self valueOfCanPaste |
867 | 406 |
! ! |
407 |
||
408 |
!ResourceSpecEditor methodsFor:'help'! |
|
409 |
||
410 |
defaultInfoLabel |
|
889 | 411 |
"returns the default label for the info bar" |
867 | 412 |
|
2097 | 413 |
specClass isBehavior ifTrue:[ |
414 |
(specClass respondsTo:specSelector) ifTrue:[ |
|
415 |
^ specClass name, ' >> ', specSelector |
|
876 | 416 |
]. |
2097 | 417 |
specSelector isNil ifTrue:[ |
418 |
^ specClass name, ' >> ? (no selector defined)' |
|
419 |
]. |
|
420 |
^ specClass name, ' >> ', specSelector, ' (not implemented)' |
|
867 | 421 |
]. |
2097 | 422 |
^ 'No class and selector defined.' |
867 | 423 |
! ! |
424 |
||
425 |
!ResourceSpecEditor methodsFor:'initialization'! |
|
426 |
||
427 |
initialize |
|
428 |
"initialize the flags and the aspects" |
|
429 |
||
430 |
super initialize. |
|
431 |
||
896 | 432 |
hasSaved := modified := false. |
433 |
aspects := IdentityDictionary new. |
|
867 | 434 |
tabSelection := 0. |
435 |
||
2874
6a5590e8b647
comment/format in: #initialize
Claus Gittinger <cg@exept.de>
parents:
2748
diff
changeset
|
436 |
self class aspects do:[:aKey| |
867 | 437 |
|holder| |
438 |
aspects at:aKey put: (holder := ValueHolder new). |
|
439 |
holder addDependent: self |
|
896 | 440 |
] |
2874
6a5590e8b647
comment/format in: #initialize
Claus Gittinger <cg@exept.de>
parents:
2748
diff
changeset
|
441 |
|
6a5590e8b647
comment/format in: #initialize
Claus Gittinger <cg@exept.de>
parents:
2748
diff
changeset
|
442 |
"Modified: / 25-10-2010 / 10:31:32 / cg" |
867 | 443 |
! ! |
444 |
||
445 |
!ResourceSpecEditor methodsFor:'private'! |
|
446 |
||
447 |
askForItemModification |
|
889 | 448 |
"asks for resource item modification" |
867 | 449 |
|
1524
6a0a84872e73
added cancel to ask-if-modified dialog
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
450 |
|anythingChangedHolder anythingChanged answer| |
6a0a84872e73
added cancel to ask-if-modified dialog
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
451 |
|
2103 | 452 |
anythingChangedHolder := self enablingCommitButtonsHolder. |
1524
6a0a84872e73
added cancel to ask-if-modified dialog
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
453 |
anythingChanged := anythingChangedHolder value. |
2200
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
454 |
anythingChanged ifFalse:[^ true]. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
455 |
|
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
456 |
self autoAcceptOnSelectionChange value ifTrue:[ |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
457 |
self accept. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
458 |
^ true |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
459 |
]. |
1524
6a0a84872e73
added cancel to ask-if-modified dialog
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
460 |
|
2200
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
461 |
answer := Dialog |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
462 |
confirmWithCancel:(resources string:'Item was modified !!\Save it ?\' withCRs) |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
463 |
labels:(resources array:#('Cancel' 'No' 'Yes')) |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
464 |
default:3. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
465 |
answer isNil ifTrue:[ |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
466 |
^ false |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
467 |
]. |
1524
6a0a84872e73
added cancel to ask-if-modified dialog
Claus Gittinger <cg@exept.de>
parents:
1504
diff
changeset
|
468 |
|
2200
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
469 |
answer ifTrue:[ |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
470 |
self accept |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
471 |
] ifFalse:[ |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
472 |
anythingChangedHolder value: false. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
473 |
self clearModifiedFlag. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
474 |
self clearModified. |
867 | 475 |
]. |
2200
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
476 |
^ true |
867 | 477 |
|
2200
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
478 |
"Modified: / 05-09-2006 / 18:41:11 / cg" |
867 | 479 |
! |
480 |
||
481 |
askForListModification |
|
889 | 482 |
"asks for resource modification" |
867 | 483 |
|
1870
c0475972bf3e
Use 'Discard Changes and Exit' instead of 'Forget it...'
Stefan Vogel <sv@exept.de>
parents:
1767
diff
changeset
|
484 |
self modified ifTrue: |
867 | 485 |
[ |
2265 | 486 |
((YesNoBox title:(resources string:'Modified %1 spec was not saved. Proceed?' with:self class resourceType asUppercaseFirst)) |
929 | 487 |
noText:(resources string:'Cancel'); |
2037 | 488 |
yesText:(resources string:'Discard Changes and Proceed'); |
867 | 489 |
showAtPointer; |
2037 | 490 |
accepted) ifFalse: [^ false]. |
2097 | 491 |
self clearModified |
867 | 492 |
]. |
2037 | 493 |
^ true |
929 | 494 |
|
2265 | 495 |
"Modified: / 17-10-2006 / 17:43:53 / cg" |
867 | 496 |
! |
497 |
||
498 |
askForModification |
|
889 | 499 |
"asks first for item and then for resource modification" |
867 | 500 |
|
501 |
^self askForItemModification and: [self askForListModification] |
|
502 |
||
503 |
! |
|
504 |
||
2097 | 505 |
extractClassAndSelectorFrom:aString |
506 |
"extracts class and selector from a resource string. On success |
|
507 |
an association with the key a class and the selector as value |
|
508 |
is returned. Otherwise nil is returned |
|
509 |
" |
|
510 |
|words newClass newSel| |
|
511 |
||
512 |
aString size ~~ 0 ifTrue:[ |
|
513 |
words := aString asCollectionOfWords. |
|
867 | 514 |
|
2097 | 515 |
words size == 2 ifTrue:[ |
516 |
newClass := self resolveName:(words first). |
|
517 |
||
518 |
(newClass isClass and:[newClass isLoaded]) ifTrue:[ |
|
519 |
newSel := words last asSymbol. |
|
520 |
||
521 |
(newClass class includesSelector:newSel) ifTrue:[ |
|
522 |
^ Association key:newClass value:newSel |
|
523 |
]. |
|
524 |
]. |
|
525 |
]. |
|
526 |
]. |
|
527 |
^ nil |
|
867 | 528 |
! |
529 |
||
2097 | 530 |
updateHistory |
531 |
"updates the history, if there was loaded a resource spec" |
|
532 |
||
533 |
specClass notNil ifTrue:[ |
|
534 |
self addHistoryEntryForClass:specClass selector:specSelector |
|
535 |
] |
|
536 |
! |
|
867 | 537 |
|
2097 | 538 |
xxresourceMessage:aString |
539 |
"extracts the specClass and the specSelector from aString " |
|
540 |
||
541 |
|msg cls| |
|
542 |
||
543 |
(aString notNil and:[self askForModification]) ifTrue:[ |
|
867 | 544 |
msg := aString asCollectionOfWords. |
2097 | 545 |
(msg size == 2 |
546 |
and: [ (cls := self resolveName:(msg at:1)) notNil ]) |
|
547 |
ifTrue:[ |
|
548 |
specClass := cls. |
|
867 | 549 |
specSelector := (msg at: 2) asSymbol. |
550 |
^true |
|
551 |
] |
|
552 |
]. |
|
553 |
^false |
|
554 |
! ! |
|
555 |
||
556 |
!ResourceSpecEditor methodsFor:'queries'! |
|
557 |
||
558 |
hasSaved |
|
2107 | 559 |
"returns true if the resource spec was saved" |
867 | 560 |
|
2107 | 561 |
^ hasSaved |
867 | 562 |
! |
563 |
||
2110 | 564 |
isModified |
2111
c3aee5cae2fe
embedding as special editors
Claus Gittinger <cg@exept.de>
parents:
2110
diff
changeset
|
565 |
^ self modified |
2110 | 566 |
! |
567 |
||
2097 | 568 |
isNotStandAlone |
3905 | 569 |
"returns true if the editor was NOT started from or in another tool; |
570 |
i.e. is embedded in another tool, such as the inspector" |
|
2097 | 571 |
|
2107 | 572 |
^ self masterApplication notNil |
3905 | 573 |
|
574 |
"Modified (comment): / 20-02-2017 / 10:47:10 / cg" |
|
2097 | 575 |
! |
576 |
||
867 | 577 |
isStandAlone |
3905 | 578 |
"returns true if the editor was started from or in another tool; |
579 |
i.e. is not embedded in another tool such as the inspector" |
|
867 | 580 |
|
2107 | 581 |
^ self masterApplication isNil |
3905 | 582 |
|
583 |
"Modified (comment): / 20-02-2017 / 10:46:50 / cg" |
|
867 | 584 |
! ! |
585 |
||
586 |
!ResourceSpecEditor methodsFor:'selection'! |
|
587 |
||
2200
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
588 |
selectionChangeAllowed:newSelection |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
589 |
self isModified ifFalse:[^ true]. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
590 |
|
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
591 |
self autoAcceptOnSelectionChange value ifTrue:[ |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
592 |
self accept |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
593 |
] ifFalse:[ |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
594 |
self askForUnsavedModifications ifFalse:[^ false]. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
595 |
]. |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
596 |
^ true |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
597 |
! |
98ec425dc11c
shared code between Menu- and UIPainter
Claus Gittinger <cg@exept.de>
parents:
2120
diff
changeset
|
598 |
|
867 | 599 |
tabSelection |
600 |
"returns selected tab index or 0" |
|
601 |
||
602 |
^tabSelection |
|
603 |
||
604 |
! ! |
|
605 |
||
1767 | 606 |
!ResourceSpecEditor methodsFor:'startup & release'! |
867 | 607 |
|
608 |
closeRequest |
|
2120 | 609 |
"asks for permission before closing" |
867 | 610 |
|
2120 | 611 |
self askForModification ifTrue: [ |
612 |
super closeRequest |
|
613 |
] |
|
867 | 614 |
! |
615 |
||
2097 | 616 |
loadFromMessage:classAndSelector |
896 | 617 |
"builds by evaluating aString the resource spec for editing" |
867 | 618 |
|
2097 | 619 |
|cls sel| |
620 |
||
621 |
self askForModification ifFalse:[ ^ false]. |
|
622 |
classAndSelector isNil ifTrue:[^ false]. |
|
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
623 |
|
2097 | 624 |
cls := classAndSelector methodClass. |
625 |
sel := classAndSelector methodSelector. |
|
626 |
self isStandAlone |
|
627 |
ifFalse: [self loadFromResourceSpec: (cls perform: sel).] |
|
628 |
ifTrue: [self loadFromClass:cls andSelector:sel ]. |
|
629 |
^ true |
|
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
630 |
|
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
631 |
"Modified: / 21.5.1998 / 02:56:46 / cg" |
867 | 632 |
! |
633 |
||
634 |
openModalOnClass:aClass andSelector:aSelector |
|
896 | 635 |
"sets the specClass and specSelector and opens modal the interface" |
867 | 636 |
|
2097 | 637 |
specClass := aClass isClass ifTrue: [aClass] ifFalse: [ Smalltalk classNamed:aClass]. |
867 | 638 |
specSelector := aSelector. |
639 |
||
1735 | 640 |
self openInterfaceModal. |
867 | 641 |
! |
642 |
||
643 |
openModalOnResourceSpec: aListSpec |
|
896 | 644 |
"builds first from specClass and specSelector the resource spec for editing, |
645 |
then opens modal the interface" |
|
867 | 646 |
|
1735 | 647 |
self allButOpen. |
2097 | 648 |
self loadFromResourceSpec:aListSpec. |
1735 | 649 |
self openWindowModal. |
867 | 650 |
! |
651 |
||
652 |
openOnClass:aClass andSelector:aSelector |
|
896 | 653 |
"sets the specClass and specSelector and opens the interface" |
867 | 654 |
|
2097 | 655 |
specClass := aClass isBehavior ifTrue: [aClass] ifFalse: [ Smalltalk classNamed:aClass]. |
867 | 656 |
specSelector := aSelector. |
657 |
||
1735 | 658 |
self openInterface. |
867 | 659 |
! |
660 |
||
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
661 |
postBuildWith:aBuilder |
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
662 |
"after creating the views and before opening, |
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
663 |
adds myself to the instances dictionary in the settings" |
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
664 |
|
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
665 |
super postBuildWith:aBuilder. |
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
666 |
|
1090 | 667 |
self class rememberInstance:self |
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
668 |
|
1090 | 669 |
"Modified: / 4.2.1999 / 15:33:23 / cg" |
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
670 |
! |
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
671 |
|
867 | 672 |
postOpenWith:aBuilder |
896 | 673 |
"after opening, builds from specClass and specSelector the resource spec for editing" |
867 | 674 |
|
675 |
super postOpenWith:aBuilder. |
|
676 |
||
2097 | 677 |
specClass notNil ifTrue:[ |
678 |
self loadFromClass: specClass andSelector: specSelector |
|
679 |
] |
|
876 | 680 |
! |
681 |
||
682 |
uninitialize |
|
896 | 683 |
"uninitializes; removes myself from the instances dictionary in the settings" |
876 | 684 |
|
685 |
super uninitialize. |
|
686 |
||
1090 | 687 |
self class forgetInstance:self |
876 | 688 |
|
1090 | 689 |
"Modified: / 4.2.1999 / 15:34:25 / cg" |
867 | 690 |
! ! |
691 |
||
692 |
!ResourceSpecEditor methodsFor:'user actions'! |
|
693 |
||
694 |
accept |
|
896 | 695 |
"invoked by the OK button; disables the commit buttons and sets myself modified" |
867 | 696 |
|
1157 | 697 |
self acceptChannel |
1158 | 698 |
value:false; |
1157 | 699 |
value:true; "/ toggle to force inputFields to accept |
700 |
value:false. |
|
701 |
||
2103 | 702 |
self enablingCommitButtonsHolder value: false. |
1201 | 703 |
self clearModifiedFlag. |
2097 | 704 |
self setModified |
867 | 705 |
! |
706 |
||
707 |
doBrowseClass |
|
889 | 708 |
"opens a System Browser on the specClass and specSelector" |
867 | 709 |
|
2097 | 710 |
specClass notNil |
3519 | 711 |
ifTrue: [specClass browserClass openInClass:specClass class selector: specSelector] |
867 | 712 |
ifFalse:[self information:'No class defined!!'] |
713 |
! |
|
714 |
||
715 |
doEditImage |
|
896 | 716 |
"opens a Image Editor on the resource retriever and the icon selector" |
867 | 717 |
|
2097 | 718 |
|resourceClass resourceSelector classAndSelector retrieverName| |
867 | 719 |
|
2097 | 720 |
resourceSelector := (aspects at:#icon) value. |
721 |
resourceSelector isEmptyOrNil ifTrue:[ resourceSelector := #icon ]. |
|
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
722 |
|
2097 | 723 |
retrieverName := (aspects at:#retriever) value. |
724 |
retrieverName notEmptyOrNil ifTrue:[ |
|
725 |
resourceClass := Smalltalk classNamed:retrieverName |
|
1147 | 726 |
] ifFalse:[ |
2097 | 727 |
specClass notNil ifTrue:[ |
728 |
resourceClass := specClass withAllSuperclasses |
|
729 |
detect:[:cls| cls class includesSelector: resourceSelector] |
|
730 |
ifNone:[specClass] |
|
1003 | 731 |
] |
732 |
]. |
|
867 | 733 |
|
2097 | 734 |
(classAndSelector := ImageEditor openModalOnClass: resourceClass andSelector: resourceSelector) notNil |
1147 | 735 |
ifTrue: [ |
2097 | 736 |
resourceClass := classAndSelector at:1. |
737 |
resourceSelector := classAndSelector at:2. |
|
738 |
(aspects at:#retriever) value: resourceClass name. |
|
739 |
(aspects at:#icon) value: resourceSelector. |
|
2103 | 740 |
self enablingCommitButtonsHolder value: true |
867 | 741 |
] |
742 |
||
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
743 |
"Modified: / 21.5.1998 / 02:44:04 / cg" |
867 | 744 |
! |
745 |
||
746 |
doLoad |
|
889 | 747 |
"opens a Resource Selection Browser in order to get a resource message" |
867 | 748 |
|
2097 | 749 |
|myResourceType classAndSelector| |
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
750 |
|
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
751 |
myResourceType := self class resourceType. |
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
752 |
|
2097 | 753 |
classAndSelector := ResourceSelectionBrowser |
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
754 |
request: 'Load ', myResourceType asUppercaseFirst, ' Spec From Class' |
867 | 755 |
onSuperclass: nil |
756 |
andClass: specClass |
|
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
757 |
andSelector: specSelector ? myResourceType |
2097 | 758 |
withResourceTypes: (Array with: myResourceType). |
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
759 |
|
2097 | 760 |
classAndSelector isNil ifTrue:[ ^ self ]. |
761 |
^ self loadFromClass:(classAndSelector methodClass) andSelector:(classAndSelector methodSelector) |
|
867 | 762 |
! |
763 |
||
764 |
doNew |
|
765 |
"first ask for modification; then clean specClass and specSelector, |
|
766 |
but only, if the editor is opened as stand alone; |
|
767 |
finally make a build of a resource spec containing no items" |
|
768 |
||
2037 | 769 |
self askForModification ifTrue:[ |
867 | 770 |
self isStandAlone ifTrue: [specClass := specSelector := nil]. |
2097 | 771 |
self loadFromClass:nil andSelector:(self class resourceType). |
2037 | 772 |
^ true |
867 | 773 |
]. |
2037 | 774 |
^ false |
867 | 775 |
! |
776 |
||
777 |
doSave |
|
778 |
"before saving ask for modification; if no specClass and specSelector |
|
779 |
is defined, do save as" |
|
780 |
||
781 |
self askForItemModification. |
|
782 |
||
783 |
(specClass isNil or:[specSelector isNil]) ifTrue:[ |
|
784 |
self doSaveAs. |
|
2097 | 785 |
^ false |
867 | 786 |
]. |
2097 | 787 |
^ true |
867 | 788 |
! |
789 |
||
790 |
doSaveAs |
|
791 |
"first ask for modification; |
|
792 |
then open a ResourceSelectionBrowser; |
|
793 |
after that extract the resource message; |
|
794 |
finally do save and make a new build" |
|
795 |
||
2394
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
796 |
|masterApplication resourceMessage myResourceType| |
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
797 |
|
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
798 |
masterApplication := self masterApplication. |
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
799 |
masterApplication notNil ifTrue:[ |
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
800 |
masterApplication isEditingSpecOnly ifTrue:[ |
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
801 |
"/ there is no class to store into |
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
802 |
^ true |
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
803 |
]. |
5dd56d160a09
support editing spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2374
diff
changeset
|
804 |
]. |
867 | 805 |
|
806 |
self askForItemModification. |
|
807 |
||
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
808 |
myResourceType := self class resourceType. |
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
809 |
|
2097 | 810 |
resourceMessage := ResourceSelectionBrowser |
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
811 |
request: 'Save ', myResourceType asUppercaseFirst, ' Spec In Class' |
867 | 812 |
onSuperclass: #Object |
2097 | 813 |
andClass: specClass name |
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
814 |
andSelector: specSelector ? myResourceType |
2097 | 815 |
withResourceTypes: (Array with: myResourceType). |
816 |
||
817 |
resourceMessage isNil ifTrue:[ ^ false ]. |
|
818 |
||
819 |
self clearModified. |
|
820 |
specClass := resourceMessage methodClass. |
|
821 |
specSelector := resourceMessage methodSelector. |
|
822 |
self doSave. |
|
823 |
self loadFromClass: specClass andSelector: specSelector. |
|
824 |
^ true |
|
934
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
825 |
|
c32a44c8913e
should not redefine AllButOpenInterface;
Claus Gittinger <cg@exept.de>
parents:
929
diff
changeset
|
826 |
"Modified: / 21.5.1998 / 02:59:46 / cg" |
867 | 827 |
! ! |
828 |
||
829 |
!ResourceSpecEditor class methodsFor:'documentation'! |
|
830 |
||
831 |
version |
|
3519 | 832 |
^ '$Header$' |
2874
6a5590e8b647
comment/format in: #initialize
Claus Gittinger <cg@exept.de>
parents:
2748
diff
changeset
|
833 |
! |
6a5590e8b647
comment/format in: #initialize
Claus Gittinger <cg@exept.de>
parents:
2748
diff
changeset
|
834 |
|
6a5590e8b647
comment/format in: #initialize
Claus Gittinger <cg@exept.de>
parents:
2748
diff
changeset
|
835 |
version_CVS |
3519 | 836 |
^ '$Header$' |
867 | 837 |
! ! |
3519 | 838 |