Community
Participate
Eclipse IDE
200406180010; Not a dup of 66646. 'Show In > Package Explorer' doesn't ask for removal of a filter iff there's only a single filter set. Steps: - Disable all filters in Package Explorer, except for 'Referenced Libraries'. - Open editor for java.util.Vector - Navigate > Show In > Package Explorer => fails, doesn't ask for filter removal. Works iff at least one other filter (which would not filter the element) is active.
Not critical for 3.0. We could put this into the readme. Erich ?
agreed, readme is good enough
The problem is that the package explorer only checks if the new filter list is greater than zero. If we remove the last filter the number of filter is zero. The correct implementation (simply checking if the list is greater than zero can lead to other false positives as well; imagine the element isn't filter at all but still not presentable in the package explorer) should first get the list of current filters and then check if the new list is smaller than the old one. However, this requires making the already present method getEnabledFilterIds API. Erich, would you support this. Its not critical for 3.1 since we live with the bug for a while now, however can be annoying..
Fix makes sense and since it is annoying we should not hold it back for 3.1. The method that becomes public is in a class mostly owned by Dani. Dani is there any reason to not make this method public?
There's no problem making it API if it's really needed since we return a copy. The setter should remain private.
Made the method public, however changed the name to internalGet... add speced it in a way to bot be called by clients outside of JDT/UI.
Fixed.
Verifying...
Verified in I20050527-0010. Markus, please update resolution to VERIFIED.
Setting to verified.