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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RenameResourceWizard.RenameResourceRefactoringConfigurationPage
-
Field Summary
-
Fields inherited from class org.eclipse.ltk.ui.refactoring.RefactoringWizard
CHECK_INITIAL_CONDITIONS_ON_OPEN, DIALOG_BASED_UESR_INTERFACE, DIALOG_BASED_USER_INTERFACE, NO_BACK_BUTTON_ON_STATUS_DIALOG, NO_PREVIEW_PAGE, NONE, PREVIEW_EXPAND_FIRST_NODE, SHOW_HELP_CONTROL, WIZARD_BASED_USER_INTERFACE, YES_NO_BUTTON_STYLE
-
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
-
-
Constructor Summary
Constructors Constructor Description RenameResourceWizard(IResource resource)
Creates aRenameResourceWizard
.RenameResourceWizard(IResource resource, String newName)
Creates aRenameResourceWizard
with the new resource's name set to newName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addUserInputPages()
Hook method to add user input pages to this refactoring wizard.protected IRenameResourceProcessor
getProcessor()
-
Methods inherited from class org.eclipse.ltk.ui.refactoring.RefactoringWizard
addPage, addPages, canFinish, getChange, getDefaultPageTitle, getMessageLineWidthInChars, getPreviousPage, getRefactoring, getRefactoringContext, getStartingPage, getWizardFlags, internalCreateChange, internalGetExpandFirstNode, internalHasPreviewPage, internalIsYesNoStyle, internalPerformFinish, internalSetChange, internalSetPreviewShown, internalShowBackButtonOnStatusDialog, performCancel, performFinish, setChangeCreationCancelable, setDefaultPageTitle, setForcePreviewReview, setHelpAvailable, setInitialComputationContext, setInitialConditionCheckingStatus
-
Methods inherited from class org.eclipse.jface.wizard.Wizard
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getShell, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
-
-
-
-
Constructor Detail
-
RenameResourceWizard
public RenameResourceWizard(IResource resource)
Creates aRenameResourceWizard
.- Parameters:
resource
- the resource to rename. The resource must exist.
-
RenameResourceWizard
public RenameResourceWizard(IResource resource, String newName)
Creates aRenameResourceWizard
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 Detail
-
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 typeUserInputWizardPage
. Adding pages of a different kind is not permitted and will result in unexpected behavior.- Specified by:
addUserInputPages
in classRefactoringWizard
-
getProcessor
protected IRenameResourceProcessor getProcessor()
- Returns:
- the IRenameResourceProcessor used by this wizard
- Since:
- 3.11
-
-