OSDN Git Service

Suggest application and activity name in New Project wizard
authorTor Norbye <tnorbye@google.com>
Mon, 18 Apr 2011 16:55:52 +0000 (09:55 -0700)
committerTor Norbye <tnorbye@google.com>
Mon, 18 Apr 2011 20:53:29 +0000 (13:53 -0700)
commit8172dd7667e768656472bceb49a5dd5581c78c16
treef842751bbf6f6ccc9ecf106fa513cef7878b0934
parent610e6a9c1e0893f3e0852b6264c961e3dfc0b18f
Suggest application and activity name in New Project wizard

This changeset tweaks the "New Android Project" wizard such that the
Application name and the Activity name fields are automatically
populated with some reasonable defaults.

This is done by syncing the project name while it is being edited to
the application name and to the activity name (plus "Activity").
Also, if the application name is manually edited it will also be
synced to the activity name.

Note that as soon as a text field is manually edited, it will no
longer be updated when the project name is edited.

Furthermore, selecting a target in the SDK target chooser will set the
API level of the chosen target as the minimum SDK in the min SDK value
field.

Change-Id: I2391eda334c6c422cce707971d340124742cbb52
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/NewProjectCreationPage.java