Allows the user to edit the name of a file.
When the method is called, the first selected item is put into edit mode. The file will be renamed when the item loses focus or when the Escape button is pressed, in which case the rename operation is abandoned.
This method emulates a click on the 'rename' menu-item.