Mantis - Squeak
Viewing Issue Advanced Details
7560 Documentation minor always 09-04-10 07:47 09-04-10 14:46
hirzel  
casey  
normal  
assigned trunk  
open  
none    
none  
0007560: Monticello-Base - class comments and examples
In the Monticello package
Monticello-Base contains the three classes

MCDefinition
MCPackage
MCSnapshots

All class comments are empty.
What is the relationship between MCPackage and PackageInfo.

What does
   MCDefinition clearInstances.
do? (Found in FunSqueak http://ftp.squeak.org/Experiments/FunSqueakCog4.2-10423-alpha.3.zip [^] for example in a top level workspace)

Are there more examples of important calls to these classes?

Notes
(0013849)
hirzel   
09-04-10 07:49   
Oops, version should be 'trunk' and category 'Documentation'.
(0013851)
hirzel   
09-04-10 13:19   
MCWorkingCopy allManagers collect: #package

gives an Array of MCPackage instances.

MCWorkingCopy is a subclass of MCPackageManager.
(0013852)
hirzel   
09-04-10 13:25   
What is the relationship between MCPackage and PackageInfo?

MCPackage>>packageInfo asks the class PackageInfo for the corresponding PackageInfo instance. The class PackageInfo asks the PackageOrganizer default instance to get it.
(0013853)
hirzel   
09-04-10 14:46   
It seems that instances of class MCPackage may have an instance of class MCPackageManager associated with them.