author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 01 Apr 2015 10:38:01 +0100 | |
branch | jv |
changeset 15566 | 184cea584be5 |
parent 13619 | 4e81091e3699 |
parent 15537 | fe8c0c4744de |
child 16213 | f667b5b42a11 |
permissions | -rw-r--r-- |
5591 | 1 |
" |
2 |
COPYRIGHT (c) 2000 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 |
" |
|
5592 | 12 |
"{ Package: 'stx:libtool' }" |
5591 | 13 |
|
14 |
"{ NameSpace: Tools }" |
|
15 |
||
16 |
BrowserList subclass:#VariableList |
|
10255 | 17 |
instanceVariableNames:'variableList classHolder showClassVars sortVariablesByName |
18 |
selectedVariableEntries showWarningAboutMissingEntryInXmlSpec' |
|
5591 | 19 |
classVariableNames:'' |
20 |
poolDictionaries:'' |
|
21 |
category:'Interface-Browsers-New' |
|
22 |
! |
|
23 |
||
10255 | 24 |
Object subclass:#VariableEntry |
15455 | 25 |
instanceVariableNames:'label application class name type icon sortingByNameHolder |
26 |
classShown' |
|
10255 | 27 |
classVariableNames:'' |
28 |
poolDictionaries:'' |
|
29 |
privateIn:VariableList |
|
30 |
! |
|
31 |
||
5591 | 32 |
!VariableList class methodsFor:'documentation'! |
33 |
||
34 |
copyright |
|
35 |
" |
|
36 |
COPYRIGHT (c) 2000 by eXept Software AG |
|
37 |
All Rights Reserved |
|
38 |
||
39 |
This software is furnished under a license and may be used |
|
40 |
only in accordance with the terms of that license and with the |
|
41 |
inclusion of the above copyright notice. This software may not |
|
42 |
be provided or otherwise made available to, or used by, any |
|
43 |
other person. No title to or ownership of the software is |
|
44 |
hereby transferred. |
|
45 |
" |
|
11878 | 46 |
! |
47 |
||
48 |
documentation |
|
49 |
" |
|
50 |
I implement the variable list (below class list) in the new system browser |
|
51 |
" |
|
5591 | 52 |
! ! |
53 |
||
54 |
!VariableList class methodsFor:'interface specs'! |
|
55 |
||
56 |
windowSpec |
|
57 |
"This resource specification was automatically generated |
|
58 |
by the UIPainter of ST/X." |
|
59 |
||
60 |
"Do not manually edit this!! If it is corrupted, |
|
61 |
the UIPainter may not be able to read the specification." |
|
62 |
||
63 |
" |
|
10287 | 64 |
UIPainter new openOnClass:Tools::VariableList andSelector:#windowSpec |
65 |
Tools::VariableList new openInterface:#windowSpec |
|
66 |
Tools::VariableList open |
|
5591 | 67 |
" |
68 |
||
69 |
<resource: #canvas> |
|
70 |
||
71 |
^ |
|
10287 | 72 |
#(FullSpec |
73 |
name: windowSpec |
|
74 |
window: |
|
75 |
(WindowSpec |
|
76 |
label: 'VariableList' |
|
77 |
name: 'VariableList' |
|
78 |
min: (Point 0 0) |
|
79 |
bounds: (Rectangle 0 0 300 300) |
|
9461 | 80 |
) |
10287 | 81 |
component: |
82 |
(SpecCollection |
|
83 |
collection: ( |
|
84 |
(SequenceViewSpec |
|
85 |
name: 'List' |
|
86 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
|
87 |
tabable: true |
|
88 |
model: selectedVariableEntries |
|
89 |
menu: menuHolder |
|
90 |
hasHorizontalScrollBar: true |
|
91 |
hasVerticalScrollBar: true |
|
92 |
miniScrollerHorizontal: true |
|
93 |
isMultiSelect: true |
|
94 |
valueChangeSelector: selectionChangedByClick |
|
95 |
useIndex: false |
|
96 |
sequenceList: variableList |
|
97 |
doubleClickChannel: doubleClickChannel |
|
9461 | 98 |
) |
99 |
) |
|
5591 | 100 |
|
9461 | 101 |
) |
5591 | 102 |
) |
103 |
! ! |
|
104 |
||
105 |
!VariableList class methodsFor:'plugIn spec'! |
|
106 |
||
107 |
aspectSelectors |
|
108 |
"This resource specification was automatically generated |
|
109 |
by the UIPainter of ST/X." |
|
110 |
||
111 |
"Do not manually edit this. If it is corrupted, |
|
112 |
the UIPainter may not be able to read the specification." |
|
113 |
||
114 |
"Return a description of exported aspects; |
|
115 |
these can be connected to aspects of an embedding application |
|
116 |
(if this app is embedded in a subCanvas)." |
|
117 |
||
118 |
^ #( |
|
14021
ff0b42e2c251
Refactoring of NavigatorModel's environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13827
diff
changeset
|
119 |
environmentHolder |
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
120 |
#(#doubleClickChannel #action ) |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
121 |
#classHolder |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
122 |
#forceGeneratorTrigger |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
123 |
#immediateUpdate |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
124 |
#inGeneratorHolder |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
125 |
#menuHolder |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
126 |
#outGeneratorHolder |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
127 |
#packageFilter |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
128 |
#selectedVariables |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
129 |
#selectionChangeCondition |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
130 |
#updateTrigger |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
131 |
#showClassVarsInVariableList |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
132 |
#slaveMode |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
133 |
#sortVariablesByName |
5591 | 134 |
). |
14021
ff0b42e2c251
Refactoring of NavigatorModel's environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13827
diff
changeset
|
135 |
|
ff0b42e2c251
Refactoring of NavigatorModel's environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13827
diff
changeset
|
136 |
"Modified: / 24-02-2014 / 10:37:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5591 | 137 |
! ! |
138 |
||
139 |
!VariableList methodsFor:'aspects'! |
|
140 |
||
141 |
classHolder |
|
142 |
classHolder isNil ifTrue:[ |
|
143 |
classHolder := #() asValue. |
|
144 |
classHolder addDependent:self |
|
145 |
]. |
|
146 |
^ classHolder |
|
147 |
! |
|
148 |
||
149 |
classHolder:aValueHolder |
|
150 |
classHolder notNil ifTrue:[ |
|
10308 | 151 |
classHolder removeDependent:self |
5591 | 152 |
]. |
153 |
classHolder := aValueHolder. |
|
154 |
classHolder notNil ifTrue:[ |
|
10308 | 155 |
classHolder isBehavior ifTrue:[self error:'should not happen']. |
156 |
classHolder addDependent:self |
|
5591 | 157 |
]. |
10308 | 158 |
|
159 |
"Modified: / 11-07-2011 / 17:04:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
5591 | 160 |
! |
161 |
||
162 |
defaultSlaveModeValue |
|
163 |
^ false. |
|
164 |
! |
|
165 |
||
10255 | 166 |
selectedVariableEntries |
167 |
<resource: #uiAspect> |
|
168 |
||
169 |
"automatically generated by UIPainter ..." |
|
170 |
||
171 |
"*** the code below creates a default model when invoked." |
|
172 |
"*** (which may not be the one you wanted)" |
|
173 |
"*** Please change as required and accept it in the browser." |
|
174 |
"*** (and replace this comment by something more useful ;-)" |
|
175 |
||
176 |
selectedVariableEntries isNil ifTrue:[ |
|
177 |
selectedVariableEntries := #() asValue. |
|
178 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
|
179 |
selectedVariableEntries addDependent:self. |
|
180 |
"/ selectedVariableEntries onChangeSend:#selectedVariableEntriesChanged to:self. |
|
181 |
]. |
|
182 |
^ selectedVariableEntries. |
|
183 |
||
184 |
"Modified: / 12-04-2011 / 15:49:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
185 |
! |
|
186 |
||
5591 | 187 |
selectedVariables |
188 |
^ self selectionHolder |
|
189 |
||
190 |
! |
|
191 |
||
192 |
selectedVariables:aValueHolder |
|
193 |
^ self selectionHolder:aValueHolder |
|
194 |
||
195 |
! |
|
196 |
||
197 |
showClassVarsInVariableList |
|
198 |
showClassVars isNil ifTrue:[ |
|
199 |
showClassVars := false asValue. |
|
200 |
showClassVars addDependent:self |
|
201 |
]. |
|
202 |
^ showClassVars |
|
203 |
! |
|
204 |
||
205 |
showClassVarsInVariableList:aValueHolder |
|
206 |
showClassVars notNil ifTrue:[ |
|
207 |
showClassVars removeDependent:self |
|
208 |
]. |
|
209 |
showClassVars := aValueHolder. |
|
210 |
showClassVars notNil ifTrue:[ |
|
211 |
showClassVars addDependent:self |
|
212 |
]. |
|
213 |
! |
|
214 |
||
215 |
showingInheritedClassVars |
|
216 |
^ false |
|
217 |
"/ ^ true |
|
218 |
! |
|
219 |
||
220 |
sortVariablesByName |
|
221 |
sortVariablesByName isNil ifTrue:[ |
|
222 |
sortVariablesByName := false asValue. |
|
223 |
sortVariablesByName addDependent:self |
|
224 |
]. |
|
225 |
^ sortVariablesByName |
|
226 |
! |
|
227 |
||
228 |
sortVariablesByName:aValueHolder |
|
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
229 |
"/ self assert:(aValueHolder value isBoolean). |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
230 |
|
5591 | 231 |
sortVariablesByName notNil ifTrue:[ |
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
232 |
sortVariablesByName removeDependent:self |
5591 | 233 |
]. |
234 |
sortVariablesByName := aValueHolder. |
|
235 |
sortVariablesByName notNil ifTrue:[ |
|
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
236 |
sortVariablesByName addDependent:self |
5591 | 237 |
]. |
238 |
! |
|
239 |
||
240 |
variableList |
|
241 |
variableList isNil ifTrue:[ |
|
242 |
variableList := ValueHolder new |
|
243 |
]. |
|
244 |
^ variableList |
|
245 |
||
246 |
||
247 |
! ! |
|
248 |
||
249 |
!VariableList methodsFor:'change & update'! |
|
250 |
||
251 |
delayedUpdate:something with:aParameter from:changedObject |
|
252 |
|selectedClasses changedClass anyChange| |
|
253 |
||
254 |
self inSlaveModeOrInvisible ifTrue:[self invalidateList. ^ self]. |
|
255 |
||
256 |
changedObject == slaveMode ifTrue:[ |
|
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
257 |
listValid ~~ true ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
258 |
self enqueueDelayedUpdateList |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
259 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
260 |
"/ self invalidateList. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
261 |
^ self |
5591 | 262 |
]. |
263 |
||
264 |
changedObject == classHolder ifTrue:[ |
|
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
265 |
self invalidateList. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
266 |
^ self |
5591 | 267 |
]. |
268 |
changedObject == showClassVars ifTrue:[ |
|
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
269 |
self invalidateList. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
270 |
^ self. |
5591 | 271 |
]. |
272 |
changedObject == sortVariablesByName ifTrue:[ |
|
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
273 |
self invalidateList. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
274 |
^ self. |
5591 | 275 |
]. |
13498
b8d845e42988
Added `environment` instance variable to Tools__NewSystemBrowser and
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13458
diff
changeset
|
276 |
changedObject == environment ifTrue:[ |
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
277 |
(something == #projectOrganization) ifTrue:[^ self]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
278 |
(something == #currentChangeSet) ifTrue:[^ self]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
279 |
(something == #aboutToAutoloadClass) ifTrue:[^ self]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
280 |
|
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
281 |
(something == #classDefinition |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
282 |
or:[ (something == #newClass) |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
283 |
or:[ something == #classVariables and:[showClassVars value == true]]]) |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
284 |
ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
285 |
changedClass := aParameter. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
286 |
selectedClasses := classHolder value. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
287 |
selectedClasses notNil ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
288 |
selectedClasses isSequenceable ifFalse:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
289 |
selectedClasses := selectedClasses asOrderedCollection |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
290 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
291 |
selectedClasses keysAndValuesDo:[:idx :cls | |nm| |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
292 |
cls notNil ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
293 |
cls isObsolete ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
294 |
cls isMeta ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
295 |
nm := cls theNonMetaclass name. |
13498
b8d845e42988
Added `environment` instance variable to Tools__NewSystemBrowser and
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13458
diff
changeset
|
296 |
selectedClasses at:idx put:(environment at:nm) class. |
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
297 |
] ifFalse:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
298 |
nm := cls name. |
13498
b8d845e42988
Added `environment` instance variable to Tools__NewSystemBrowser and
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13458
diff
changeset
|
299 |
selectedClasses at:idx put:(environment at:nm). |
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
300 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
301 |
anyChange := true. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
302 |
] ifFalse:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
303 |
(cls == aParameter |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
304 |
or:[something == #classVariables |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
305 |
and:[showClassVars value == true |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
306 |
and:[cls theNonMetaclass == aParameter theNonMetaclass]]]) ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
307 |
anyChange := true. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
308 |
] |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
309 |
] |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
310 |
] |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
311 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
312 |
(selectedClasses includes:nil) ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
313 |
"/ can happen, if a selected class is removed... |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
314 |
"/ self halt:'should this happen ?'. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
315 |
"/ fix it ... |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
316 |
selectedClasses := selectedClasses select:[:each | each notNil]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
317 |
classHolder value:selectedClasses. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
318 |
anyChange := true. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
319 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
320 |
anyChange == true ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
321 |
self invalidateList. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
322 |
^ self |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
323 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
324 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
325 |
^ self |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
326 |
]. |
5591 | 327 |
] ifFalse:[ |
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
328 |
changedObject isBehavior ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
329 |
anyChange := false. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
330 |
selectedClasses := classHolder value. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
331 |
selectedClasses notNil ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
332 |
selectedClasses keysAndValuesDo:[:idx :cls | |nm| |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
333 |
cls isObsolete ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
334 |
nm := cls name. |
13498
b8d845e42988
Added `environment` instance variable to Tools__NewSystemBrowser and
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13458
diff
changeset
|
335 |
selectedClasses at:idx put:(environment at:nm). |
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
336 |
anyChange := true. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
337 |
] |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
338 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
339 |
anyChange == true ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
340 |
self invalidateList. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
341 |
^ self |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
342 |
]. |
5591 | 343 |
|
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
344 |
(selectedClasses includesIdentical:something) ifTrue:[ |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
345 |
self invalidateList. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
346 |
^ self |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
347 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
348 |
]. |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
349 |
^ self |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
350 |
]. |
5591 | 351 |
]. |
352 |
super delayedUpdate:something with:aParameter from:changedObject |
|
11296
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
353 |
|
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
354 |
"Modified: / 01-03-2012 / 09:18:11 / cg" |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
355 |
! |
2fec94a88af2
added: #enqueueDelayedUpdateList
Claus Gittinger <cg@exept.de>
parents:
10974
diff
changeset
|
356 |
|
5591 | 357 |
makeDependent |
13498
b8d845e42988
Added `environment` instance variable to Tools__NewSystemBrowser and
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13458
diff
changeset
|
358 |
environment addDependent:self |
5591 | 359 |
|
360 |
! |
|
361 |
||
362 |
makeIndependent |
|
13498
b8d845e42988
Added `environment` instance variable to Tools__NewSystemBrowser and
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13458
diff
changeset
|
363 |
environment removeDependent:self |
5591 | 364 |
|
365 |
! |
|
366 |
||
367 |
selectionChangedByClick |
|
368 |
"we are not interested in that - get another notification |
|
369 |
via the changed valueHolder" |
|
370 |
||
371 |
||
372 |
! |
|
373 |
||
374 |
update:something with:aParameter from:changedObject |
|
375 |
"/ ^ self delayedUpdate:something with:aParameter from:changedObject. |
|
376 |
||
13498
b8d845e42988
Added `environment` instance variable to Tools__NewSystemBrowser and
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13458
diff
changeset
|
377 |
changedObject == environment ifTrue:[ |
10255 | 378 |
something == #methodDictionary ifTrue:[ |
379 |
^ self |
|
380 |
]. |
|
381 |
something == #methodTrap ifTrue:[ |
|
382 |
^ self |
|
383 |
]. |
|
10366 | 384 |
something == #methodCoverageInfo ifTrue:[ |
385 |
^ self |
|
386 |
]. |
|
10255 | 387 |
something == #methodInClass ifTrue:[ |
388 |
^ self |
|
389 |
]. |
|
390 |
something == #methodInClassRemoved ifTrue:[ |
|
391 |
^ self |
|
392 |
]. |
|
393 |
something == #classComment ifTrue:[ |
|
394 |
^ self. |
|
395 |
]. |
|
14293 | 396 |
something == #lastTestRunResult ifTrue:[ |
397 |
^ self |
|
398 |
]. |
|
399 |
something isNil ifTrue:[ |
|
400 |
^ self |
|
401 |
]. |
|
5591 | 402 |
]. |
403 |
"/ self window sensor isNil ifTrue:[ |
|
404 |
"/ "/ I am not visible ... |
|
405 |
"/ self invalidateList. |
|
406 |
"/ ^ self |
|
407 |
"/ ]. |
|
10255 | 408 |
changedObject == selectedVariableEntries ifTrue:[ |
409 |
self selectedVariables value: |
|
410 |
((selectedVariableEntries value ? #()) |
|
14144
9bcb9fef21b6
Access graphicsDevice via method send instead of instVar access
Stefan Vogel <sv@exept.de>
parents:
14114
diff
changeset
|
411 |
select:[:e| e isString not] "filter out class name header strings" |
9bcb9fef21b6
Access graphicsDevice via method send instead of instVar access
Stefan Vogel <sv@exept.de>
parents:
14114
diff
changeset
|
412 |
thenCollect:[:e|e name]). |
10255 | 413 |
^self. |
414 |
]. |
|
415 |
||
416 |
||
5591 | 417 |
super update:something with:aParameter from:changedObject |
418 |
||
10255 | 419 |
"Modified: / 12-04-2011 / 15:54:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10366 | 420 |
"Modified: / 20-07-2011 / 18:52:44 / cg" |
5591 | 421 |
! ! |
422 |
||
423 |
!VariableList methodsFor:'generators'! |
|
424 |
||
425 |
makeGenerator |
|
426 |
||
427 |
||
428 |
||
429 |
! ! |
|
430 |
||
431 |
!VariableList methodsFor:'private'! |
|
432 |
||
5909 | 433 |
commonPostBuild |
5591 | 434 |
|list| |
435 |
||
5909 | 436 |
super commonPostBuild. |
5591 | 437 |
|
5909 | 438 |
list := builder componentAt:#List. |
5591 | 439 |
list notNil ifTrue:[ |
5909 | 440 |
list selectConditionBlock:[:item | self selectionChangeAllowed:item]. |
441 |
list ignoreReselect:false. |
|
5591 | 442 |
]. |
443 |
! |
|
444 |
||
445 |
commonSubClassIn:classes |
|
446 |
"return true if there is a common subclass" |
|
447 |
||
448 |
|theCommonSubClass "classesByInheritance"| |
|
449 |
||
450 |
theCommonSubClass := nil. |
|
451 |
classes do:[:eachClass | |
|
452 |
theCommonSubClass isNil ifTrue:[ |
|
453 |
theCommonSubClass := eachClass |
|
454 |
] ifFalse:[ |
|
455 |
(eachClass isSubclassOf:theCommonSubClass) ifTrue:[ |
|
456 |
theCommonSubClass := eachClass |
|
457 |
] ifFalse:[ |
|
458 |
(theCommonSubClass isSubclassOf:eachClass) ifFalse:[ |
|
459 |
^ nil |
|
460 |
] |
|
461 |
] |
|
462 |
] |
|
463 |
]. |
|
464 |
^ theCommonSubClass. |
|
465 |
||
466 |
"/ classesByInheritance := classes topologicalSort:[:a :b | a isSubclassOf:b]. |
|
467 |
"/ classesByInheritance keysAndValuesDo:[:index :eachClass | |
|
468 |
"/ "/ all classes after that one must be superclasses ... |
|
469 |
"/ classesByInheritance from:index+1 to:classesByInheritance size do:[:otherClass | |
|
470 |
"/ (eachClass isSubclassOf:otherClass) ifFalse:[ |
|
471 |
"/ ^ nil. |
|
472 |
"/ ] |
|
473 |
"/ ]. |
|
474 |
"/ ]. |
|
475 |
"/ ^ classesByInheritance first |
|
476 |
! |
|
477 |
||
10324
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
478 |
iconInBrowserForVariable:varName in:aClass |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
479 |
"variables for which an entry is found in the xml-spec (if any) are marked |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
480 |
with an <xml>-icon." |
10255 | 481 |
|
10324
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
482 |
(Expecco::ExpeccoXMLDecoder notNil |
11586 | 483 |
and:[aClass canUnderstand: #xmlSpecForObject:]) ifTrue:[ |
10324
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
484 |
Error handle:[:ex | |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
485 |
] do:[ |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
486 |
(Expecco::ExpeccoXMLDecoder xmlSpecForObject:aClass basicNew) |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
487 |
do:[:spec | spec getter = varName ifTrue:[ |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
488 |
^ SystemBrowser instVarOverlayXmlSpec |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
489 |
] |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
490 |
]. |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
491 |
]. |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
492 |
]. |
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
493 |
^ nil |
10255 | 494 |
|
495 |
"Created: / 12-04-2011 / 19:58:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10324
d68f7aa2e449
I dont like extensions too much.
Claus Gittinger <cg@exept.de>
parents:
10308
diff
changeset
|
496 |
"Modified: / 15-07-2011 / 18:32:47 / cg" |
11586 | 497 |
"Modified: / 22-06-2012 / 13:17:28 / sr" |
10255 | 498 |
! |
499 |
||
500 |
listEntryForClass: cls name:name |
|
501 |
||
502 |
" (showWarningAboutMissingEntryInXmlSpec not |
|
503 |
and:[Expecco::ExpeccoXMLDecoder notNil |
|
504 |
and:[cls canUnderstand: #xmlSpecFor:]]) ifTrue: |
|
505 |
[| hasSpecEntry | |
|
506 |
hasSpecEntry := false. |
|
507 |
(Expecco::ExpeccoXMLDecoder xmlSpecForObject:cls basicNew) |
|
508 |
do:[:spec|spec getter = name ifTrue: |
|
509 |
[ |
|
510 |
hasSpecEntry := true]]. |
|
511 |
showWarningAboutMissingEntryInXmlSpec := hasSpecEntry not]. " |
|
512 |
||
13382 | 513 |
|entry| |
514 |
||
515 |
entry := VariableEntry application: self class: cls name: name. |
|
516 |
entry sortingByNameHolder:sortVariablesByName. |
|
517 |
^ entry |
|
10255 | 518 |
|
519 |
"Created: / 12-04-2011 / 15:41:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
520 |
"Modified: / 12-04-2011 / 21:36:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
521 |
! |
|
522 |
||
10974 | 523 |
listEntryForClass: cls name:name info: classInfo |
524 |
||
525 |
| nm entry | |
|
526 |
||
527 |
nm := name. |
|
528 |
entry := Tools::VariableList::VariableEntry application: self class: cls name: nm. |
|
13382 | 529 |
entry sortingByNameHolder:sortVariablesByName. |
10974 | 530 |
classInfo notNil ifTrue:[ |
531 |
entry type: (classInfo infoForInstvarOrNil: name). |
|
532 |
]. |
|
533 |
^entry |
|
534 |
||
535 |
"Created: / 27-11-2011 / 17:17:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
13827 | 536 |
"Modified: / 07-10-2013 / 08:28:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10974 | 537 |
! |
538 |
||
5591 | 539 |
listOfVariables |
10974 | 540 |
|
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
541 |
|nameList numClasses classes class commonSubclass showingClassVars |
10974 | 542 |
sortByName classesAlreadyProcessed hasSmallSense smallSenseManager info | |
5591 | 543 |
|
544 |
classHolder isNil ifTrue:[ |
|
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
545 |
"/ testing |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
546 |
^ #() |
5591 | 547 |
]. |
548 |
||
13458
842c7f563bd5
class: Tools::VariableList
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13457
diff
changeset
|
549 |
hasSmallSense := (ConfigurableFeatures includesFeature:'SmallSenseEnabled') |
842c7f563bd5
class: Tools::VariableList
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13457
diff
changeset
|
550 |
and:[(Smalltalk at: #'SmallSense::Manager') notNil]. |
10974 | 551 |
hasSmallSense ifTrue:[ |
13457
630e14513fec
Fix for recent SmallSense (moved to its own namespace)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13382
diff
changeset
|
552 |
smallSenseManager := (Smalltalk at: #'SmallSense::Manager') instance. |
10974 | 553 |
]. |
554 |
||
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
555 |
showingClassVars := self showClassVarsInVariableList value == true. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
556 |
sortByName := self sortVariablesByName value. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
557 |
"/ self assert:(sortByName isBoolean). |
5591 | 558 |
|
559 |
classes := classHolder value. |
|
560 |
(numClasses := classes size) == 0 ifTrue:[^ #() ]. |
|
561 |
numClasses > 1 ifTrue:[ |
|
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
562 |
"/ multiple classes - see if there is a common subclass ... |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
563 |
commonSubclass := self commonSubClassIn:classes. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
564 |
commonSubclass notNil ifTrue:[ |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
565 |
"/ yes - treat like a single class |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
566 |
classes := Array with:(commonSubclass). |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
567 |
numClasses := 1. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
568 |
]. |
13155 | 569 |
"/ commonSuperclass := Behavior commonSuperclassOf:classes. |
570 |
"/ commonSuperclass notNil ifTrue:[ |
|
571 |
"/ "/ yes - treat like a single class |
|
572 |
"/ classes := Array with:(commonSuperclass). |
|
573 |
"/ numClasses := 1. |
|
574 |
"/ ]. |
|
5591 | 575 |
]. |
576 |
||
577 |
numClasses > 1 ifTrue:[ |
|
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
578 |
"/ multiple classes - sort alphabetically ... |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
579 |
"/ unless there is a common subclass ... |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
580 |
nameList := Set new. |
10550 | 581 |
classesAlreadyProcessed := IdentitySet new. |
13155 | 582 |
classes do:[:eachClass | |
583 |
|class| |
|
584 |
||
585 |
class := eachClass. |
|
586 |
"/ showingClassVars ifTrue:[ |
|
587 |
"/ class := class theNonMetaclass |
|
588 |
"/ ]. |
|
589 |
||
10974 | 590 |
hasSmallSense ifTrue:[ |
591 |
info := smallSenseManager infoForClassOrNil: class. |
|
592 |
]. |
|
593 |
||
10550 | 594 |
(classesAlreadyProcessed includes:class) ifFalse:[ |
595 |
showingClassVars ifTrue:[ |
|
596 |
self showingInheritedClassVars ifTrue:[ |
|
597 |
class theNonMetaclass withAllSuperclassesDo:[:cls| |
|
10974 | 598 |
hasSmallSense ifTrue:[ |
599 |
info := smallSenseManager infoForClassOrNil: cls. |
|
600 |
]. |
|
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
601 |
|
10550 | 602 |
(classesAlreadyProcessed includes:cls) ifFalse:[ |
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
603 |
"/ Must check whether environment contains the class and filter it out, |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
604 |
"/ if not. Think of limited environment to Java classes which should not |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
605 |
"/ show Object & JavaObject even if they are real superclasses of any Java |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
606 |
"/ class. |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
607 |
"/ Q: Should we rather ignore all superclasses after first class which is not |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
608 |
"/ in environment? |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
609 |
|
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
610 |
(environment at: cls name ifAbsent:[nil]) notNil ifTrue:[ |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
611 |
nameList addAll: |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
612 |
(cls classVarNames collect:[:nm|self listEntryForClass: cls name: nm info: info]). |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
613 |
]. |
10550 | 614 |
classesAlreadyProcessed add:cls. |
615 |
] |
|
616 |
] |
|
617 |
] ifFalse:[ |
|
10255 | 618 |
nameList addAll: |
10974 | 619 |
(class classVarNames collect:[:nm|self listEntryForClass: class name: nm info: info ]) |
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
620 |
] |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
621 |
] ifFalse:[ |
10550 | 622 |
class withAllSuperclassesDo:[:cls| |
623 |
(classesAlreadyProcessed includes:cls) ifFalse:[ |
|
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
624 |
"/ Must check whether environment contains the class and filter it out, |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
625 |
"/ if not. Think of limited environment to Java classes which should not |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
626 |
"/ show Object & JavaObject even if they are real superclasses of any Java |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
627 |
"/ class. |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
628 |
"/ Q: Should we rather ignore all superclasses after first class which is not |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
629 |
"/ in environment? |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
630 |
|
14806
56a544a200ce
Fix Tools::VariableList>>listOfVariables - pass non-metaclass name when checking
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14612
diff
changeset
|
631 |
(environment at: cls theNonMetaclass name ifAbsent:[nil]) notNil ifTrue:[ |
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
632 |
nameList addAll: |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
633 |
(cls instVarNames collect:[:nm|self listEntryForClass: cls name: nm info: info ]). |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
634 |
]. |
10550 | 635 |
classesAlreadyProcessed add:cls. |
636 |
] |
|
637 |
] |
|
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
638 |
] |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
639 |
] |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
640 |
]. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
641 |
nameList := nameList asOrderedCollection. |
5591 | 642 |
] ifFalse:[ |
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
643 |
"/ only a single class - sort by inheritance |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
644 |
class := classes first. |
5591 | 645 |
|
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
646 |
nameList := OrderedCollection new. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
647 |
class notNil ifTrue:[ |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
648 |
showingClassVars ifTrue:[ |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
649 |
class := class theNonMetaclass |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
650 |
]. |
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
651 |
class withAllSuperclassesDo:[:cls| |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
652 |
"/ Must check whether environment contains the class and filter it out, |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
653 |
"/ if not. Think of limited environment to Java classes which should not |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
654 |
"/ show Object & JavaObject even if they are real superclasses of any Java |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
655 |
"/ class. |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
656 |
"/ Q: Should we rather ignore all superclasses after first class which is not |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
657 |
"/ in environment? |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
658 |
|
14335
6ad2d132a5af
class: Tools::VariableList
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14293
diff
changeset
|
659 |
(environment at: cls theNonMetaclass name ifAbsent:[nil]) notNil ifTrue:[ |
15455 | 660 |
|varNames classShown| |
5591 | 661 |
|
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
662 |
(hasSmallSense and:[showingClassVars not]) ifTrue:[ |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
663 |
info := smallSenseManager infoForClassOrNil: cls. |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
664 |
]. |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
665 |
varNames := showingClassVars ifTrue:[ cls classVarNames ] ifFalse:[ cls instVarNames ]. |
15455 | 666 |
classShown := (cls ~~ class). "/ only append the class in the shown name, if the var is inherited |
667 |
||
15537 | 668 |
varNames reversed do:[:varName| |
15455 | 669 |
|entry| |
670 |
nameList addFirst: (entry := self listEntryForClass: cls name: varName info: info). |
|
671 |
classShown ifFalse:[ entry classShown:classShown ]. |
|
14288
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
672 |
]. |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
673 |
sortByName ifFalse:[ |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
674 |
nameList addFirst:(("'----- ' , "cls nameInBrowser" , ' -----'") asText colorizeAllWith: Color gray). |
01c8bbd5b6dd
Fix in #listOfVariables - must check whether all superclasses are actually in environment.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14144
diff
changeset
|
675 |
] |
6721
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
676 |
]. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
677 |
]. |
c49f5a3cbca2
variableList (sort) fixed in hierarchy views
Claus Gittinger <cg@exept.de>
parents:
5909
diff
changeset
|
678 |
]. |
5591 | 679 |
]. |
680 |
||
681 |
(numClasses > 1 or:[sortByName]) ifTrue:[ |
|
10255 | 682 |
nameList := nameList asSortedCollection:[:a :b|a name < b name]. |
5591 | 683 |
]. |
684 |
^ nameList |
|
685 |
||
10255 | 686 |
"Created: / 05-02-2000 / 13:42:11 / cg" |
10550 | 687 |
"Modified: / 08-08-2011 / 16:20:58 / cg" |
14806
56a544a200ce
Fix Tools::VariableList>>listOfVariables - pass non-metaclass name when checking
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
14612
diff
changeset
|
688 |
"Modified: / 28-10-2014 / 11:42:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5591 | 689 |
! |
690 |
||
691 |
postBuildWith:aBuilder |
|
692 |
|listView| |
|
693 |
||
694 |
(listView := aBuilder componentAt:#List) notNil ifTrue:[ |
|
695 |
listView scrollWhenUpdating:#end |
|
696 |
]. |
|
697 |
super postBuildWith:aBuilder |
|
698 |
||
699 |
! |
|
700 |
||
701 |
release |
|
702 |
super release. |
|
703 |
||
704 |
classHolder removeDependent:self. |
|
705 |
showClassVars removeDependent:self. |
|
706 |
! |
|
707 |
||
708 |
selectionChangeAllowed:index |
|
10255 | 709 |
|
710 |
| entry | |
|
711 |
^((entry := variableList value at:index) isString" and:[entry startsWith:'---']") not. |
|
712 |
||
713 |
"Modified: / 28-04-2011 / 13:18:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
5591 | 714 |
! |
715 |
||
716 |
updateList |
|
717 |
| prevSelection newSelection newList oldList selectedVariablesHolder| |
|
718 |
||
719 |
oldList := self variableList value copy. |
|
10255 | 720 |
showWarningAboutMissingEntryInXmlSpec := false. |
5591 | 721 |
newList := self listOfVariables. |
722 |
||
723 |
newList ~= variableList value ifTrue:[ |
|
10495 | 724 |
selectedVariablesHolder := self selectedVariableEntries. |
11360 | 725 |
prevSelection := (self selectedVariables value "selectedVariablesHolder value" copy) ? #(). |
10255 | 726 |
variableList value:newList. |
727 |
||
11360 | 728 |
newSelection := newList select:[:item | prevSelection includes:item string]. |
729 |
"/ newSelection := prevSelection select:[:item | newList includes:item]. |
|
5591 | 730 |
|
10255 | 731 |
newSelection size > 0 ifTrue:[ |
732 |
"/ force change (for dependents) |
|
11360 | 733 |
"/ selectedVariablesHolder value:nil. |
734 |
selectedVariablesHolder |
|
735 |
setValue:newSelection; |
|
11461 | 736 |
removeDependent:self; |
737 |
changed; |
|
738 |
addDependent:self. |
|
10255 | 739 |
] ifFalse:[ |
740 |
prevSelection := selectedVariablesHolder value. |
|
741 |
selectedVariablesHolder value:nil. |
|
742 |
]. |
|
11360 | 743 |
(prevSelection size > 0 or:[newSelection size > 0 |
744 |
"and:[ prevSelection ~= newSelection]"]) ifTrue:[ |
|
10255 | 745 |
self updateOutputGenerator. |
746 |
]. |
|
747 |
]. |
|
748 |
(showWarningAboutMissingEntryInXmlSpec and:[self topApplication respondsTo: #showMessage:]) |
|
749 |
ifTrue: |
|
750 |
[ |
|
751 |
self topApplication showMessage: |
|
752 |
'One or more instance variables are not listed in #xmlSpecFor:'. |
|
753 |
]. |
|
754 |
showWarningAboutMissingEntryInXmlSpec := false. |
|
14861
87aa6288286b
access listValid only via setter (for easier trapping)
Claus Gittinger <cg@exept.de>
parents:
14806
diff
changeset
|
755 |
self setListValid:true. |
10255 | 756 |
|
10495 | 757 |
"Modified: / 05-08-2011 / 12:34:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
11461 | 758 |
"Modified: / 23-03-2012 / 15:55:47 / cg" |
10255 | 759 |
! ! |
760 |
||
761 |
!VariableList::VariableEntry class methodsFor:'instance creation'! |
|
762 |
||
763 |
application: app class: aClass name: aString |
|
764 |
||
765 |
^self new application: app; class: aClass; name: aString |
|
766 |
||
767 |
"Created: / 12-04-2011 / 19:53:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
768 |
! |
|
769 |
||
770 |
class: aClass name: aString |
|
771 |
||
772 |
^self new class: aClass; name: aString |
|
773 |
||
774 |
"Created: / 12-04-2011 / 15:39:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
775 |
! ! |
|
776 |
||
777 |
!VariableList::VariableEntry methodsFor:'accessing'! |
|
778 |
||
779 |
application: anObject |
|
5591 | 780 |
|
10255 | 781 |
application := anObject |
782 |
||
783 |
"Created: / 12-04-2011 / 19:55:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
784 |
! |
|
785 |
||
10308 | 786 |
asString |
787 |
||
788 |
^self name |
|
789 |
||
790 |
"Created: / 11-07-2011 / 17:03:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
791 |
! |
|
792 |
||
10255 | 793 |
class:aClass |
794 |
class := aClass. |
|
795 |
! |
|
796 |
||
15455 | 797 |
classShown:aBoolean |
798 |
classShown := aBoolean. |
|
799 |
! |
|
800 |
||
10255 | 801 |
icon |
10871 | 802 |
icon isNil ifTrue:[ |
803 |
icon := application iconInBrowserForVariable: name in: class. |
|
804 |
icon isNil ifTrue:[icon := #NOICON]. |
|
805 |
]. |
|
10255 | 806 |
^icon |
807 |
||
808 |
"Created: / 12-04-2011 / 15:54:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
809 |
"Modified: / 12-04-2011 / 19:58:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10871 | 810 |
"Modified: / 18-11-2011 / 15:05:18 / cg" |
10255 | 811 |
! |
812 |
||
813 |
klass |
|
814 |
^ class |
|
815 |
||
816 |
"Created: / 12-04-2011 / 19:54:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
817 |
! |
|
818 |
||
10974 | 819 |
label |
820 |
||
821 |
label isNil ifTrue:[ |
|
822 |
label := name. |
|
823 |
type notNil ifTrue:[ |
|
13827 | 824 |
label := (label , ' ' , (type displayString colorizeAllWith: Color brown)) |
825 |
] ifFalse:[ |
|
826 |
"/ Hack for Java classes to display field type |
|
827 |
class theNonMetaclass isJavaClass ifTrue:[ |
|
828 |
| field | |
|
829 |
field := class theNonMetaclass lookupFieldFor:name static: (class isMetaclass) onlyPublic: false. |
|
830 |
field notNil ifTrue:[ |
|
831 |
label := label asText , |
|
832 |
' ' , |
|
833 |
(('< ' , (JavaMethod fieldTypeFromStream: (field descriptor readStream) in: class theNonMetaclass javaPackage) , ' >') |
|
834 |
asText colorizeAllWith: Color brown). |
|
835 |
]. |
|
836 |
]. |
|
13382 | 837 |
]. |
10974 | 838 |
]. |
839 |
^label |
|
840 |
||
841 |
"Created: / 16-12-2011 / 00:54:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
13827 | 842 |
"Modified: / 07-10-2013 / 08:29:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10974 | 843 |
! |
844 |
||
13382 | 845 |
labelWithClass |
846 |
|l| |
|
847 |
||
848 |
l := self label. |
|
849 |
class notNil ifTrue:[ |
|
14612 | 850 |
^ label,' (' ,(class nameWithoutPrefix colorizeAllWith: Color gray),')' |
13382 | 851 |
]. |
852 |
^label |
|
853 |
! |
|
854 |
||
10255 | 855 |
name |
856 |
^ name |
|
857 |
! |
|
858 |
||
859 |
name:aString |
|
860 |
name := aString. |
|
861 |
! |
|
862 |
||
13382 | 863 |
sortingByNameHolder:something |
864 |
sortingByNameHolder := something. |
|
865 |
! |
|
866 |
||
10255 | 867 |
string |
868 |
||
869 |
^name |
|
870 |
||
871 |
"Created: / 12-04-2011 / 15:45:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10974 | 872 |
! |
873 |
||
874 |
type |
|
875 |
"Return a SmallSense inferred type" |
|
876 |
||
877 |
^ type |
|
878 |
||
879 |
"Modified (format): / 16-12-2011 / 00:41:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
880 |
! |
|
881 |
||
882 |
type:aSmallSenseType |
|
883 |
"Sets a SmallSense inferred type" |
|
884 |
||
885 |
type := aSmallSenseType. |
|
886 |
||
887 |
"Modified (format): / 16-12-2011 / 00:41:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10255 | 888 |
! ! |
889 |
||
890 |
!VariableList::VariableEntry methodsFor:'displaying'! |
|
891 |
||
15455 | 892 |
displayOn:aGC x:x y:y opaque:opaque |
13382 | 893 |
| icn shownLabel | |
10255 | 894 |
|
895 |
icn := self icon. |
|
896 |
icn ~~ #NOICON ifTrue:[ |
|
897 |
icn displayOn:aGC x:x + 1 y:y - icn height. |
|
5591 | 898 |
]. |
13382 | 899 |
|
15455 | 900 |
shownLabel := ((classShown ? true) and:[sortingByNameHolder value]) |
13382 | 901 |
ifTrue:[ self labelWithClass ] |
902 |
ifFalse: [ self label ]. |
|
903 |
||
904 |
shownLabel displayOn:aGC x:x + 20 y:y opaque: opaque |
|
10255 | 905 |
|
906 |
"Created: / 12-04-2011 / 15:47:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
5591 | 907 |
! ! |
908 |
||
10974 | 909 |
!VariableList::VariableEntry methodsFor:'queries'! |
910 |
||
911 |
widthOn:aGC |
|
912 |
||
913 |
^20"space for icon, see displayOn:..." |
|
914 |
+ (self label widthOn:aGC) |
|
915 |
||
916 |
"Created: / 16-12-2011 / 01:04:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
917 |
! ! |
|
918 |
||
5591 | 919 |
!VariableList class methodsFor:'documentation'! |
920 |
||
9461 | 921 |
version_CVS |
15537 | 922 |
^ '$Header: /cvs/stx/stx/libtool/Tools__VariableList.st,v 1.38 2015-03-25 14:19:34 cg Exp $' |
5591 | 923 |
! ! |
12450 | 924 |