The Trunk: ToolBuilder-Kernel-mt.82.mcz

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

The Trunk: ToolBuilder-Kernel-mt.82.mcz

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

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

Name: ToolBuilder-Kernel-mt.82
Author: mt
Time: 24 April 2015, 10:49:36.671 am
UUID: a435e90f-ef9b-8743-ab82-99cdf5cc8aeb
Ancestors: ToolBuilder-Kernel-mt.81

Added layout hints to toolbuilder specs.

=============== Diff against ToolBuilder-Kernel-mt.81 ===============

Item was changed:
  ToolBuilderSpec subclass: #PluggableWidgetSpec
+ instanceVariableNames: 'model frame color minimumExtent'
- instanceVariableNames: 'model frame color'
  classVariableNames: ''
  poolDictionaries: ''
  category: 'ToolBuilder-Kernel'!
 
  !PluggableWidgetSpec commentStamp: 'ar 2/9/2005 18:40' prior: 0!
  The abstract superclass for all widgets.
 
  Instance variables:
  model <Object> The object the various requests should be directed to.
  frame <Rectangle> The associated layout frame for this object (if any).
  !

Item was added:
+ ----- Method: PluggableWidgetSpec>>minimumExtent (in category 'layout hints') -----
+ minimumExtent
+
+ ^ minimumExtent ifNil: [-1 @ -1]!

Item was added:
+ ----- Method: PluggableWidgetSpec>>minimumExtent: (in category 'layout hints') -----
+ minimumExtent: aPoint
+
+ minimumExtent := aPoint.!

Item was added:
+ ----- Method: PluggableWidgetSpec>>minimumHeight (in category 'layout hints') -----
+ minimumHeight
+
+ ^ self minimumExtent y!

Item was added:
+ ----- Method: PluggableWidgetSpec>>minimumHeight: (in category 'layout hints') -----
+ minimumHeight: aNumber
+
+ self minimumExtent: self minimumExtent x @ aNumber.!

Item was added:
+ ----- Method: PluggableWidgetSpec>>minimumWidth (in category 'layout hints') -----
+ minimumWidth
+
+ ^ self minimumExtent x!

Item was added:
+ ----- Method: PluggableWidgetSpec>>minimumWidth: (in category 'layout hints') -----
+ minimumWidth: aNumber
+
+ self minimumExtent: aNumber @ self minimumExtent y.!