-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
All methods
item to Instance slots
filter widget
- Loading branch information
1 parent
f53d35d
commit 698a126
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Class { | ||
#name : #GtFilterModelAllItem, | ||
#superclass : #GtFilterModelItem, | ||
#instVars : [ | ||
'label' | ||
], | ||
#category : #'GToolkit-Coder-UI-Filters - Models' | ||
} | ||
|
||
{ #category : #factory } | ||
GtFilterModelAllItem class >> default [ | ||
^ self new | ||
] | ||
|
||
{ #category : #factory } | ||
GtFilterModelAllItem class >> methodsLabel [ | ||
^ self new label: 'All methods' | ||
] | ||
|
||
{ #category : #accessing } | ||
GtFilterModelAllItem >> ifSome: aBlock ifNone: aNoneBlock [ | ||
^ aNoneBlock value | ||
] | ||
|
||
{ #category : #initialization } | ||
GtFilterModelAllItem >> initialize [ | ||
super initialize. | ||
label := 'All' | ||
] | ||
|
||
{ #category : #accessing } | ||
GtFilterModelAllItem >> label [ | ||
^ 'All' | ||
] | ||
|
||
{ #category : #factory } | ||
GtFilterModelAllItem >> label: aString [ | ||
] | ||
|
||
{ #category : #convenience } | ||
GtFilterModelAllItem >> withAll: aCollection [ | ||
^ Array with: self withAll: aCollection | ||
] |