-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
132 additions
and
240 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
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
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
36 changes: 36 additions & 0 deletions
36
src/Toplo-Widget-List/ToAdditionalSelectionModelOperator.class.st
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,36 @@ | ||
Class { | ||
#name : #ToAdditionalSelectionModelOperator, | ||
#superclass : #ToSelectionModelOperator, | ||
#instVars : [ | ||
'eventClass' | ||
], | ||
#category : #'Toplo-Widget-List-Command-Selection' | ||
} | ||
|
||
{ #category : #accessing } | ||
ToAdditionalSelectionModelOperator class >> eventClass: anEventClass [ | ||
|
||
^ self new eventClass: anEventClass | ||
] | ||
|
||
{ #category : #accessing } | ||
ToAdditionalSelectionModelOperator >> eventClass [ | ||
|
||
^ eventClass | ||
] | ||
|
||
{ #category : #accessing } | ||
ToAdditionalSelectionModelOperator >> eventClass: anEventClass [ | ||
|
||
eventClass := anEventClass | ||
] | ||
|
||
{ #category : #'private command application' } | ||
ToAdditionalSelectionModelOperator >> notifySelectionChangedAfter: aCommand in: aTarget [ | ||
|
||
aCommand selectionChanged ifFalse: [ ^ self ]. | ||
|
||
aTarget dispatchEvent: (self eventClass new | ||
selectionModel: self selectionModel copy; | ||
yourself) | ||
] |
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
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
18 changes: 0 additions & 18 deletions
18
src/Toplo-Widget-List/ToDisabledSelectionModelOperator.class.st
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
src/Toplo-Widget-List/ToHiddenSelectionModelOperator.class.st
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.