[Pkg] The Trunk: Tools-laza.197.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 2 08:39:28 UTC 2010

Alexander Lazarević uploaded a new version of Tools to project The Trunk:

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

Name: Tools-laza.197
Author: laza
Time: 2 March 2010, 9:38:57.497 am
UUID: daad2fed-9081-1e4d-9d3f-2dc663758af6
Ancestors: Tools-dtl.196

Removed the source button from the debugger, because any selection (but tiles -> error) only showed an emtpy code pane.

=============== Diff against Tools-dtl.196 ===============

Item was added:
+ ----- Method: Debugger>>addCodeProvenanceButtonTo:using: (in category 'toolbuilder') -----
+ addCodeProvenanceButtonTo: panelSpec using: builder
+ 	"No thanks!!"!

Item was changed:
  ----- Method: CodeHolder>>buildOptionalButtonsWith: (in category 'toolbuilder') -----
  buildOptionalButtonsWith: builder
  	| panelSpec |
  	panelSpec := builder pluggablePanelSpec new.
  	panelSpec children: OrderedCollection new.
  	self optionalButtonPairs do:[:spec|
  		| buttonSpec |
  		buttonSpec := builder pluggableActionButtonSpec new.
  		buttonSpec model: self.
  		buttonSpec label: spec first.
  		buttonSpec action: spec second.
  		spec second == #methodHierarchy ifTrue:[
  			buttonSpec color: #inheritanceButtonColor.
  		spec size > 2 ifTrue:[buttonSpec help: spec third].
  		panelSpec children add: buttonSpec.
  	"What to show"
+ 	self addCodeProvenanceButtonTo: panelSpec using: builder.
- 	panelSpec children add: (self buildCodeProvenanceButtonWith: builder).
  	panelSpec layout: #horizontal. "buttons"

Item was added:
+ ----- Method: CodeHolder>>addCodeProvenanceButtonTo:using: (in category 'toolbuilder') -----
+ addCodeProvenanceButtonTo: panelSpec using: builder
+ 	panelSpec children add: (self buildCodeProvenanceButtonWith: builder)!

More information about the Packages mailing list