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