Skip to content

Commit

Permalink
removing as many as possible Smalltalk references
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed May 24, 2024
1 parent a2f8104 commit ec4e830
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Chapters/ListTreeTable/ListTreeTable.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The following script illustrates this and the result is shown in Figure *@figSim

```
SpListPresenter new
items: Smalltalk globals allClasses;
items: Collection withAllSubclasses;
open
```

Expand Down Expand Up @@ -53,7 +53,7 @@ We can configure the way items are displayed in a more finer-grained way. The fo

```
SpListPresenter new
items: self environment allClasses;
items: Collection withAllSubclasses;
displayIcon: [ :aClass | self iconNamed: aClass systemIconName ];
displayColor: [ :aClass |
(aClass name endsWith: 'Test')
Expand All @@ -71,11 +71,11 @@ SpListPresenter new

### About single/multiple selection

Lists support multiple selection. The message `beMultipleSelection` controls that aspect.
Lists support multiple selections. The message `beMultipleSelection` controls that aspect.

```
SpListPresenter new
items: Smalltalk globals allClasses;
items: Collection withAllSubclasses;
beMultipleSelection;
open
```
Expand Down Expand Up @@ -138,7 +138,7 @@ Lists can also be filtered as shown in Figure *@figFiltering@*. The following sc

```
SpFilteringListPresenter new
items: Smalltalk globals allClasses;
items: Collection withAllSubclasses;
open;
withWindowDo: [ :window |
window title: 'SpFilteringListPresenter example' ]
Expand All @@ -150,7 +150,7 @@ The following script shows that the filter can be placed at the top.

```
SpFilteringListPresenter new
items: Smalltalk globals allClasses;
items: Collection withAllSubclasses;
openWithLayout: SpFilteringListPresenter topLayout;
withWindowDo: [ :window |
window title: 'SpFilteringListPresenter example' ]
Expand All @@ -160,7 +160,7 @@ Note that a filter can be declared upfront using the message `applyFilter:`.

```
SpFilteringListPresenter new
items: Smalltalk globals allClasses;
items: Collection withAllSubclasses;
openWithLayout: SpFilteringListPresenter topLayout;
applyFilter: 'ZZ';
withWindowDo: [ :window |
Expand All @@ -177,7 +177,7 @@ The following script produces this situation.

```
(SpFilteringSelectableListPresenter new
items: Smalltalk globals allClasses;
items: Collection withAllSubclasses;
layout: SpFilteringListPresenter topLayout;
applyFilter: 'ZZ';
asWindow)
Expand Down Expand Up @@ -323,7 +323,7 @@ SpTablePresenter new
addColumn: ((SpStringTableColumn
title: 'Methods'
evaluated: [ :c | c methodDictionary size ]) sortFunction: methodCountSorter);
items: Smalltalk globals allClasses;
items: Collection withAllSubclasses;
open
```

Expand Down

0 comments on commit ec4e830

Please sign in to comment.