author | Claus Gittinger <cg@exept.de> |
Tue, 12 Sep 2006 18:26:43 +0200 | |
changeset 3070 | c08536fb052f |
parent 2902 | 7365e48e82f2 |
child 3832 | 602c293b4300 |
permissions | -rw-r--r-- |
1431 | 1 |
" |
2 |
COPYRIGHT (c) 1999 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 |
" |
|
12 |
||
13 |
||
1751 | 14 |
"{ Package: 'stx:libwidg2' }" |
15 |
||
1390 | 16 |
List subclass:#HierarchicalList |
1733 | 17 |
instanceVariableNames:'recursionLock root showRoot application monitoringTask |
2223
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
18 |
monitoringTaskDelay additionalItemsToMonitorSemaphore' |
1390 | 19 |
classVariableNames:'' |
20 |
poolDictionaries:'' |
|
1430 | 21 |
category:'Views-Support' |
1390 | 22 |
! |
23 |
||
24 |
!HierarchicalList class methodsFor:'documentation'! |
|
25 |
||
1431 | 26 |
copyright |
27 |
" |
|
28 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
29 |
All Rights Reserved |
|
30 |
||
31 |
This software is furnished under a license and may be used |
|
32 |
only in accordance with the terms of that license and with the |
|
33 |
inclusion of the above copyright notice. This software may not |
|
34 |
be provided or otherwise made available to, or used by, any |
|
35 |
other person. No title to or ownership of the software is |
|
36 |
hereby transferred. |
|
37 |
" |
|
38 |
||
39 |
! |
|
40 |
||
1390 | 41 |
documentation |
42 |
" |
|
43 |
Hierarchical Lists are mostly like List, but adding and removing |
|
44 |
elements are handled by the items itself. |
|
45 |
Special change notifications are emitted, whenever the list |
|
46 |
changed. |
|
47 |
||
48 |
[Instance variables:] |
|
49 |
root <HierarchicalItem> first item into list |
|
50 |
showRoot <Boolean> show or hide root item |
|
51 |
application <Application> the user is able to set an application |
|
52 |
which can be accessed by an item. |
|
53 |
[author:] |
|
54 |
Claus Atzkern |
|
55 |
||
56 |
[see also:] |
|
57 |
HierarchicalItem |
|
58 |
HierarchicalListView |
|
59 |
" |
|
60 |
||
61 |
||
62 |
! ! |
|
63 |
||
1818 | 64 |
!HierarchicalList methodsFor:'accessing-look'! |
1390 | 65 |
|
66 |
showRoot |
|
67 |
"show or hide root item |
|
68 |
" |
|
2430 | 69 |
showRoot isNil ifTrue:[ |
70 |
showRoot := true |
|
71 |
]. |
|
72 |
^ showRoot |
|
1390 | 73 |
! |
74 |
||
75 |
showRoot:aBoolean |
|
76 |
"show or hide root item |
|
77 |
" |
|
78 |
aBoolean ~~ self showRoot ifTrue:[ |
|
79 |
showRoot := aBoolean. |
|
80 |
||
81 |
root notNil ifTrue:[ |
|
1869 | 82 |
showRoot ifTrue:[ |
83 |
super addFirst:root |
|
84 |
] ifFalse:[ |
|
85 |
super removeFirst. |
|
86 |
root expand |
|
87 |
] |
|
1390 | 88 |
] |
89 |
] |
|
90 |
||
91 |
! ! |
|
92 |
||
1818 | 93 |
!HierarchicalList methodsFor:'accessing-monitoring task'! |
1390 | 94 |
|
95 |
monitoringTaskDelay |
|
96 |
"get the delay time of the monitoring task measured in seconds |
|
97 |
or nil( monitoring disabled ). The task runs through all items |
|
98 |
of the list performing #monitoringCycle and than at end of the |
|
99 |
list the task is suspended for monitoringTaskDelay seconds. |
|
100 |
" |
|
101 |
^ monitoringTaskDelay |
|
102 |
! |
|
103 |
||
104 |
monitoringTaskDelay:inSecondsOrNil |
|
105 |
"set the delay time of the monitoring task measured in seconds |
|
106 |
or nil( monitoring disabled ). The task runs through all items |
|
107 |
of the list performing #monitoringCycle and than at end of the |
|
108 |
list the task is suspended for monitoringTaskDelay seconds. |
|
109 |
" |
|
110 |
inSecondsOrNil isNil ifTrue:[ |
|
1439
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
111 |
self stopMonitoringTask. |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
112 |
monitoringTaskDelay := nil. |
1390 | 113 |
] ifFalse:[ |
1439
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
114 |
monitoringTaskDelay := inSecondsOrNil. |
1390 | 115 |
self startMonitoringTask |
116 |
]. |
|
117 |
! ! |
|
118 |
||
1818 | 119 |
!HierarchicalList methodsFor:'accessing-mvc'! |
1390 | 120 |
|
1439
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
121 |
addDependent:anObject |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
122 |
"restart the monitoringTask if neccessary |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
123 |
" |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
124 |
super addDependent:anObject. |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
125 |
self startMonitoringTask. |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
126 |
|
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
127 |
! |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
128 |
|
1390 | 129 |
application |
130 |
"returns the responsible application; if no application is defined, |
|
131 |
nil is returned |
|
132 |
" |
|
133 |
^ application |
|
134 |
! |
|
135 |
||
136 |
application:anApplication |
|
137 |
"set the responsible application |
|
138 |
" |
|
1733 | 139 |
application := anApplication. |
1390 | 140 |
! |
141 |
||
142 |
applicationsDo:aOneArgBlock |
|
143 |
"evaluate the block on each dependent application |
|
144 |
" |
|
145 |
|appl| |
|
146 |
||
147 |
dependents notNil ifTrue:[ |
|
148 |
dependents do:[:aDep| |
|
149 |
appl := aDep perform:#application ifNotUnderstood:nil. |
|
150 |
||
151 |
appl notNil ifTrue:[ |
|
152 |
aOneArgBlock value:appl |
|
153 |
] |
|
154 |
] |
|
155 |
] |
|
1439
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
156 |
! |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
157 |
|
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
158 |
removeDependent:anObject |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
159 |
"stop the monitoringTask if no more dependencies exists |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
160 |
" |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
161 |
super removeDependent:anObject. |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
162 |
|
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
163 |
dependents size == 0 ifTrue:[ |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
164 |
self stopMonitoringTask |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
165 |
]. |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
166 |
|
1390 | 167 |
! ! |
168 |
||
1818 | 169 |
!HierarchicalList methodsFor:'accessing-root'! |
1390 | 170 |
|
171 |
root |
|
172 |
"get the root item |
|
173 |
" |
|
174 |
^ root |
|
175 |
||
176 |
! |
|
177 |
||
178 |
root:aRoot |
|
179 |
"set the root item |
|
180 |
" |
|
181 |
|children monitoring| |
|
182 |
||
183 |
self stopMonitoringTask. |
|
184 |
||
185 |
root notNil ifTrue:[ |
|
186 |
root parent:nil. |
|
187 |
root := nil. |
|
188 |
super removeAll. |
|
189 |
]. |
|
190 |
||
3070 | 191 |
(root := aRoot) notEmptyOrNil ifTrue:[ |
1869 | 192 |
self showRoot ifFalse:[root expand]. |
193 |
||
1390 | 194 |
root parent:self. |
195 |
children := OrderedCollection new. |
|
196 |
self showRoot ifTrue:[children add:root]. |
|
197 |
root addVisibleChildrenTo:children. |
|
198 |
super addAll:children beforeIndex:1 |
|
199 |
]. |
|
200 |
self startMonitoringTask. |
|
3070 | 201 |
|
202 |
"Modified: / 12-09-2006 / 18:22:42 / cg" |
|
1390 | 203 |
! ! |
204 |
||
205 |
!HierarchicalList methodsFor:'private'! |
|
206 |
||
2258 | 207 |
criticalDo:aBlock |
208 |
"evaluate the block in a critical region |
|
209 |
" |
|
210 |
^ recursionLock critical:aBlock |
|
211 |
! |
|
212 |
||
1733 | 213 |
initContents:aSize |
2430 | 214 |
"setup defaults |
215 |
" |
|
216 |
showRoot isNil ifTrue:[ showRoot := true ]. |
|
217 |
recursionLock isNil ifTrue:[ recursionLock := RecursionLock new ]. |
|
218 |
||
1733 | 219 |
^ super initContents:aSize. |
220 |
! |
|
221 |
||
1390 | 222 |
itemAddAll:aListOfItems beforeIndex:anIndex |
223 |
"insert all items before an index |
|
224 |
" |
|
225 |
super addAll:aListOfItems beforeIndex:anIndex |
|
226 |
! |
|
227 |
||
228 |
itemChanged:what with:aPara from:anItem |
|
229 |
"catch notification from item; throw changeNotifications |
|
230 |
to dependencies; |
|
231 |
**** don't know what to do with a parameter and argument what |
|
232 |
**** list protocol **** |
|
233 |
" |
|
234 |
|index arrIdx "{ Class: SmallInteger }"| |
|
235 |
||
236 |
(index := super identityIndexOf:anItem) ~~ 0 ifTrue:[ |
|
237 |
arrIdx := index + firstIndex - 1. |
|
238 |
contentsArray basicAt:arrIdx put:anItem. |
|
239 |
||
240 |
dependents size ~~ 0 ifTrue:[ |
|
241 |
what isNil ifTrue:[self changed:#at: with:index] |
|
242 |
ifFalse:[self changed:#at: with:(Array with:index with:what)] |
|
243 |
] |
|
244 |
] |
|
245 |
! |
|
246 |
||
247 |
itemRemoveFromIndex:start toIndex:stop |
|
248 |
"remove the items stored under startIndex up to and including |
|
249 |
the items under stopIndex. |
|
250 |
" |
|
251 |
^ super removeFromIndex:start toIndex:stop |
|
252 |
! |
|
253 |
||
254 |
parentOrModel |
|
255 |
"always returns nil |
|
256 |
" |
|
257 |
^ nil |
|
1733 | 258 |
! |
259 |
||
260 |
recursionLock |
|
261 |
^ recursionLock |
|
262 |
||
1390 | 263 |
! ! |
264 |
||
2493 | 265 |
!HierarchicalList methodsFor:'private-monitoring task'! |
1390 | 266 |
|
1437
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
267 |
monitoringCycle |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
268 |
"the block evaluated |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
269 |
" |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
270 |
|index item| |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
271 |
|
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
272 |
item := root. |
2430 | 273 |
index := 1. "/ on default discard first entry the root |
274 |
||
275 |
root isNil ifTrue:[ |
|
276 |
item := self at:index ifAbsent:nil. |
|
277 |
] ifFalse:[ |
|
278 |
self showRoot ifFalse:[ |
|
279 |
index := 0 "/ read list from begin |
|
280 |
] |
|
281 |
]. |
|
1437
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
282 |
|
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
283 |
[item notNil] whileTrue:[ |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
284 |
item monitoringCycle. |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
285 |
Processor yield. |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
286 |
index := index + 1. |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
287 |
item := self at:index ifAbsent:nil. |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
288 |
] |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
289 |
! |
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
290 |
|
1390 | 291 |
startMonitoringTask |
2223
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
292 |
"start the monitoring task; backgrund process finishes, when no (more) dependencies exist, |
2743 | 293 |
and the additionalItemsToMonitorSemaphore is not signalled |
294 |
(aka: no more background children to read)" |
|
295 |
||
1439
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
296 |
|name| |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
297 |
|
2744
21b90562122b
Fix monitoring task starting (bug introduced in last version)
Stefan Vogel <sv@exept.de>
parents:
2743
diff
changeset
|
298 |
(monitoringTask isNil |
21b90562122b
Fix monitoring task starting (bug introduced in last version)
Stefan Vogel <sv@exept.de>
parents:
2743
diff
changeset
|
299 |
and:[self monitoringTaskDelay notNil |
2743 | 300 |
and:[(dependents size ~~ 0) or:[additionalItemsToMonitorSemaphore notNil]]] |
1390 | 301 |
) ifTrue:[ |
1439
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
302 |
monitoringTask := [ |
2223
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
303 |
[(dependents size ~~ 0) or:[additionalItemsToMonitorSemaphore notNil]] whileTrue:[ |
1437
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
304 |
self monitoringCycle. |
2223
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
305 |
additionalItemsToMonitorSemaphore isNil ifTrue:[ |
2743 | 306 |
Delay waitForSeconds:self monitoringTaskDelay |
2223
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
307 |
] ifFalse:[ |
2743 | 308 |
additionalItemsToMonitorSemaphore waitWithTimeout:self monitoringTaskDelay. |
2223
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
309 |
] |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
310 |
]. |
2273 | 311 |
] newProcess. |
312 |
||
313 |
monitoringTask priorityRange:(Processor userBackgroundPriority to:Processor activePriority). |
|
2412 | 314 |
monitoringTask restartable:true. |
2273 | 315 |
monitoringTask resume. |
1437
3ff0d67ec0af
separate monitoringCycle from startMonitoringCycle
Claus Gittinger <cg@exept.de>
parents:
1431
diff
changeset
|
316 |
|
1439
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
317 |
name := application notNil ifTrue:[application class name] ifFalse:['???']. |
ddcd6e87e406
wait for termination monitoringTask before continue
Claus Gittinger <cg@exept.de>
parents:
1437
diff
changeset
|
318 |
monitoringTask name:'HierarchicalList: ', name. |
1390 | 319 |
]. |
320 |
^ true. |
|
321 |
! |
|
322 |
||
323 |
stopMonitoringTask |
|
2743 | 324 |
"stop the monitoring task" |
325 |
||
1616 | 326 |
|task| |
327 |
||
328 |
(task := monitoringTask) notNil ifTrue:[ |
|
1390 | 329 |
monitoringTask := nil. |
1616 | 330 |
|
2743 | 331 |
Error handle:[:ex| ] do:[ |
2231
65cec3d10fb1
Change sends to obsolete methods
Stefan Vogel <sv@exept.de>
parents:
2223
diff
changeset
|
332 |
task terminateWithAllSubprocessesInGroup. |
1616 | 333 |
task waitUntilTerminated. |
334 |
] |
|
1390 | 335 |
] |
2223
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
336 |
! |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
337 |
|
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
338 |
triggerUpdateCycle |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
339 |
additionalItemsToMonitorSemaphore isNil ifTrue:[ |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
340 |
[ |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
341 |
additionalItemsToMonitorSemaphore isNil ifTrue:[ |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
342 |
additionalItemsToMonitorSemaphore := Semaphore new. |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
343 |
]. |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
344 |
] valueUninterruptably |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
345 |
]. |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
346 |
|
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
347 |
monitoringTaskDelay isNil ifTrue:[ |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
348 |
monitoringTaskDelay := 10 |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
349 |
]. |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
350 |
|
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
351 |
additionalItemsToMonitorSemaphore signalOnce. |
c34e7fd25e53
monitoring; delayed for directories; never for remoteDirectories
penk
parents:
1961
diff
changeset
|
352 |
self startMonitoringTask. |
1390 | 353 |
! ! |
354 |
||
355 |
!HierarchicalList methodsFor:'protocol'! |
|
356 |
||
357 |
childrenFor:anItem |
|
358 |
"returns the children for an item or an empty list |
|
359 |
" |
|
360 |
^ #() |
|
361 |
! |
|
362 |
||
363 |
iconFor:anItem |
|
364 |
"returns the icon for an item or nil |
|
365 |
" |
|
366 |
^ nil |
|
367 |
! |
|
368 |
||
369 |
labelFor:anItem |
|
370 |
"returns the label for an item or nil |
|
371 |
" |
|
372 |
^ nil |
|
373 |
||
374 |
||
375 |
! |
|
376 |
||
377 |
middleButtonMenuFor:anItem |
|
378 |
"returns the middleButton menu for an item or nil |
|
379 |
" |
|
380 |
^ nil |
|
381 |
||
382 |
||
383 |
! ! |
|
384 |
||
385 |
!HierarchicalList class methodsFor:'documentation'! |
|
386 |
||
387 |
version |
|
3070 | 388 |
^ '$Header: /cvs/stx/stx/libwidg2/HierarchicalList.st,v 1.23 2006-09-12 16:26:43 cg Exp $' |
1390 | 389 |
! ! |