Commit 539acbb
committed
linux: set auto-expand-level in ResourcesStatusDataProvider
Setting the auto-expand-level to 1 of the returned TmfTreeModel when
calling fetchTree() will indicate to the clients that only the top-level
should be expanded and their children supposed to be collapsed.
With this trace server clients can apply thhis and it fixes FE issue
eclipse-cdt-cloud/theia-trace-extension#801
Note: The classic Eclipse UI has been doing this in the UI code without
that setting (see ResourcesView).
Signed-off-by: Bernd Hufmann <[email protected]>1 parent cbf0b32 commit 539acbb
File tree
1 file changed
+5
-1
lines changed- analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/resourcesstatus
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
278 | 282 | | |
279 | 283 | | |
280 | 284 | | |
| |||
0 commit comments