The Trunk: Protocols-mt.80.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Protocols-mt.80.mcz

commits-2
Marcel Taeumel uploaded a new version of Protocols to project The Trunk:
http://source.squeak.org/trunk/Protocols-mt.80.mcz

==================== Summary ====================

Name: Protocols-mt.80
Author: mt
Time: 17 March 2021, 3:33:50.195151 pm
UUID: a6762782-16e2-2a4f-aa74-7f7b3eb2080e
Ancestors: Protocols-mt.79

Try again to separate EToys-specific stuff from PointType.

Complements EToys-mt.435

=============== Diff against Protocols-mt.79 ===============

Item was removed:
- ----- Method: PointType>>addExtraItemsToMenu:forSlotSymbol: (in category 'defaults') -----
- addExtraItemsToMenu: aMenu forSlotSymbol: slotSym
- "If the receiver has extra menu items to add to the slot menu, here is its chance to do it.  The defaultTarget of the menu is the player concerned."
-
- aMenu add: 'decimal places...' translated selector: #setPrecisionFor: argument: slotSym.
- aMenu balloonTextForLastItem: 'Lets you choose how many decimal places should be shown in readouts for this variable' translated!

Item was removed:
- ----- Method: PointType>>defaultArgumentTile (in category 'defaults') -----
- defaultArgumentTile
- "Answer a tile to represent the type"
-
- ^ (0@0) newTileMorphRepresentative typeColor: self typeColor!

Item was removed:
- ----- Method: PointType>>newReadoutTile (in category 'tiles') -----
- newReadoutTile
- "Answer a tile that can serve as a readout for data of this type"
-
- | aTile |
- aTile := NumericReadoutTile new typeColor: Color lightGray lighter.
- aTile setProperty: #PointValued toValue: true.
- ^ aTile!

Item was removed:
- ----- Method: PointType>>wantsArrowsOnTiles (in category 'defaults') -----
- wantsArrowsOnTiles
- "Answer whether this data type wants up/down arrows on tiles representing its values"
-
- ^ false!

Item was removed:
- ----- Method: PointType>>wantsAssignmentTileVariants (in category 'tiles') -----
- wantsAssignmentTileVariants
- "Answer whether an assignment tile for a variable of this type should show variants to increase-by, decrease-by, multiply-by."
-
- ^ true!

Item was removed:
- ----- Method: PointType>>wantsSuffixArrow (in category 'defaults') -----
- wantsSuffixArrow
- "Answer whether a tile showing data of this type would like to have a suffix arrow"
-
- ^ true!