Renaming a Program Element

To rename a program element:

  1. Select the program element in a browser.
  2. From the element's pop-up menu, select Reorganize, Rename.
  3. Provide a new name.

The element's name will be changed and it will be compiled.  Renaming program elements often introduces problems, since subclasses and method signatures that use the class still look for the old name.  Click the All Problems tab in the Workbench to see the problems caused by renaming the program element.

tentergf.gif (577 bytes) You can rename a program element only in a scratch or open edition of the element.

ngrelc.gif (533 bytes)
Projects and Other Program Elements

ngrelt.gif (466 bytes)
Copying or Moving a Program Element
tentergf.gif (577 bytes) Creating an Open Edition
Finding and Fixing Problems
Searching for Declarations of and References to a Program Element