Setting the image startUp class
ENVY/App can initialize the startUp class for an image when an image component loads. You specify the class when creating an image component using the startUpClass: method.
Note:
Prior to executing the code in any of these examples, load packaging instructions and create an instance of EaComponentMapManager called ComponentMaps by executing Step 1 of Example: Unloading an application and its subapplications.
The following code fragment shows how to set a startUp class to, for example, EsWindowSystemStartUp when creating an image component:
"Step 2: Set the startUp class for startup.ic."
| result |
(result := ApplicationDumper new)
...
startUpClass: EsWindowSystemStartUp;
...
dumpIntoFileNamed: 'startup.ic' path: '.' using: ComponentMaps.
...
Last modified date: 01/29/2015