author | Stefan Vogel <sv@exept.de> |
Wed, 22 May 2019 16:10:09 +0200 | |
changeset 6053 | 88091f958e67 |
parent 5160 | c946616ee338 |
child 5197 | 4c7442c47ab5 |
permissions | -rw-r--r-- |
254 | 1 |
" |
2 |
COPYRIGHT (c) 1994 by AEG Industry Automation |
|
3 |
COPYRIGHT (c) 1994 by Claus Gittinger |
|
4 |
All Rights Reserved |
|
5 |
||
6 |
This software is furnished under a license and may be used |
|
7 |
only in accordance with the terms of that license and with the |
|
8 |
inclusion of the above copyright notice. This software may not |
|
9 |
be provided or otherwise made available to, or used by, any |
|
10 |
other person. No title to or ownership of the software is |
|
11 |
hereby transferred. |
|
12 |
" |
|
5160 | 13 |
"{ Package: 'stx:libwidg2' }" |
254 | 14 |
|
5160 | 15 |
"{ NameSpace: Smalltalk }" |
3150 | 16 |
|
84 | 17 |
SelectionInListView subclass:#SelectionInHierarchyView |
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
18 |
instanceVariableNames:'itemList showConnectingLines itemClass indent itemPrintConverter' |
252 | 19 |
classVariableNames:'' |
20 |
poolDictionaries:'' |
|
1233 | 21 |
category:'Views-Trees' |
84 | 22 |
! |
23 |
||
259 | 24 |
!SelectionInHierarchyView class methodsFor:'documentation'! |
84 | 25 |
|
3150 | 26 |
copyright |
254 | 27 |
" |
28 |
COPYRIGHT (c) 1994 by AEG Industry Automation |
|
29 |
COPYRIGHT (c) 1994 by Claus Gittinger |
|
30 |
All Rights Reserved |
|
31 |
||
32 |
This software is furnished under a license and may be used |
|
33 |
only in accordance with the terms of that license and with the |
|
34 |
inclusion of the above copyright notice. This software may not |
|
35 |
be provided or otherwise made available to, or used by, any |
|
36 |
other person. No title to or ownership of the software is |
|
37 |
hereby transferred. |
|
38 |
" |
|
39 |
! |
|
84 | 40 |
|
41 |
documentation |
|
42 |
" |
|
443 | 43 |
[warning:] |
3150 | 44 |
this class has been more or less obsoleted by |
45 |
the SelectionInTreeView and HierarchicalListView classes. |
|
46 |
SelectionInHierarchyView remains in the system for backward |
|
47 |
compatibility, but will be no longer maintained. |
|
48 |
New applications should use SelectionInTreeView, |
|
49 |
or (even better) HierarchicalListView. |
|
443 | 50 |
|
84 | 51 |
somewhat like a SelectionInListView; but specialized for hierarchical (i.e. tree-like) |
3150 | 52 |
lists and adds the functions to show/hide subtrees. |
84 | 53 |
Requires SelectionInHierarchy as model and HierarchyNode (or compatible) list entries. |
54 |
See examples. |
|
252 | 55 |
|
56 |
[Author:] |
|
3150 | 57 |
W. Olberding AEG Factory Automation |
252 | 58 |
|
59 |
[See also:] |
|
3150 | 60 |
SelectionInTreeView |
61 |
SelectionInHierarchy HierarchyNode |
|
62 |
SelectionInListView |
|
84 | 63 |
" |
64 |
! |
|
65 |
||
66 |
examples |
|
67 |
" |
|
68 |
shows the tree of smalltalk classes: |
|
3150 | 69 |
[exBegin] |
84 | 70 |
|top hierarchy hierarchyV scroller| |
71 |
||
72 |
hierarchy := SelectionInHierarchy new. |
|
73 |
hierarchy root:(HierarchyNode newAsTreeFromSmalltalkClass:Object). |
|
74 |
hierarchy setHideToChildren:true startingAt:hierarchy root. |
|
75 |
||
76 |
top := StandardSystemView new. |
|
77 |
top extent:300@300. |
|
78 |
||
79 |
hierarchyV := SelectionInHierarchyView new. |
|
80 |
hierarchyV model: hierarchy. |
|
184 | 81 |
hierarchyV action:[:nr | Transcript show:'selected:'; showCR:nr]. |
84 | 82 |
|
83 |
top add:(ScrollableView forView:hierarchyV) |
|
3150 | 84 |
in:((0.0 @ 0.0 ) corner:( 1.0 @ 1.0)). |
84 | 85 |
top open. |
3150 | 86 |
[exEnd] |
84 | 87 |
|
88 |
same, with nice connecting links: |
|
259 | 89 |
(sorry - this works only with some fonts - see comment in #getListFromModel) |
3150 | 90 |
[exBegin] |
84 | 91 |
|top hierarchy hierarchyV scroller| |
92 |
||
93 |
hierarchy := SelectionInHierarchy new. |
|
94 |
hierarchy root:(HierarchyNode newAsTreeFromSmalltalkClass:Object). |
|
95 |
hierarchy setHideToChildren:true startingAt:hierarchy root. |
|
96 |
||
97 |
top := StandardSystemView new. |
|
98 |
top extent:300@300. |
|
99 |
||
100 |
hierarchyV := SelectionInHierarchyView new. |
|
101 |
hierarchyV showConnectingLines:true. |
|
102 |
hierarchyV model: hierarchy. |
|
184 | 103 |
hierarchyV action:[:nr | Transcript show:'selected:'; showCR:nr]. |
84 | 104 |
|
105 |
top add:(ScrollableView forView:hierarchyV) |
|
3150 | 106 |
in:((0.0 @ 0.0 ) corner:( 1.0 @ 1.0)). |
84 | 107 |
top open. |
3150 | 108 |
[exEnd] |
84 | 109 |
" |
110 |
! ! |
|
111 |
||
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
112 |
!SelectionInHierarchyView methodsFor:'accessing - selection'! |
252 | 113 |
|
254 | 114 |
selectElement:anObject |
115 |
"select the element with same printString as the argument, anObject" |
|
116 |
||
117 |
|index| |
|
118 |
||
119 |
index:= 1. |
|
120 |
list notNil ifTrue:[ |
|
3150 | 121 |
list do:[:each| |
122 |
((each withoutSpaces) = (anObject printString)) ifTrue:[ |
|
123 |
self selection:index. |
|
124 |
^ index |
|
125 |
]. |
|
126 |
index:= index + 1. |
|
127 |
]. |
|
254 | 128 |
]. |
129 |
^index |
|
252 | 130 |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
131 |
"Modified: 10.10.1994 / 16:13:39 / W.Olberding" |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
132 |
"Modified: 16.4.1997 / 12:40:05 / cg" |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
133 |
! |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
134 |
|
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
135 |
selection: anIndex |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
136 |
"Pass the selection along to the model." |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
137 |
|
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
138 |
super selection: anIndex. |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
139 |
model selection: anIndex. |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
140 |
|
5160 | 141 |
"Modified: 10.10.94 / 16:13:38 / W.Olberding" |
142 |
! |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
143 |
|
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
144 |
selectionIndex: anIndex |
3150 | 145 |
"Pass the selection along to the model." |
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
146 |
|
3150 | 147 |
super selection: anIndex. |
148 |
model selection: anIndex. |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
149 |
|
3150 | 150 |
"Modified: 10.10.94 / 16:13:38 / W.Olberding" |
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
151 |
! ! |
252 | 152 |
|
84 | 153 |
!SelectionInHierarchyView methodsFor:'event handling'! |
154 |
||
155 |
buttonPress:button x:x y:y |
|
156 |
|oldSelection listLineNr| |
|
157 |
||
158 |
((button == 1) or:[button == #select]) ifTrue:[ |
|
3150 | 159 |
enabled ifTrue:[ |
160 |
oldSelection := selection. |
|
161 |
listLineNr := self visibleLineToListLine:(self visibleLineOfY:y). |
|
162 |
(selectConditionBlock isNil or:[selectConditionBlock value:listLineNr]) ifTrue:[ |
|
163 |
listLineNr notNil ifTrue: [ |
|
164 |
self selectWithoutScroll:listLineNr |
|
165 |
]. |
|
166 |
((ignoreReselect not and:[selection notNil]) |
|
167 |
or:[selection ~= oldSelection]) ifTrue:[ |
|
168 |
"actionBlock notNil ifTrue:[actionBlock value:selection]." |
|
169 |
"the ST-80 way of doing things" |
|
170 |
model notNil ifTrue:[ |
|
171 |
model perform:#selectionIndex: with:(selection) |
|
172 |
] |
|
173 |
]. |
|
174 |
clickLine := listLineNr |
|
175 |
] |
|
176 |
] |
|
84 | 177 |
] ifFalse:[ |
3150 | 178 |
super buttonPress:button x:x y:y |
84 | 179 |
] |
180 |
||
3150 | 181 |
"Modified: 10.10.94 / 17:13:38 / W.Olberding" |
182 |
"Modified: 08.11.94 / 15:38:43 / R.Sailer" |
|
252 | 183 |
! |
84 | 184 |
|
254 | 185 |
keyPress:key x:x y:y |
186 |
"a key was pressed - handle [-][+][*] here" |
|
84 | 187 |
|
3150 | 188 |
(key == $-) ifTrue: [^ model collapse]. |
189 |
(key == $+) ifTrue: [^ model expand]. |
|
190 |
(key == $*) ifTrue: [^ model expandAll]. |
|
191 |
(key == $.) ifTrue: [^ model collapseAll]. |
|
254 | 192 |
|
193 |
super keyPress:key x:x y:y |
|
84 | 194 |
|
5160 | 195 |
"Modified: 10.10.94 / 16:13:38 / W.Olberding" |
196 |
! ! |
|
252 | 197 |
|
198 |
!SelectionInHierarchyView methodsFor:'initialization'! |
|
199 |
||
254 | 200 |
initialize |
252 | 201 |
|
254 | 202 |
super initialize. |
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
203 |
|
254 | 204 |
showConnectingLines := true. |
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
205 |
indent := 2. |
252 | 206 |
|
3150 | 207 |
self doubleClickAction: |
208 |
[:selection | model doubleClickSelection: selection ]. |
|
209 |
"this will usualy initiate a hide/show operation" |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
210 |
|
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
211 |
"Modified: 10.10.1994 / 16:13:39 / W.Olberding" |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
212 |
"Modified: 16.4.1997 / 12:37:38 / cg" |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
213 |
! |
252 | 214 |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
215 |
itemPrintConverter:aBlock |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
216 |
"set a converter block, which returns a listEntry |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
217 |
for a passed node. If left undefined, an indented string |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
218 |
based upon the nodes name is generated." |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
219 |
|
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
220 |
itemPrintConverter := aBlock |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
221 |
|
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
222 |
"Modified: 16.4.1997 / 13:06:22 / cg" |
252 | 223 |
! |
224 |
||
254 | 225 |
showConnectingLines:aBoolean |
226 |
showConnectingLines := aBoolean |
|
252 | 227 |
! ! |
84 | 228 |
|
229 |
!SelectionInHierarchyView methodsFor:'model access'! |
|
230 |
||
254 | 231 |
getListAttributes |
232 |
"get list attributes (selectable, disabled ...) from model)" |
|
233 |
||
234 |
^Array new: 0. |
|
235 |
||
5160 | 236 |
"Modified: 10.10.94 / 16:13:38 / W.Olberding" |
237 |
! |
|
254 | 238 |
|
239 |
getListFromModel |
|
259 | 240 |
"Get list entries from model. |
241 |
Answer them as idented Text." |
|
254 | 242 |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
243 |
|listOfNodes itemList textLine treeLevels isLastOnLevel oldLevel |
259 | 244 |
blockGraphicCharacters| |
254 | 245 |
|
259 | 246 |
listOfNodes := model list. |
247 |
listOfNodes isNil ifTrue:[^ #()]. |
|
254 | 248 |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
249 |
itemPrintConverter notNil ifTrue:[ |
3150 | 250 |
"/ externally provided node-to-listentry converter |
251 |
"/ allows hierarchyNodes to be presented in any |
|
252 |
"/ programmer defined way ... |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
253 |
|
3150 | 254 |
itemList := listOfNodes collect:[:aNode | |
255 |
itemPrintConverter value:aNode |
|
256 |
]. |
|
257 |
] ifFalse:[ |
|
258 |
showConnectingLines ifFalse:[ |
|
259 |
itemList := listOfNodes collect: [ :aNode | |
|
260 |
textLine := ReadWriteStream on: String new. |
|
261 |
aNode level timesRepeat: [ |
|
262 |
textLine spaces:indent. |
|
263 |
]. |
|
264 |
textLine nextPutAll: aNode name. |
|
265 |
aNode isExpandable ifTrue: [ |
|
266 |
textLine nextPutAll: ' ...'. |
|
267 |
]. |
|
268 |
textLine contents. |
|
269 |
]. |
|
270 |
] ifTrue:[ |
|
271 |
"/ claus: |
|
272 |
"/ mhmh - the AEG code depends on those blockGraphic |
|
273 |
"/ characters being in the font. |
|
274 |
"/ |
|
275 |
"/ how can we find out what characters there are ? |
|
276 |
"/ (X maps missing chars to a space). |
|
277 |
"/ we should really rewrite this to use a private bitmap font ... |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
278 |
|
3150 | 279 |
blockGraphicCharacters := Array with:$| |
280 |
with:$+ |
|
281 |
with:$+ |
|
282 |
with:$-. |
|
84 | 283 |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
284 |
"/ blockGraphicCharacters := Array with:(Character value:25) |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
285 |
"/ with:(Character value:14) |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
286 |
"/ with:(Character value:21) |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
287 |
"/ with:(Character value:18). |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
288 |
|
3150 | 289 |
isLastOnLevel:=Set new. |
290 |
treeLevels:=Set new. |
|
291 |
oldLevel:=0. |
|
259 | 292 |
|
3150 | 293 |
listOfNodes reverseDo: [ :aNode | |
294 |
(treeLevels includes:(aNode level)) ifFalse:[ |
|
295 |
isLastOnLevel add:aNode. |
|
296 |
treeLevels add:(aNode level). |
|
297 |
]. |
|
298 |
aNode level < oldLevel ifTrue:[ |
|
299 |
treeLevels remove:oldLevel. |
|
300 |
]. |
|
301 |
oldLevel:=aNode level. |
|
302 |
]. |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
303 |
|
3150 | 304 |
treeLevels:=Set new. |
305 |
oldLevel:=0. |
|
306 |
itemList := listOfNodes collect: [ :aNode | |
|
307 |
textLine := ReadWriteStream on: String new. |
|
84 | 308 |
|
3150 | 309 |
1 to:((aNode level)-1) do: [ :l | |
310 |
(treeLevels includes:l) ifTrue:[ |
|
311 |
textLine space; nextPut:(blockGraphicCharacters at:1); space. |
|
312 |
]ifFalse:[ |
|
313 |
textLine space; space; space. |
|
314 |
] |
|
315 |
]. |
|
316 |
treeLevels add:(aNode level). |
|
317 |
oldLevel:=aNode level. |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
318 |
|
3150 | 319 |
(aNode = (listOfNodes first)) ifFalse:[ |
320 |
textLine space. |
|
321 |
(isLastOnLevel includes:aNode)ifTrue:[ |
|
322 |
textLine nextPut:(blockGraphicCharacters at:2). |
|
323 |
treeLevels remove:(aNode level). |
|
324 |
] ifFalse:[ |
|
325 |
textLine nextPut:(blockGraphicCharacters at:3). |
|
326 |
]. |
|
327 |
textLine nextPut:(blockGraphicCharacters at:4). |
|
328 |
]. |
|
329 |
aNode isExpandable ifTrue: [ |
|
330 |
textLine nextPutAll: '[+]'. |
|
331 |
] ifFalse:[ |
|
332 |
aNode isCollapsable ifTrue: [ |
|
333 |
textLine nextPutAll: '[-]'. |
|
334 |
] ifFalse:[ |
|
335 |
textLine nextPut:(blockGraphicCharacters at:4). |
|
336 |
]. |
|
337 |
]. |
|
84 | 338 |
|
3150 | 339 |
textLine nextPutAll:' ', aNode name. |
340 |
textLine contents. |
|
341 |
]. |
|
342 |
] |
|
259 | 343 |
]. |
84 | 344 |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
345 |
^itemList |
84 | 346 |
|
361
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
347 |
"Modified: 10.10.1994 / 16:13:39 / W.Olberding" |
207e06f3d47e
added an itemConverterBlock, which can generate ListEntries
Claus Gittinger <cg@exept.de>
parents:
259
diff
changeset
|
348 |
"Modified: 16.4.1997 / 12:43:20 / cg" |
84 | 349 |
! |
350 |
||
252 | 351 |
getSelectionFromModel |
352 |
"Get the current list selection from model. " |
|
353 |
||
354 |
^ model selectionIndex |
|
355 |
||
3150 | 356 |
"Modified: 10.10.94 / 16:13:39 / W.Olberding" |
252 | 357 |
! |
358 |
||
254 | 359 |
model:aModel |
360 |
super model:aModel. |
|
361 |
self setNewList |
|
252 | 362 |
! ! |
84 | 363 |
|
252 | 364 |
!SelectionInHierarchyView methodsFor:'private'! |
365 |
||
254 | 366 |
setNewList |
367 |
"Build a completely new hierarchy list." |
|
368 |
||
84 | 369 |
|
254 | 370 |
self setList: (self getListFromModel). |
371 |
"/ self attributes: (self getListAttributes). |
|
372 |
self selection: (self getSelectionFromModel). |
|
252 | 373 |
|
254 | 374 |
"Modified: 10.10.94 / 17:13:38 / W.Olberding" |
5160 | 375 |
"Modified: 08.11.94 / 15:28:03 / R.Sailer" |
376 |
! ! |
|
84 | 377 |
|
378 |
!SelectionInHierarchyView methodsFor:'updating'! |
|
379 |
||
254 | 380 |
update: aSymbol with:aParameter from:changedObject |
5160 | 381 |
"Change my appearance according to the occurred change." |
84 | 382 |
|
5160 | 383 |
aSymbol == #list |
384 |
ifTrue: [^self setNewList]. |
|
385 |
aSymbol == #selection |
|
386 |
ifTrue: [^self selection: self getSelectionFromModel]. |
|
387 |
aSymbol == #attributes |
|
388 |
ifTrue: []. |
|
84 | 389 |
|
5160 | 390 |
"Modified: 10.10.94 / 16:13:38 / W.Olberding" |
391 |
! ! |
|
84 | 392 |
|
259 | 393 |
!SelectionInHierarchyView class methodsFor:'documentation'! |
84 | 394 |
|
252 | 395 |
version |
5160 | 396 |
^ '$Header$' |
84 | 397 |
! ! |
5160 | 398 |