The Trunk: Tools-laza.197.mcz

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

The Trunk: Tools-laza.197.mcz

commits-2
Alexander Lazarević uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-laza.197.mcz

==================== 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"
  ^panelSpec!

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