File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 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+ ]
You can’t perform that action at this time.
0 commit comments