Skip to content

Commit 493ba50

Browse files
committed
Merge 698a126
2 parents 20ff75a + 698a126 commit 493ba50

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Class {
2+
#name : #GtFilterModelAllItem,
3+
#superclass : #GtFilterModelItem,
4+
#instVars : [
5+
'label'
6+
],
7+
#category : #'GToolkit-Coder-UI-Filters - Models'
8+
}
9+
10+
{ #category : #factory }
11+
GtFilterModelAllItem class >> default [
12+
^ self new
13+
]
14+
15+
{ #category : #factory }
16+
GtFilterModelAllItem class >> methodsLabel [
17+
^ self new label: 'All methods'
18+
]
19+
20+
{ #category : #accessing }
21+
GtFilterModelAllItem >> ifSome: aBlock ifNone: aNoneBlock [
22+
^ aNoneBlock value
23+
]
24+
25+
{ #category : #initialization }
26+
GtFilterModelAllItem >> initialize [
27+
super initialize.
28+
label := 'All'
29+
]
30+
31+
{ #category : #accessing }
32+
GtFilterModelAllItem >> label [
33+
^ 'All'
34+
]
35+
36+
{ #category : #factory }
37+
GtFilterModelAllItem >> label: aString [
38+
]
39+
40+
{ #category : #convenience }
41+
GtFilterModelAllItem >> withAll: aCollection [
42+
^ Array with: self withAll: aCollection
43+
]

0 commit comments

Comments
 (0)