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