The Trunk: Morphic-mt.1254.mcz

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

The Trunk: Morphic-mt.1254.mcz

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

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

Name: Morphic-mt.1254
Author: mt
Time: 10 August 2016, 3:49:06.111966 pm
UUID: b5cc5391-432d-b24c-9685-d14157f9b77c
Ancestors: Morphic-mt.1253

Also provide more control about automatic list filter clearing for pluggable lists. Needed for ListChooser if preference is globally enabled.

=============== Diff against Morphic-mt.1253 ===============

Item was added:
+ ----- Method: PluggableListMorph>>clearFilterAutomatically (in category 'accessing') -----
+ clearFilterAutomatically
+
+ ^ (self valueOfProperty: #clearFilterAutomatically ifAbsent: [true]) and: [self class clearFilterAutomatically]!

Item was added:
+ ----- Method: PluggableListMorph>>clearFilterAutomatically: (in category 'accessing') -----
+ clearFilterAutomatically: aBoolean
+ self setProperty: #clearFilterAutomatically toValue: aBoolean.!

Item was changed:
  ----- Method: PluggableListMorph>>keyboardFocusChange: (in category 'event handling') -----
  keyboardFocusChange: aBoolean
  "The message is sent to a morph when its keyboard focus changes.
  The given argument indicates that the receiver is gaining (versus losing) the keyboard focus.
  In this case, all we need to do is to redraw border feedback"
  aBoolean ifFalse: [
  self hoverRow: nil.
+ self clearFilterAutomatically ifTrue:
- self class clearFilterAutomatically ifTrue:
  [ self hasFilter ifTrue:
  [ self
  removeFilter ;
  updateList ] ] ].
 
  super keyboardFocusChange: aBoolean.!