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

Deprecated CRefactoring and RefactoringRunner.

This commit is contained in:
Sergey Prigogin 2011-04-18 17:47:09 +00:00
parent 9bcc2f85f4
commit d2c5fd1e86
2 changed files with 5 additions and 0 deletions

View file

@ -57,7 +57,9 @@ import org.eclipse.cdt.internal.ui.refactoring.utils.SelectionHelper;
/** /**
* The base class for all other refactorings, provides some common implementations for * The base class for all other refactorings, provides some common implementations for
* condition checking, change generating, selection handling and translation unit loading. * condition checking, change generating, selection handling and translation unit loading.
* @deprecated Use CRefactoring2.
*/ */
@Deprecated
public abstract class CRefactoring extends Refactoring { public abstract class CRefactoring extends Refactoring {
private static final int AST_STYLE = private static final int AST_STYLE =
ITranslationUnit.AST_CONFIGURE_USING_SOURCE_CONTEXT | ITranslationUnit.AST_SKIP_INDEXED_HEADERS; ITranslationUnit.AST_CONFIGURE_USING_SOURCE_CONTEXT | ITranslationUnit.AST_SKIP_INDEXED_HEADERS;

View file

@ -21,8 +21,11 @@ import org.eclipse.cdt.core.model.ICProject;
/** /**
* Base class for all refactoring runners. * Base class for all refactoring runners.
* *
* @deprecated Use RfactoringRunner2.
*
* @author Emanuel Graf * @author Emanuel Graf
*/ */
@Deprecated
public abstract class RefactoringRunner { public abstract class RefactoringRunner {
protected IFile file; protected IFile file;
protected ISelection selection; protected ISelection selection;