diff options
| author | Alon Albert <aalbert@google.com> | 2021-10-18 12:03:51 -0700 |
|---|---|---|
| committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-10-18 20:43:55 +0000 |
| commit | 255c00c1acb463108e132efdd3dd6c010f3db15e (patch) | |
| tree | 31bf04ad2805cfa5f6a0188132a8fe75593423dd /profilers-ui/src | |
| parent | 0ea5e55e5300695b1cf4dd0090b844096b8b83d8 (diff) | |
| download | platform_tools_adt_idea-255c00c1acb463108e132efdd3dd6c010f3db15e.tar.gz platform_tools_adt_idea-255c00c1acb463108e132efdd3dd6c010f3db15e.tar.bz2 platform_tools_adt_idea-255c00c1acb463108e132efdd3dd6c010f3db15e.zip | |
Do Not Implement DataProvider
For some reason, if LogcatMainPanel implements DataProvider and supports a CommonDataKeys.EDITOR dataId, some basic things don't properly.
Specifically, adding JTextField as child of LogcatMainPanel will not handle some keys (Backspace, Arrows, Enter etc.). Instead, they seem to be diverted to the Editor instead.
The DataProvider was needed in order to support ToggleUseSoftWrapsToolbarAction but this can be circumvented by extending the class to provide an Editor directly.
Bug: 191880898
Test: N/A
Change-Id: I3efb1a0d2e6e3700e1bdf8312ad5adf108ac1fa3
Diffstat (limited to 'profilers-ui/src')
0 files changed, 0 insertions, 0 deletions
