From be6e83d5b84bdd0b27deed31f161732db32e5133 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Wed, 2 Sep 2009 17:28:50 -0700 Subject: [PATCH] Add support for opening HPROF files in Eclipse. The action taken on successful HPROF dump can now be configured from the plug-in preference to be either "save to disk" or "open in eclipse". If a plug-in supporting .hprof files (such as Eclipse Memory Analyzer Tool) is present then the file will just be opened in the tool. "save to disk" does not convert the file, "open in eclipse" does convert the hprof file (using hprof-conv present in the SDK) Change-Id: Iceb347abb2af5a2979b6028c22dcbdc3bc7250ca --- .../com.android.ide.eclipse.ddms/feature.xml | 3 + .../META-INF/MANIFEST.MF | 5 +- .../android/ide/eclipse/ddms/DdmsPlugin.java | 61 +++++++++++- .../preferences/PreferenceInitializer.java | 16 ++- .../ddms/preferences/PreferencePage.java | 10 +- .../ide/eclipse/ddms/views/DeviceView.java | 99 ++++++++++++++----- 6 files changed, 161 insertions(+), 33 deletions(-) diff --git a/tools/eclipse/features/com.android.ide.eclipse.ddms/feature.xml b/tools/eclipse/features/com.android.ide.eclipse.ddms/feature.xml index c0cb12d97..9b782acc5 100644 --- a/tools/eclipse/features/com.android.ide.eclipse.ddms/feature.xml +++ b/tools/eclipse/features/com.android.ide.eclipse.ddms/feature.xml @@ -230,6 +230,9 @@ + + +