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
), deselecting the items that you do not want to change.
To rename a profile entry or builder call, follow these steps:
- Display the Outline window:
- Choose Window -> Show View -> Other.
- Choose General -> Outline.
- Click OK.
- 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.
- Right click the item in the Outline that you want to rename, and then select Rename from the resulting popup.
- Enter the new name in the Rename builder call (or Rename profile entry) dialog.
- 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.
- Click Finish to complete the renaming, or click Cancel to cancel the renaming.
Parent topic: Working with IBM WebSphere Portlet Factory projects: wpf7