Objects in the workbench such as files, messages and elements can have different physical representations. Eclipse handles renaming differently depending on the object.
Where an object can be renamed the usual way in which to do it is as follows:
Switch to the Enterprise Service Tools perspective.
In the Outline view, right-click the object that you want to rename then click Rename. Alternatively, right-click the object in the flow message editor Overview tab then click Rename on the pop-up menu. In both cases, depending on the object, either a renaming window opens or you will now be able to edit the name of the object directly.
Type the new name for the object.
If the renaming window is open, either press Enter or click OK.