public class BatchRenameAction extends SelectedFilesAction {
public BatchRenameAction(MainFrame mainFrame, Map<String,Object> properties) {
super(mainFrame, properties);
setSelectedFileFilter(new OrFileFilter(
new FileOperationFilter(FileOperation.RENAME),
new AndFileFilter(
new FileOperationFilter(FileOperation.READ_FILE),
new FileOperationFilter(FileOperation.WRITE_FILE)
)