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:
parent
17b63147ee
commit
1392741dce
1 changed files with 6 additions and 6 deletions
|
@ -57,12 +57,12 @@ public abstract class CRefactoringDescriptor extends RefactoringDescriptor {
|
|||
@Override
|
||||
public abstract CRefactoring createRefactoring(RefactoringStatus status) throws CoreException;
|
||||
|
||||
public CRefactoringContext createRefactoringContext(RefactoringStatus status) throws CoreException {
|
||||
CRefactoring refactoring= createRefactoring(status);
|
||||
if (refactoring == null)
|
||||
return null;
|
||||
return new CRefactoringContext(refactoring);
|
||||
}
|
||||
// public CRefactoringContext createRefactoringContext(RefactoringStatus status) throws CoreException {
|
||||
// CRefactoring refactoring= createRefactoring(status);
|
||||
// if (refactoring == null)
|
||||
// return null;
|
||||
// return new CRefactoringContext(refactoring);
|
||||
// }
|
||||
|
||||
protected ISelection getSelection() throws CoreException {
|
||||
ISelection selection;
|
||||
|
|
Loading…
Add table
Reference in a new issue