[Pkg] The Trunk: Tools-mt.568.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 31 09:58:13 UTC 2015


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.568.mcz

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

Name: Tools-mt.568
Author: mt
Time: 31 March 2015, 11:57:54.177 am
UUID: 852a3dac-ba3b-9e42-9bf1-937c81eea6e0
Ancestors: Tools-mt.567

Help message added to object explorer code pane.

=============== Diff against Tools-mt.567 ===============

Item was changed:
  ----- Method: ObjectExplorer>>buildWith: (in category 'toolbuilder') -----
  buildWith: builder
  
  	| windowSpec treeSpec textSpec |
  	windowSpec := builder pluggableWindowSpec new.
  	windowSpec
  		model: self;
  		children: OrderedCollection new;
  		label: #label.
  
  	treeSpec := builder pluggableTreeSpec new.
  	treeSpec
  		model: self;
  		nodeClass: self class nodeClass;
  		roots: #getList;
  		keyPress: #explorerKey:from:event:;
  		getSelected: #currentSelection;
  		setSelected: #currentSelection:;
  		setSelectedParent: #currentParent:;
  		menu: #genericMenu:;
  		autoDeselect: false;
  		columns: (ObjectExplorerWrapper showContentsInColumns
  			ifTrue: [{
  				[:listMorph | (listMorph scroller submorphs collect: [:item |
  					item preferredWidthOfColumn: 1]) max].
  				nil "take all the space"}]
  			ifFalse: []);
  		frame: (0 at 0 corner: 1 at 0.85).
  	windowSpec children add: treeSpec.
  
  	textSpec := builder pluggableTextSpec new.
  	textSpec
  		model: self;
  		menu: #codePaneMenu:shifted:;
+ 		help: 'Evaluate expressions for the current tree selection...' translated;
  		frame: (0 at 0.85 corner: 1 at 1).
  	windowSpec children add: textSpec.
  
  	^ builder build: windowSpec!



More information about the Packages mailing list