User's Guide

Example: Specifying the class and selector to be run

To run the class method initialize contained in the class Object after an image component loads, you use the following statements:

"Run the method initialize contained in the class Object after a file loads."
| result |
(result := ApplicationDumper new)
   ...
   startupClass: Object selector: #initialize;
   ...
   dumpIntoFileNamed: 'startup.ic' path: '.' using: ComponentMaps.
   ...


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]