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
A wizard for the rename resource refactoring.
- Since:
- 3.4
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
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
ConstructorDescriptionRenameResourceWizard
(IResource resource) Creates aRenameResourceWizard
.RenameResourceWizard
(IResource resource, String newName) Creates aRenameResourceWizard
with the new resource's name set to newName. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Hook method to add user input pages to this refactoring wizard.protected IRenameResourceProcessor
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, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getShell, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
-
Constructor Details
-
RenameResourceWizard
Creates aRenameResourceWizard
.- Parameters:
resource
- the resource to rename. The resource must exist.
-
RenameResourceWizard
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 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 typeUserInputWizardPage
. Adding pages of a different kind is not permitted and will result in unexpected behavior.- Specified by:
addUserInputPages
in classRefactoringWizard
-
getProcessor
- Returns:
- the IRenameResourceProcessor used by this wizard
- Since:
- 3.11
-