I am trying to do some major refactorings using RefactoringFactory.createRename
I am operating on a large number of classes so I would like to do this in a batch mode with no user interaction.
I rename and then move each of these classes. I have come across a couple of problems:
When I invoke the rename action the editor pops up a preview-dialog asking me to confirm the refactoring.
When I confirm the refactoring the editor pops up a dialog stating that classes have changed since usages was found and asks if I would like to perform the usage search again.
My questions are:
1) Is there a way to perform my refactorings in batch mode without getting the preview pop-up?
2) Is there a way for me to 'commit' the changes for the rename refactoring before I perform the move refactoring so that I avoid the pop-up regarding outdated usage search?