From f3991ce1b223aa08d517056f82171084d9872506 Mon Sep 17 00:00:00 2001 From: Matthew Piggott Date: Tue, 8 Mar 2016 21:36:04 -0500 Subject: [PATCH 1/2] [489253] - Add Preference Page Entry for Selected Debug Port Add pref page entry for PreferenceInitializer.ATTR_SELECTED_DEBUG_PORT Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=489253 Signed-off-by: Matthew Piggott --- .../src/org/eclipse/andmore/ddms/i18n/Messages.java | 1 + .../src/org/eclipse/andmore/ddms/i18n/messages.properties | 1 + .../org/eclipse/andmore/ddms/preferences/PreferencePage.java | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/Messages.java b/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/Messages.java index 96c627ba..850bd8ee 100644 --- a/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/Messages.java +++ b/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/Messages.java @@ -96,6 +96,7 @@ public class Messages extends NLS { public static String PreferencePage_Adbhost_value; public static String PreferencePage_Assert; public static String PreferencePage_Base_Local_Debugger_Port; + public static String PreferencePage_Selected_Debugger_Port; public static String PreferencePage_Debug; public static String PreferencePage_Error; public static String PreferencePage_Heap_Updates_Enabled_Default; diff --git a/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/messages.properties b/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/messages.properties index 3698ebce..99b2e222 100644 --- a/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/messages.properties +++ b/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/i18n/messages.properties @@ -98,6 +98,7 @@ PreferencePage_Info=Info PreferencePage_Logging_Level=Logging Level PreferencePage_Open_Eclipse=Open in Eclipse PreferencePage_Save_Disk=Save to disk +PreferencePage_Selected_Debugger_Port=Selected debug port PreferencePage_Thread_Status_Refresh_Interval=Thread status refresh interval (seconds): PreferencePage_Thread_Updates_Enabled_By_Default=Thread updates enabled by default PreferencePage_Use_Adbhost=Use ADBHOST diff --git a/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/preferences/PreferencePage.java b/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/preferences/PreferencePage.java index 55b99200..a82c4613 100644 --- a/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/preferences/PreferencePage.java +++ b/android-core/plugins/org.eclipse.andmore.ddms/src/org/eclipse/andmore/ddms/preferences/PreferencePage.java @@ -58,6 +58,11 @@ public void createFieldEditors() { ife.setValidRange(1024, 32767); addField(ife); + ife = new IntegerFieldEditor(PreferenceInitializer.ATTR_SELECTED_DEBUG_PORT, + Messages.PreferencePage_Selected_Debugger_Port, getFieldEditorParent()); + ife.setValidRange(1024, 32767); + addField(ife); + BooleanFieldEditor bfe; bfe = new BooleanFieldEditor(PreferenceInitializer.ATTR_DEFAULT_THREAD_UPDATE, From f65fc9812eddd1116f5bb956ec9eb07c159ec865 Mon Sep 17 00:00:00 2001 From: Kaloyan Raev Date: Wed, 23 Mar 2016 15:49:05 +0200 Subject: [PATCH 2/2] [nobug] Update Release Notes for 0.5-M6 --- CHANGES.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index e107fcef..3f17b724 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Change Log +## 0.5-M6 + +This milestone adds a field in the DDMS preference page for selecting the debug port. + +* [489253](https://bugs.eclipse.org/bugs/show_bug.cgi?id=489253) Add Preference Page Entry for Selected Debug Port + ## 0.5-M5 This milestone fixes the Signing and Keys view and provides it as a separate installable feature on the update site.