Renaming Moving Deleting and Copy-Pasting Elements

Changes that affect the structure of a project, but not its behavior, are known as project refactoring changes. Refactoring ensures that the project structure remains self-consistent.

Copy-paste operations are not strictly speaking refactoring operations. However, some refactoring is also done to support these operations, so they are included here.

Note: You can copy items from one project to other projects in the workspace. Ensure that the items are suitable for their destination projects.

Moving, renaming, deleting, or copy-pasting project elements are changes that often affect other parts of a TIBCO BusinessEvents Studio project. Names of elements, element properties, and element locations, are referenced in various parts of a project such as rules, rule functions, and concept relationship properties.

When you make changes to a project element, all references to that element must be updated accordingly. The refactoring wizard has a preview page that enables you to review all these changes (see Working with the Preview Page).

This section explains the refactoring procedures. See Automatic Refactoring Actions and Limitations to understand what TIBCO BusinessEvents does for each type of refactoring operation.

Updating All References

To ensure the integrity of the project, ensure that you make all changes to all locations where a renamed or moved items is referenced. Disable such changes only if you are certain there are no references to the element, or there are unusual circumstances that justify such action.

Tip: Eclipse Tips
To Undo Changes
 You can undo additions or deletions in a project. Click Edit > Undo or press Ctrl+Z.
To Revert to an Earlier Version or Restore a Deleted Resource
Using  Eclipse you can compare your work with local history and to revert to any earlier saved version (not just the last saved version). Right-click a resource in BusinessEvents Studio Explorer and select Compare With > Local History or Replace With > Local History. Also, if you right-click a folder and select Restore From Local History you can restore items deleted from that folder.

Project Level Actions

You can rename a project (select File > Rename) and you can copy and paste a project. However, you cannot move a project.