Community
Participate
Working Groups
While using the default flat package representation in the Package Explorer view you get some packages with the ">" decorator even though there's no changed file. This generally will happen if the package name is A and there are changes in A.B but not in A. Will attach a screenshot. Meanwhile in the hierarchical representation it may make sense in this case it seems erratic behavior. EGit 2.0.0.201206130900-r on 4.2 release.
Created attachment 219840 [details] Screenshot
The CVS provider does it correctly. So it's possible, we just need to find out how.
*** Bug 347552 has been marked as a duplicate of this bug. ***
Dani/Markus: Any hints on how to fix this, which API we could use?
See org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator#decorate(Object, SynchronizationStateTester) and callers. The "meat" of the implementation is that tester.getState(..) ends up in org.eclipse.jdt.internal.ui.packageview.HierarchicalDecorationContext.HierarchicalSynchronizationStateTester, which knows about the Package Explorer's presentation and can adjust the element to a JavaElementResourceMapping. The original JDT UI fix was bug 128990.
*** Bug 318822 has been marked as a duplicate of this bug. ***