Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2011-10-08 21:55:58 +0000
committerMarc-Andre Laperle2011-10-08 22:13:41 +0000
commit984fb3b989876ffdd690d2218a8157f0e324c503 (patch)
tree4dc0ed66d33bc6a2f5255bff87706d5d038506ca
parent8f1ac18b4e5bf7270a58516596b93f412483aff8 (diff)
downloadorg.eclipse.cdt-984fb3b989876ffdd690d2218a8157f0e324c503.tar.gz
org.eclipse.cdt-984fb3b989876ffdd690d2218a8157f0e324c503.tar.xz
org.eclipse.cdt-984fb3b989876ffdd690d2218a8157f0e324c503.zip
Bug 356863 - Can't finish ImplementMethod wizard when methods contain a
unselected templated method
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/ParameterNamesInputPage.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/ParameterNamesInputPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/ParameterNamesInputPage.java
index 8247988ebd6..b5c6c09248e 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/ParameterNamesInputPage.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/ParameterNamesInputPage.java
@@ -218,4 +218,12 @@ public class ParameterNamesInputPage extends UserInputWizardPage {
}
delayedPreviewUpdater.schedule(PREVIEW_UPDATE_DELAY);
}
+
+ @Override
+ public boolean isPageComplete() {
+ if (!config.isChecked()) {
+ return true;
+ }
+ return super.isPageComplete();
+ }
}

Back to the top