How Do I...

Deleting parts completely

Deleting parts in the VisualAge Organizer window No tip for this topic No example for this topic Retrieving deleted parts

Even after you delete a part, VisualAge might display a message indicating that instances of the part still exist.

If you get this message, do the following to delete all instances of the part:

  1. Go to the System Transcript window. (In the VisualAge Organizer window, select System Transcript from the Window menu.)
  2. Type the following Smalltalk code into the System Transcript's text pane, supplying the part's name for <part name>:
    <part name> allInstances do: [ : ea |
      ea become: nil ]
     
    
  3. From the Edit menu, select Execute.

The code, when executed, sets all instances of the part to nil. After executing the code, delete the part.

For extensive information on deleting parts and on retrieving deleted parts, refer to the following:


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