Commit b268531
committed
Add support for nested problems display for hierarchical projects
Currently if one select in Project Explorer to display projects not only
flat but hierarchical and choose the "Problems on selected Project"
filtering (but other filters are affected as well) the following
happens:
- We have Project P with nested projects X, Y, Z
- Y has a compile problem and X has warnings
- Now P shows a red icon because it has problems of type error inherited
- I select P but Problems View remains empty
- One has to first expand P, then locate Y and select it
- To see the warning I have to locate X and select it
so there is an inconsistency (P shows problems icon but problems view is
empty) and an inconvenience (I need to select individual childs to see
all problems/warnings).
This now enhances the ExtendedMarkersView by a method
isProjectNestingActive (returns false by default) to allow view
extensions to decide if they want to enable discovery of nested projects
or not. The ProblemsView is further enhanced to detect the situation and
returns true for this particular case.1 parent 3ee82a4 commit b268531
File tree
3 files changed
+75
-1
lines changed- bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers
3 files changed
+75
-1
lines changedLines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
1642 | 1645 | | |
1643 | 1646 | | |
1644 | 1647 | | |
1645 | | - | |
| 1648 | + | |
1646 | 1649 | | |
1647 | 1650 | | |
1648 | 1651 | | |
1649 | 1652 | | |
1650 | 1653 | | |
1651 | 1654 | | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
1652 | 1662 | | |
1653 | 1663 | | |
1654 | 1664 | | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
1655 | 1677 | | |
1656 | 1678 | | |
1657 | 1679 | | |
| |||
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
289 | 329 | | |
290 | 330 | | |
291 | 331 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
67 | 79 | | |
0 commit comments