diff options
author | Tor Norbye <tnorbye@google.com> | 2012-03-07 15:40:23 -0800 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-03-07 15:40:24 -0800 |
commit | 785d57bd7555cbbd2451be02079dac77b3280aee (patch) | |
tree | 6796eb8294bf7ce303cd7aa7e89f19e1d33e28b7 /eclipse | |
parent | eb745bcd74491f546efa9e64de240398dd48a21e (diff) | |
parent | e49f6111a67ef1ae92bfc2bc2a78e2f69456a1aa (diff) | |
download | sdk-785d57bd7555cbbd2451be02079dac77b3280aee.zip sdk-785d57bd7555cbbd2451be02079dac77b3280aee.tar.gz sdk-785d57bd7555cbbd2451be02079dac77b3280aee.tar.bz2 |
Merge "fixes a bug that Working Set specified in "New Android Project" wizard is ignored in some cases."
Diffstat (limited to 'eclipse')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ProjectNamePage.java | 5 |
1 files changed, 3 insertions, 2 deletions
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 ff77b9f..d4c342c 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 @@ -40,6 +40,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; @@ -625,11 +626,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(); } } |