MainWindow.getInstance().setTab(Tab.SEARCH);
SystemFacade.getInstance().search(iterator);
}
public void refactorClassName(String oldClassName, String newClassName) {
RefactoringAdvisor advisor = new RefactorClassNameAdvisor(oldClassName, newClassName);
AbstractIteratorAgent iterator = new RefactoringIterator(advisor, false);
iterator.setProgressMonitor(SystemFacade.getInstance()
.getProgressMonitor());
ProjectIterator.iterate(this.openProject, iterator);
}