private boolean renameTo(final File target)
{
File original = file.getAbsoluteFile();
if (file.renameTo(target))
{
resourceFactory.fireEvent(new ResourceRenamed(this, original.getAbsolutePath(), file.getAbsolutePath()));
return true;
}
return false;
}