History log of /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/PreferencePage.java
Revision Date Author Comments
43822a8f2c7341c6b0ce11f4ba137f2cf6b3a72c 30-Mar-2012 Siva Velusamy <vsiva@google.com> DDMS: show certain prefs only if ADT is available.

Both monitor and ADT use the same ddms-plugin preference pages.
However, certain preference fields are only applicable in the context
of ADT + Eclipse. This CL wraps the creation of such preferences
around a check for the availability of the ADT plugin.

Change-Id: Ic1c425d00feae3eeceece53e226baa99c3c8dc93
ab36f4e7488358dea4ab6b54ee2b7bef3da0232b 21-Dec-2011 Tor Norbye <tnorbye@google.com> Update SDK codebase to JDK 6

This changeset makes the SDK codebase compile with source=1.6 (which
means it also requires JDK 6). This means that methods implementing an
interface requires @Override's. It also means we can start using APIs
like the ArrayDeque class and methods like String#isEmpty().

This changeset looks big but the change is trivial: it's basically
adding @Override in all the places that need it, along with some other
automatic Eclipse cleanup in certain files (such as reordering imports
where they were incorrectly ordered (because older versions of Eclipse
didn't always handle inner classes right)), as well as cleaning up
trailing whitespace and removing some $NON-NLS-1$ markers on lines
where there aren't any string literals anymore.

This changeset also sets the source and target JDK level to 6 in the
Eclipse compiler .settings file, and synchronizes this file to all the
other Eclipse SDK projects.

Change-Id: I6a9585aa44c3dee9a5c00739ab22fbdbcb9f8275
abba37979ef8647c0f36078dff6c3a774d4ce05f 17-Feb-2011 Pablo Leite <wpl020@motorola.com> [EXTERNALIZATION] This commit externalizes the strings of the DDMS plugin.

After applying it, please run the Eclipse's Externalize Wizard at “Source -> Externalize Strings…”. This ensure that hard-coded strings added between the time the patch was created and the time it was integrated will also be externalized.

From the time this patch is integrated on, each new string created in the plugin
should be added to the following files:

eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/messages.properties
Example: JavaClassName_MessageID=<string value>
<string value> refers to the string itself.

eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/Messages.java
Example: public static String JavaClassName_MessageID;

In the Java class, the new string should be referenced this way:
Messages.JavaClassName_MessageID

Related patches: All patches with the [EXTERNALIZATION] tag

Changes after review:
Code formatted according using android code formatter template
Merged Strings DeviceView_Unable_Create_HPROF_For_Application and DeviceView_Unable_Create_HPROF_For_Application.
Removed Motorola copyright notices.

Change-Id: Id889db593ef313760515f28b5973d3a9a8ad80d0
0964804a881ac463606ceff8bdcc087a92871cdb 23-Jan-2011 Pierre Zurek <pierrezurek@gmail.com> Fix in PreferencePage.

When the user clicked on the "Restored Defaults" button,
the "ADBHOST value:" field could still be enabled while
the "Use ADBHOST" field was disabled.
This commit fixes the problem.

Change-Id: Id5948fed655a7034a65cb96b509e1ad80226a93b
ff0b9891ab1650c6d06509ad4ae202c77e202cc3 30-Sep-2010 Pierre Zurek <pierrezurek@gmail.com> Allow the user to set the ADBHOST variable.

With those changes the ADBHOST variable can be
directly set in the Preferences of DDMS and Eclipse,
so that the user can reset adb from inside those
two programs.

Change-Id: I94b24744e8daa3b3b2fe5a3db39203b39cb093ac
d4963dc4347c871be5faa76920709001490e1d2a 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> snapshot
e13151727c63786342cddc3ea355425582bd4e7a 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
312c9ed171a7fff530b3b7a4e6a87ead9b0d6522 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
c2deea8a5013810c9fa9a605f48d9138c3260d4a 08-Sep-2009 Xavier Ducrohet <xav@android.com> Add preferences to DDMS (plug-in/standalone) for adb time out.

Change-Id: Ia48221e33ee5ffae4f381aa29bd99a62b148108e
c4df663d9ecf81c50b1304b5102e54d2cd72bb5e 03-Sep-2009 Xavier Ducrohet <xav@android.com> 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
55a2c71f27d3e0b8344597c7f281e687cb7aeb1b 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
82ea7a177797b844b252effea5c7c7c5d63ea4ac 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
1506a206c0a5e3b593c4c61a62b8805b64e98daf 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution