Class RenameResourceWizard

java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.ltk.ui.refactoring.RefactoringWizard
org.eclipse.ltk.ui.refactoring.resource.RenameResourceWizard
All Implemented Interfaces:
IShellProvider, IWizard

public class RenameResourceWizard extends RefactoringWizard
A wizard for the rename resource refactoring.
Since:
3.4
  • Constructor Details

    • RenameResourceWizard

      public RenameResourceWizard(IResource resource)
      Parameters:
      resource - the resource to rename. The resource must exist.
    • RenameResourceWizard

      public RenameResourceWizard(IResource resource, String newName)
      Creates a RenameResourceWizard with the new resource's name set to newName.
      Parameters:
      resource - the resource to rename. The resource must exist.
      newName - The new name to give the resource.
      Since:
      3.10
  • Method Details

    • addUserInputPages

      protected void addUserInputPages()
      Description copied from class: RefactoringWizard
      Hook method to add user input pages to this refactoring wizard. Pages added via this call have to be instances of the type UserInputWizardPage. Adding pages of a different kind is not permitted and will result in unexpected behavior.
      Specified by:
      addUserInputPages in class RefactoringWizard
    • getProcessor

      protected IRenameResourceProcessor getProcessor()
      Returns:
      the IRenameResourceProcessor used by this wizard
      Since:
      3.11