Class RenameResourceWizard.RenameResourceRefactoringConfigurationPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.eclipse.ltk.ui.refactoring.RefactoringWizardPage
-
- org.eclipse.ltk.ui.refactoring.UserInputWizardPage
-
- org.eclipse.ltk.ui.refactoring.resource.RenameResourceWizard.RenameResourceRefactoringConfigurationPage
-
- All Implemented Interfaces:
IDialogPage,IMessageProvider,IWizardPage
- Enclosing class:
- RenameResourceWizard
public static class RenameResourceWizard.RenameResourceRefactoringConfigurationPage extends UserInputWizardPage
- Since:
- 3.11
-
-
Field Summary
-
Fields inherited from class org.eclipse.ltk.ui.refactoring.RefactoringWizardPage
REFACTORING_SETTINGS
-
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
-
Constructor Summary
Constructors Constructor Description RenameResourceRefactoringConfigurationPage(String name, IRenameResourceProcessor processor)RenameResourceRefactoringConfigurationPage(IRenameResourceProcessor processor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControl(Composite parent)Creates the top level Composite for this dialog page under the given parent composite.IWizardPagegetNextPage()Returns the wizard page that would to be shown if the user was to press the Next button.protected IRenameResourceProcessorgetProcessor()protected voidinitializeRefactoring()protected booleanperformFinish()Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted.voidsetVisible(boolean visible)TheDialogPageimplementation of thisIDialogPagemethod sets the control to the given visibility state.protected voidstoreSettings()protected voidvalidatePage()-
Methods inherited from class org.eclipse.ltk.ui.refactoring.UserInputWizardPage
canFlipToNextPage, computeSuccessorPage, isLastUserInputPage, setPageComplete
-
Methods inherited from class org.eclipse.ltk.ui.refactoring.RefactoringWizardPage
getRefactoring, getRefactoringSettings, getRefactoringWizard, setWizard
-
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, toString
-
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
-
-
-
-
Constructor Detail
-
RenameResourceRefactoringConfigurationPage
public RenameResourceRefactoringConfigurationPage(IRenameResourceProcessor processor)
-
RenameResourceRefactoringConfigurationPage
public RenameResourceRefactoringConfigurationPage(String name, IRenameResourceProcessor processor)
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
Creates the top level Composite for this dialog page under the given parent composite.The created top level Composite will be set as the top level control for this dialog page and can be accessed using
getControlThe top level Composite will have a GridLayout of 2 columns of unequal width
- Parameters:
parent- the parent composite
-
setVisible
public void setVisible(boolean visible)
Description copied from class:DialogPageTheDialogPageimplementation of thisIDialogPagemethod sets the control to the given visibility state. Subclasses may extend.- Specified by:
setVisiblein interfaceIDialogPage- Overrides:
setVisiblein classUserInputWizardPage- Parameters:
visible-trueto make this page visible, andfalseto hide it
-
validatePage
protected final void validatePage()
-
performFinish
protected boolean performFinish()
Description copied from class:RefactoringWizardPagePerforms any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted. This method is called by the refactoring wizard on the currently active refactoring wizard page.- Overrides:
performFinishin classUserInputWizardPage- Returns:
trueto indicate the finish request was accepted, andfalseto indicate that the finish request was refused
-
getNextPage
public IWizardPage getNextPage()
Description copied from interface:IWizardPageReturns the wizard page that would to be shown if the user was to press the Next button.- Specified by:
getNextPagein interfaceIWizardPage- Overrides:
getNextPagein classUserInputWizardPage- Returns:
- the next wizard page, or
nullif none
-
storeSettings
protected void storeSettings()
-
initializeRefactoring
protected void initializeRefactoring()
-
getProcessor
protected IRenameResourceProcessor getProcessor()
-
-