1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Missing piece of the previous commit.

This commit is contained in:
Sergey Prigogin 2012-03-03 19:17:13 -08:00
parent 17b63147ee
commit 1392741dce

View file

@ -57,12 +57,12 @@ public abstract class CRefactoringDescriptor extends RefactoringDescriptor {
@Override @Override
public abstract CRefactoring createRefactoring(RefactoringStatus status) throws CoreException; public abstract CRefactoring createRefactoring(RefactoringStatus status) throws CoreException;
public CRefactoringContext createRefactoringContext(RefactoringStatus status) throws CoreException { // public CRefactoringContext createRefactoringContext(RefactoringStatus status) throws CoreException {
CRefactoring refactoring= createRefactoring(status); // CRefactoring refactoring= createRefactoring(status);
if (refactoring == null) // if (refactoring == null)
return null; // return null;
return new CRefactoringContext(refactoring); // return new CRefactoringContext(refactoring);
} // }
protected ISelection getSelection() throws CoreException { protected ISelection getSelection() throws CoreException {
ISelection selection; ISelection selection;