The Trunk: System-ar.215.mcz

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

The Trunk: System-ar.215.mcz

commits-2
Andreas Raab uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ar.215.mcz

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

Name: System-ar.215
Author: ar
Time: 2 January 2010, 11:58:38 am
UUID: df1e6d6a-aa1b-684e-a45e-1f3376185a67
Ancestors: System-ar.214

Remove Preference>>viewRegistry which is no longer used.

=============== Diff against System-ar.214 ===============

Item was changed:
  Object subclass: #Preference
+ instanceVariableNames: 'name value defaultValue helpString localToProject categoryList changeInformee changeSelector type'
- instanceVariableNames: 'name value defaultValue helpString localToProject categoryList changeInformee changeSelector viewRegistry type'
  classVariableNames: ''
  poolDictionaries: ''
  category: 'System-Preferences'!
 
  !Preference commentStamp: '<historical>' prior: 0!
  Represents a true/false flag that is under user control and which can be interrogated by a call to Preferences
  viewRegistry the registry of the classes responsible for building my view
  name a symbol, the formal name of the preference.
  value a boolean, the current value
  defaultValue the default value of the preference
  helpString string or text, constituting the help message
  localToProject boolean, whether each project holds its own version
  categoryList list of categories under which to offer this
  changeInformee whom, if anyone, to inform if the value changes:
  changeSelector what selector to send to the changeInformee when the value changes!

Item was changed:
  ----- Method: Preference>>type (in category 'accessing') -----
  type
  "The type of this preference. One of #Boolean, #Color, #String, #Font, #Number etc."
+ ^type!
- ^type ifNil:[
- "For migration away from storing preference registries here"
- type := PreferenceViewRegistry typeOfRegistry: viewRegistry].!

Item was removed:
- ----- Method: Preference class>>initialize (in category 'class initialization') -----
- initialize
- "Ensure that all preferences have their type set correctly before removing viewRegistry"
- self allSubInstancesDo:[:pref| pref type].
- !