Removing method examples
When your application is removed from a VA Smalltalk developer's image, you might want to remove your parts from the palette, remove pool dictionaries, and unregister any message files you registered. To do these things, you create a removing method.
Removing parts from the palette
When your application is removed, the parts you added to the parts palette are no longer available. When this happens, update the parts palette, so a VA Smalltalk developer won't try to use parts that are not available.
removing
"Remove parts from the parts palette"
self abtRemovePartsFromCatalog
The method abtRemovePartsFromCatalog will work properly if you have implemented abtPaletteCategoryName, and abtPaletteParts. If you added your parts to the palette using the code in Loaded method examples, then you have already implemented these methods.
Unregistering message files
When your application is removed, unregister any message files that you registered, if they are not needed by other applications.
removing
"Unregister a message file"
self abtUnregisterExternalStrings.
Like abtRegisterExternalStrings, abtUnregisterExternalStrings uses the information provided in class method abtExternalizedStringBuildingInfo to process the correct message file.
Last modified date: 01/29/2015