protected void invokeRefactoring(BaseRefactoringProcessor processor) { final Runnable prepareSuccessfulCallback = new Runnable() { public void run() { close(DialogWrapper.OK_EXIT_CODE); } }; processor.setPrepareSuccessfulSwingThreadCallback(prepareSuccessfulCallback); processor.setPreviewUsages(false); processor.run(); }
public void doRun() { prepareRenaming(myPrimaryElement, myNewName, myAllRenames); super.doRun(); }