org.eclipse.xtext.ui.refactoring.ui
Class RenameElementWizard.UserInputPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.ltk.ui.refactoring.RefactoringWizardPage
              extended by org.eclipse.ltk.ui.refactoring.UserInputWizardPage
                  extended by org.eclipse.xtext.ui.refactoring.ui.RenameElementWizard.UserInputPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
Enclosing class:
RenameElementWizard

protected static class RenameElementWizard.UserInputPage
extends org.eclipse.ltk.ui.refactoring.UserInputWizardPage


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
RenameElementWizard.UserInputPage(IRenameProcessorAdapter renameProcessorAdapter)
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Creates the top level control for this dialog page under the given parent composite.
 org.eclipse.jface.wizard.IWizardPage getNextPage()
          Returns the wizard page that would to be shown if the user was to press the Next button.
protected  boolean performFinish()
          Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted.
 void setVisible(boolean visible)
          The DialogPage implementation of this IDialogPage method sets the control to the given visibility state.
protected  void validatePage()
           
 
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

RenameElementWizard.UserInputPage

public RenameElementWizard.UserInputPage(IRenameProcessorAdapter renameProcessorAdapter)
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Description copied from interface: org.eclipse.jface.dialogs.IDialogPage
Creates the top level control for this dialog page under the given parent composite.

Implementors are responsible for ensuring that the created control can be accessed via getControl

Parameters:
parent - the parent composite

setVisible

public void setVisible(boolean visible)
Description copied from class: org.eclipse.ltk.ui.refactoring.UserInputWizardPage
The DialogPage implementation of this IDialogPage method sets the control to the given visibility state. Subclasses may extend.

Specified by:
setVisible in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
setVisible in class org.eclipse.ltk.ui.refactoring.UserInputWizardPage
Parameters:
visible - true to make this page visible, and false to hide it

validatePage

protected final void validatePage()

performFinish

protected boolean performFinish()
Description copied from class: org.eclipse.ltk.ui.refactoring.UserInputWizardPage
Performs 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:
performFinish in class org.eclipse.ltk.ui.refactoring.UserInputWizardPage
Returns:
true to indicate the finish request was accepted, and false to indicate that the finish request was refused

getNextPage

public org.eclipse.jface.wizard.IWizardPage getNextPage()
Description copied from class: org.eclipse.ltk.ui.refactoring.UserInputWizardPage
Returns the wizard page that would to be shown if the user was to press the Next button.

Specified by:
getNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
getNextPage in class org.eclipse.ltk.ui.refactoring.UserInputWizardPage
Returns:
the next wizard page, or null if none