Created
March 3, 2012 03:40
-
-
Save zaki50/1964201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ProjectNamePage.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ProjectNamePage.java | |
index 3db3353..cdd65c9 100644 | |
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ProjectNamePage.java | |
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ProjectNamePage.java | |
@@ -37,6 +37,7 @@ import org.eclipse.core.runtime.Platform; | |
import org.eclipse.core.runtime.Status; | |
import org.eclipse.jface.dialogs.IMessageProvider; | |
import org.eclipse.jface.viewers.IStructuredSelection; | |
+import org.eclipse.jface.wizard.IWizardPage; | |
import org.eclipse.jface.wizard.WizardPage; | |
import org.eclipse.osgi.util.TextProcessor; | |
import org.eclipse.swt.SWT; | |
@@ -584,11 +585,11 @@ class ProjectNamePage extends WizardPage implements SelectionListener, ModifyLis | |
} | |
@Override | |
- public boolean canFlipToNextPage() { | |
+ public IWizardPage getNextPage() { | |
// Sync working set data to the value object, since the WorkingSetGroup | |
// doesn't let us add listeners to do this lazily | |
mValues.workingSets = getWorkingSets(); | |
- return super.canFlipToNextPage(); | |
+ return super.getNextPage(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment