The Trunk: Tools-mt.618.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-mt.618.mcz

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

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

Name: Tools-mt.618
Author: mt
Time: 3 May 2015, 3:21:02.561 pm
UUID: 8343c92d-b4ef-8d4c-9602-3054a12f5ee9
Ancestors: Tools-mt.617

Add a small spacer in front of the "code provenance button" in the optional button pane in code holders.

=============== Diff against Tools-mt.617 ===============

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"
+ panelSpec children add: builder pluggableSpacerSpec new.
  self addCodeProvenanceButtonTo: panelSpec using: builder.
 
  panelSpec layout: #horizontal. "buttons"
  ^panelSpec!