aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/app
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2011-08-04 14:38:05 -0700
committerSiva Velusamy <vsiva@google.com>2011-08-09 13:44:00 -0700
commit625b7ea2b82c3f4948bb8bae55f631f85e9c04a9 (patch)
treed3f899a550ce0ee883ae648ad176933f7fbc0842 /ddms/app
parent5c54ae2405b836a433d850a907ec92c6fd20d345 (diff)
downloadsdk-625b7ea2b82c3f4948bb8bae55f631f85e9c04a9.zip
sdk-625b7ea2b82c3f4948bb8bae55f631f85e9c04a9.tar.gz
sdk-625b7ea2b82c3f4948bb8bae55f631f85e9c04a9.tar.bz2
Save/Restore the width of all columns in the LogCatPanel table.
Create all columns using TableHelper.createTableColumn which adds listeners that save the column width whenever they are resized by the user, and restores them on subsequent creations. Change-Id: I35d09a981b94aa086899e3bf74f2243029c60b2b
Diffstat (limited to 'ddms/app')
-rw-r--r--ddms/app/src/com/android/ddms/UIThread.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ddms/app/src/com/android/ddms/UIThread.java b/ddms/app/src/com/android/ddms/UIThread.java
index c9dc2b1..0149739 100644
--- a/ddms/app/src/com/android/ddms/UIThread.java
+++ b/ddms/app/src/com/android/ddms/UIThread.java
@@ -29,6 +29,7 @@ import com.android.ddmlib.ClientData.MethodProfilingStatus;
import com.android.ddmlib.Log.ILogOutput;
import com.android.ddmlib.Log.LogLevel;
import com.android.ddmuilib.AllocationPanel;
+import com.android.ddmuilib.DdmUiPreferences;
import com.android.ddmuilib.DevicePanel;
import com.android.ddmuilib.EmulatorControlPanel;
import com.android.ddmuilib.HeapPanel;
@@ -1365,7 +1366,7 @@ public class UIThread implements IUiSelectionListener, IClientChangeListener {
}
private void createLogCatView(Composite parent) {
- mLogCatPanel = new LogCatPanel(new LogCatReceiver());
+ mLogCatPanel = new LogCatPanel(new LogCatReceiver(), DdmUiPreferences.getStore());
mLogCatPanel.createPanel(parent);
if (mCurrentDevice != null) {