01: /**
02: *
03: */package core;
04:
05: import org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring;
06: import org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor;
07:
08: /** <p>Needed for all kind of Refactorings.</p>
09: *
10: * <p>All the actual work is done in the processor, so we just have to
11: * keep a reference to one here.<p>
12: *
13: * @author sh
14: */
15: public class RenameProcessorHolder extends ProcessorBasedRefactoring {
16:
17: private final RefactoringProcessor processor;
18:
19: public RenameProcessorHolder(final RefactoringProcessor processor) {
20: super (processor);
21: this .processor = processor;
22: }
23:
24: /**
25: * interface methods of ProcessorBasedRefactoring
26: */
27: public RefactoringProcessor getProcessor() {
28: return processor;
29: }
30: }
|