-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix buttons serialization and remove tooltips TU
- Loading branch information
Showing
11 changed files
with
55 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
Extension { #name : #TToCheckable } | ||
|
||
{ #category : #'*Toplo-Serialization-Stash' } | ||
TToCheckable >> allSetterAndGettersOfTraitForMyStash: aToElement [ | ||
TToCheckable >> stashAccessorsForTToCheckable [ | ||
|
||
<stashAccessors> | ||
| settersAndGetters | | ||
self isCheckable ifFalse: [ ^ { } ]. | ||
settersAndGetters := OrderedCollection new. | ||
settersAndGetters add: #checked. | ||
settersAndGetters add: #group. | ||
settersAndGetters add: #initializeCheckable onlySetOnStash. | ||
self checked ifTrue: [ settersAndGetters add: #checked ]. | ||
self group ifNotNil: [ settersAndGetters add: #group ]. | ||
^ settersAndGetters | ||
] |
25 changes: 0 additions & 25 deletions
25
src/Toplo-Serialization-Stash/TToElementWithLabeledIcon.extension.st
This file was deleted.
Oops, something went wrong.
7 changes: 5 additions & 2 deletions
7
src/Toplo-Serialization-Stash/TToElementWithTooltip.extension.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,8 +1,11 @@ | ||
Extension { #name : #TToElementWithTooltip } | ||
|
||
{ #category : #'*Toplo-Serialization-Stash' } | ||
TToElementWithTooltip >> allSetterAndGettersOfTraitForMyStash: aToElement [ | ||
TToElementWithTooltip >> stashAccessorsForTToElementWithTooltip [ | ||
|
||
<stashAccessors> | ||
|
||
self hasTooltip ifFalse: [ ^ { } ]. | ||
^ { #tooltipBuilder. #closeTooltipWindowOnMouseLeave . #tooltipPopupDelay } | ||
^ { #tooltipBuilder. #closeTooltipWindowOnMouseLeave. | ||
#tooltipPopupDelay } | ||
] |
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
src/Toplo-Serialization-Stash/TToTripletElement.extension.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,28 @@ | ||
Extension { #name : #TToTripletElement } | ||
|
||
{ #category : #'*Toplo-Serialization-Stash' } | ||
TToTripletElement >> stashAccessorsForTToTripletElement [ | ||
|
||
<stashAccessors> | ||
|
||
| settersAndGetters | | ||
settersAndGetters := OrderedCollection new. | ||
|
||
self endAlignment ifNotNil: [ settersAndGetters add: #endAlignment ]. | ||
self endElement ifNotNil: [ settersAndGetters add: #endElement ]. | ||
self endFlexible ifTrue: [ settersAndGetters add: #endFlexible ]. | ||
self endInterspace = 0 ifFalse: [ | ||
settersAndGetters add: #endInterspace ]. | ||
|
||
self flexible ifTrue: [ settersAndGetters add: #flexible ]. | ||
self middleElement ifNotNil: [ settersAndGetters add: #middleElement ]. | ||
|
||
self startAlignment ifNotNil: [ | ||
settersAndGetters add: #startAlignment ]. | ||
self startElement ifNotNil: [ settersAndGetters add: #startElement ]. | ||
self startFlexible ifTrue: [ settersAndGetters add: #startFlexible ]. | ||
self startInterspace = 0 ifFalse: [ | ||
settersAndGetters add: #startInterspace ]. | ||
|
||
^ settersAndGetters | ||
] |
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
7 changes: 0 additions & 7 deletions
7
src/Toplo-Serialization/TToElementWithPlaceholder.extension.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #ToPane } | ||
|
||
{ #category : #'*Toplo-Serialization' } | ||
ToPane >> shouldSerializedChildren [ | ||
|
||
^ self class == ToPane | ||
] |