public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException, OperationCanceledException {
return new RefactoringStatus();
}
protected RefactoringDescriptor createRefactoringDescriptor() {
RenamePHPElementDescriptor descriptor = new RenamePHPElementDescriptor(getRefactoringId());
if (cu.getScriptProject() != null) {
descriptor.setProject(cu.getScriptProject().getElementName());
}
descriptor.setFlags(RefactoringDescriptor.NONE);
descriptor.setModelElement(modelElement);
descriptor.setNewName(getNewElementName());
descriptor.setUpdateReferences(updateReferences);
return descriptor;
}