-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ToMultiSelectElement: more consistent fake node implementation
- Loading branch information
Showing
9 changed files
with
77 additions
and
25 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
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
12 changes: 6 additions & 6 deletions
12
...ct/ToAbstractMultiSelectDataItem.class.st → ...Select/ToAbstractMultiSelectItem.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 |
---|---|---|
@@ -1,35 +1,35 @@ | ||
Class { | ||
#name : #ToAbstractMultiSelectDataItem, | ||
#name : #ToAbstractMultiSelectItem, | ||
#superclass : #Object, | ||
#category : #'Toplo-Widget-Select-Multi' | ||
} | ||
|
||
{ #category : #'node building' } | ||
ToAbstractMultiSelectDataItem >> buildNode: aNode inHolder: aNodeHolder withManager: aNodeManager [ | ||
ToAbstractMultiSelectItem >> buildNode: aNode inHolder: aNodeHolder withManager: aNodeManager [ | ||
|
||
self subclassResponsibility | ||
] | ||
|
||
{ #category : #accessing } | ||
ToAbstractMultiSelectDataItem >> indexes [ | ||
ToAbstractMultiSelectItem >> indexes [ | ||
|
||
^ self subclassResponsibility | ||
] | ||
|
||
{ #category : #testing } | ||
ToAbstractMultiSelectDataItem >> isComposite [ | ||
ToAbstractMultiSelectItem >> isComposite [ | ||
|
||
^ false | ||
] | ||
|
||
{ #category : #accessing } | ||
ToAbstractMultiSelectDataItem >> items [ | ||
ToAbstractMultiSelectItem >> items [ | ||
|
||
^ self subclassResponsibility | ||
] | ||
|
||
{ #category : #accessing } | ||
ToAbstractMultiSelectDataItem >> nodesCount [ | ||
ToAbstractMultiSelectItem >> nodesCount [ | ||
|
||
^ self subclassResponsibility | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Class { | ||
#name : #ToMultiSelectFakeItem, | ||
#superclass : #ToAbstractMultiSelectItem, | ||
#instVars : [ | ||
'dataItem' | ||
], | ||
#category : #'Toplo-Widget-Select-Multi' | ||
} | ||
|
||
{ #category : #'instance creation' } | ||
ToMultiSelectFakeItem class >> index: anIndex [ | ||
|
||
^ self new index: anIndex; yourself | ||
] | ||
|
||
{ #category : #'node building' } | ||
ToMultiSelectFakeItem >> buildNode: aNode inHolder: aNodeHolder withManager: aNodeManager [ | ||
|
||
aNodeManager nodeBuilder value: aNode value: dataItem value: aNodeHolder | ||
] | ||
|
||
{ #category : #accessing } | ||
ToMultiSelectFakeItem >> dataItem [ | ||
|
||
^ dataItem | ||
] | ||
|
||
{ #category : #accessing } | ||
ToMultiSelectFakeItem >> dataItem: aDataItem [ | ||
|
||
dataItem := aDataItem | ||
] | ||
|
||
{ #category : #accessing } | ||
ToMultiSelectFakeItem >> indexes [ | ||
|
||
^ { } | ||
] | ||
|
||
{ #category : #accessing } | ||
ToMultiSelectFakeItem >> items [ | ||
|
||
^ { } | ||
] | ||
|
||
{ #category : #accessing } | ||
ToMultiSelectFakeItem >> nodesCount [ | ||
|
||
^ 0 | ||
] |
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