From c3e155632672b1bedc71e32c4a7c7a5ecc315261 Mon Sep 17 00:00:00 2001 From: Eugene Kudelevsky Date: Thu, 15 Mar 2012 22:07:58 +0400 Subject: [PATCH] android: "launch ddms" action --- .../messages/AndroidBundle.properties | 5 +- plugins/android/src/META-INF/plugin.xml | 3 + .../actions/AndroidConnectDebuggerAction.java | 12 ++- .../AndroidEnableAdbServiceAction.java | 38 +++++--- .../android/actions/AndroidRunDdmsAction.java | 86 +++++++++++++++++++ .../run/AndroidRunConfigurationBase.java | 17 ++-- .../android/sdk/AndroidSdkUtils.java | 38 +++++++- 7 files changed, 174 insertions(+), 25 deletions(-) create mode 100644 plugins/android/src/org/jetbrains/android/actions/AndroidRunDdmsAction.java diff --git a/plugins/android/resources/messages/AndroidBundle.properties b/plugins/android/resources/messages/AndroidBundle.properties index c1f8b531a595..7fb3b09dbece 100644 --- a/plugins/android/resources/messages/AndroidBundle.properties +++ b/plugins/android/resources/messages/AndroidBundle.properties @@ -395,4 +395,7 @@ android.lint.inspections.wrong.view.cast=Mismatched view type android.lint.inspections.unknown.id.in.layout=Reference to an id that is not in the current layout android.lint.inspections.unknown.id=Reference to an unknown id android.lint.inspections.suspicious.import='import android.R' statement -android.debug.sessions.will.be.closed=Following debug sessions will be closed\:\n \ No newline at end of file +android.debug.sessions.will.be.closed=Following debug sessions will be closed\:\n{0} +android.launch.ddms.title=DDMS tool +android.launch.ddms.already.launched.error=DDMS is already launched +android.disable.adb.service.title=Disable ADB service \ No newline at end of file diff --git a/plugins/android/src/META-INF/plugin.xml b/plugins/android/src/META-INF/plugin.xml index 5caa679be7c1..412b23c86ccf 100644 --- a/plugins/android/src/META-INF/plugin.xml +++ b/plugins/android/src/META-INF/plugin.xml @@ -57,6 +57,9 @@ + + +