| java.lang.Object org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter
All known Subclasses: org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterfaceStarter,
UserInterfaceStarter | public class UserInterfaceStarter (Code) | | Opens the user interface for a given refactoring.
|
Method Summary | |
public boolean | activate(Refactoring refactoring, Shell parent, int saveMode) Actually activates the user interface. | public void | initialize(RefactoringWizard wizard) Initializes this user interface starter with the given
wizard. |
activate | public boolean activate(Refactoring refactoring, Shell parent, int saveMode) throws CoreException(Code) | | Actually activates the user interface. This default implementation
assumes that the configuration element passed to initialize
has an attribute wizard denoting the wizard class to be
used for the given refactoring.
Subclasses may override to open a different user interface
Parameters: refactoring - the refactoring for which the user interfaceshould be opened Parameters: parent - the parent shell to be used Parameters: saveMode - a save mode from RefactoringSaveHelper true iff the refactoring was executed,false otherwise exception: CoreException - if the user interface can't be activated |
initialize | public void initialize(RefactoringWizard wizard)(Code) | | Initializes this user interface starter with the given
wizard.
Parameters: wizard - the refactoring wizard to use |
|
|