diff options
author | Markus Keller | 2009-08-03 12:01:14 +0000 |
---|---|---|
committer | Markus Keller | 2009-08-03 12:01:14 +0000 |
commit | 56b557ec4d014ab9374e6bd3087f713f2ed9440c (patch) | |
tree | 1df2ed7c4fd95a9f4c832ee99f01e239b029565b /org.eclipse.ltk.ui.refactoring | |
parent | fa93d0cc325a1009967b71e4cc5ecd567eddc7c0 (diff) | |
download | eclipse.jdt.ui-56b557ec4d014ab9374e6bd3087f713f2ed9440c.tar.gz eclipse.jdt.ui-56b557ec4d014ab9374e6bd3087f713f2ed9440c.tar.xz eclipse.jdt.ui-56b557ec4d014ab9374e6bd3087f713f2ed9440c.zip |
Bug 280333: [refactoring] enhance Javadoc of RefactoringWizard.performFinish() (was: Refactoring wizard remains open with enabled buttons after refactoring operation completes)
Diffstat (limited to 'org.eclipse.ltk.ui.refactoring')
-rw-r--r-- | org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java b/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java index 98b169beb3..d696bfa260 100644 --- a/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java +++ b/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RefactoringWizard.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. + * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -616,6 +616,15 @@ public abstract class RefactoringWizard extends Wizard { //---- Re-implementation of Wizard methods -------------------------------------------- + /** + * Calls {@link RefactoringWizardPage#performFinish()} on the currently active wizard page. + * Clients are not expected to extend this method to do lengthy processing + * (the {@link Refactoring} class should implement analysis and {@link Change} creation). + * + * @return <code>true</code> to indicate the finish request + * was accepted, and <code>false</code> to indicate + * that the finish request was refused + */ public boolean performFinish() { RefactoringWizardPage page= (RefactoringWizardPage)getContainer().getCurrentPage(); return page.performFinish(); |