[Pkg] The Trunk: ToolBuilder-Morphic-cmm.98.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 10 22:07:16 UTC 2015


Chris Muller uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-cmm.98.mcz

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

Name: ToolBuilder-Morphic-cmm.98
Author: cmm
Time: 10 March 2015, 5:04:25.508 pm
UUID: 88500923-b28a-44b7-929a-9c31485f28ea
Ancestors: ToolBuilder-Morphic-mt.97

- Introduce "Filterable Lists by labels only" option for hierarchical list filtering so that collections of objects can easily be "collected".
- Default the "Maximum tree search depth" to 1 for performance, safety and so that the default behavior of this feature is as a navigation tool rather than like a search-engine tool.

=============== Diff against ToolBuilder-Morphic-mt.97 ===============

Item was changed:
  SimpleHierarchicalListMorph subclass: #PluggableTreeMorph
  	instanceVariableNames: 'rootWrappers selectedWrapper getRootsSelector getChildrenSelector hasChildrenSelector getLabelSelector getIconSelector getSelectedPathSelector setSelectedParentSelector getHelpSelector dropItemSelector wantsDropSelector dragItemSelector nodeClass lastKeystrokeTime lastKeystrokes'
+ 	classVariableNames: 'FilterByLabelsOnly MaximumSearchDepth'
- 	classVariableNames: 'MaximumSearchDepth'
  	poolDictionaries: ''
  	category: 'ToolBuilder-Morphic'!
  
  !PluggableTreeMorph commentStamp: 'ar 2/12/2005 04:38' prior: 0!
  A pluggable tree morph.!

Item was added:
+ ----- Method: PluggableTreeMorph class>>filterByLabelsOnly (in category 'preferences') -----
+ filterByLabelsOnly
+ 	<preference: 'Filterable Lists by labels only'
+ 		category: 'scrolling'
+ 		description: 'When using the Filterable Lists option, set this to only match the labels, not the contents, of hierarchical lists.  Otherwise, search both labels and contents will be matched.'
+ 		type: #Boolean>
+ 	^ FilterByLabelsOnly ifNil: [ false ]!

Item was added:
+ ----- Method: PluggableTreeMorph class>>filterByLabelsOnly: (in category 'preferences') -----
+ filterByLabelsOnly: aBoolean
+ 	FilterByLabelsOnly := aBoolean!

Item was changed:
  ----- Method: PluggableTreeMorph class>>maximumSearchDepth (in category 'preferences') -----
  maximumSearchDepth
- 
  	<preference: 'Maximum tree search depth'
  		category: 'scrolling'
+ 		description: 'When using the Filterable Lists option, this specifies the maximum depth that will be searched below the current selection in of the hierarchy.'
- 		description: 'When list filtering is active, this will determine the maximum depth where items should be searched for in a tree.'
  		type: #Number>
+ 	^ MaximumSearchDepth ifNil: [ 1 ]!
- 	^ MaximumSearchDepth ifNil: [ 3 ]!



More information about the Packages mailing list