e05e3a65c3293768466fa1c9b2da7c22d86469c9
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ltk / core / RenamePropertyRefactoring.java
1 // Copyright (c) 2005 by Leif Frenzel. All rights reserved.
2 // See http://leiffrenzel.de
3 // modified for phpeclipse.de project by axelcl
4 package net.sourceforge.phpdt.ltk.core;
5
6 import org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring;
7 import org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor;
8
9 /** <p>Refactoring for renaming properties in Java Properties files.</p>
10   *
11   * <p>All the actual work is done in the processor, so we just have to
12   * keep a reference to one here.<p>
13   *
14   * @author Leif Frenzel
15   */
16 public class RenamePropertyRefactoring extends ProcessorBasedRefactoring {
17
18   private final RefactoringProcessor processor;
19
20   public RenamePropertyRefactoring( final RefactoringProcessor processor ) {
21     super( processor );
22     this.processor = processor;
23   }
24
25
26   // interface methods of ProcessorBasedRefactoring
27   /////////////////////////////////////////////////
28
29   public RefactoringProcessor getProcessor() {
30     return processor;
31   }
32 }