Portlet Factory, Version 6.1.2


 

Renaming a builder or profile entry

You can rename builders and profile entries and, in some cases, you can edit their definitions as well. You do this from the Outline after opening a model or profile set in either the Project Explorer or the Model Navigator.

Another point to consider before renaming a builder or profile entry is this: In reconciling references, the renaming process internally performs a simple text search for those references. If, for example, you have a builder named Page2 and another named Page20, and you rename Page2 to Pagex, references to both Page2 and Page20 will be found. In order to weed out references to Page20, you need to preview the changes that the renaming would make (by clicking >Next), deselecting the items that you do not want to change.

To rename a profile entry or builder call, follow these steps:

  1. Display the Outline window:

    1. Choose Window > Show View > Other.

    2. Choose General > Outline.

    3. Click OK.

  2. Open the model containing the builder that you want to rename (or the profile set whose profile entry you want to rename) by right clicking on the model (or profile set) in the Project Explorer or Model Navigator tree and clicking Open in the resulting popup. Opening the model (or profile set) populates the Outline.

  3. Right click the item in the Outline that you want to rename, and then select Rename from the resulting popup.

  4. Enter the new name in the Rename builder call (or Rename profile entry) dialog.

  5. If the Next button is enabled, click it to display a list of the changes that will occur if you rename the selected item. In some cases, the renaming will affect multiple resources. These resources are listed in the Rename screen. You can elect not to update one or more of the resources in the list but to update the others, though typically you would not do this.

  6. Click Finish to complete the renaming, or click Cancel to cancel the renaming.

Parent topic: Refactoring


Library | Support |