OSDN Git Service

ADT XML Wizard: auto-select single android project.
authorRaphael Moll <ralf@android.com>
Tue, 14 Sep 2010 20:23:54 +0000 (13:23 -0700)
committerRaphael Moll <ralf@android.com>
Tue, 14 Sep 2010 20:23:54 +0000 (13:23 -0700)
commit7afc4f912889c8aec092c367e062b022fd02238c
tree835adc38c553b8c73f0c0d041c4b9bd26fa6250b
parent3624f2b5b4ee9b82e1c36e00b5b8cd211b6488f9
ADT XML Wizard: auto-select single android project.

When opening the XML creation wizard, we try to auto-select
the project based on the selection. If the selection is empty
but there's only one accessible (i.e. open) Android project,
just auto-select it.

Change-Id: Ibdcabd7ed7e4f96602c5cb65c999db0645f9fad4
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/NewXmlFileCreationPage.java