public interface FolderRenameHandler
This handler is used by DataFolder.FolderNode.setName() method.
FolderNode.setName() uses Lookup.getDefault() to lookup for instances of
FolderRenameHandler. If there is one instance found, it's handleRename(...)
method is called to handle rename request. More than one instance of
FolderRenameHandler is not allowed.
void handleRename(DataFolder folder,
folder - on this folder rename was requested
newName - new name of folder
IllegalArgumentException - thrown if rename cannot be performed