Bug 69389 - [Problems] Most filters don't work in Type Hierarchy view
Summary: [Problems] Most filters don't work in Type Hierarchy view
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-07-06 12:10 EDT by Chris Reigrut CLA
Modified: 2009-08-30 02:10 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Reigrut CLA 2004-07-06 12:10:46 EDT
Frustrated with seeing errors in a lot of experimental code, or things that I've
been sent to debug, I've modified the filter in my Type Hierarchy so that
they're "On any resource in the same project."  I'm expecting that this will
ensure that I only see Problems/Tasks that are in the same project as the class
that I have open in the Type Hierarchy.  However, the filter never matches
anything, and I have empty Problem/Task lists.

Furthermore, the only two filters that seem to work are "On any resource" and
"On Working Set"--everything else seems to exhibit the same problem.
Comment 1 Dirk Baeumer CLA 2004-07-08 06:37:46 EDT
This works as long as the type hierarchy doesn't contain types from a Jar. If 
this is the case then the type doesn't have an associated file hence the 
problem view can't compute the corresponding project. 

To solve this the problems view should use a special adapter so that Java 
could tell which project to use for scoping if elements are selected.

Moving to platform/ui for comments.
Comment 2 Chris Reigrut CLA 2004-07-12 09:41:08 EDT
Dirk replied: "This works as long as the type hierarchy doesn't contain types
from a Jar."

I haven't found this to be the case.  I have several projects in my
Eclipse workspace, and the only way I see any Problems/Tasks is if I
select either "On any resource" or "On Working Set."   In my case, I
don't believe that I have any classes from jars, either--they're all
plain old, boring, straightforward, created within Eclipse classes.

For example, I have a project entitled "Teravation JDBC" that currently
has 9 classes in com.teravation.jdbc.pool, and one in
com.teravation.jdbc.util.  It also has folders for docs and properties.
There are two existing problems, as follows:
Severity    Description    Resource    In Folder    Location    Creation
Time
1    The method getBigDecimal(int, int) from the type CallableStatement
is deprecated    CallableStatementProxy.java    Teravation
JDBC/com/teravation/jdbc/pool    line 209    July 1, 2004 12:00:13 AM
1    The method setUnicodeStream(int, InputStream, int) from the type
PreparedStatement is deprecated    PreparedStatementProxy.java
Teravation JDBC/com/teravation/jdbc/pool    line 307    July 1, 2004
12:00:13 AM

Additionally, there are two tasks:
Completed    Priority    Description    Resource    In Folder
Location    Creation Time
        TODO call managed method based on url    Driver.java
Teravation JDBC/com/teravation/jdbc/pool    line 202    July 1, 2004
12:00:13 AM
        TODO figure out a way to do this better    Driver.java
Teravation JDBC/com/teravation/jdbc/pool    line 225    July 1, 2004
12:00:13 AM

If, for example, I open a Type Hierarchy on either
com.teravation.jdbc.pool.Driver or
com.teravation.jdbc.pool.CallableStatementProxy, I get nothing in either
Tasks or Problems if I filter on "On any resource in same project," "On
selected resource only" or "On selected resource and its children".  For
Driver, I would have expected to see both Problems and both Tasks for
"On sany resource in same project", and just the two tasks for the other
two filters.

Am I missing something?
Comment 3 Tod Creasey CLA 2006-04-07 11:47:04 EDT
There is no plan to work on this feature 
Comment 4 Denis Roy CLA 2009-08-30 02:10:40 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.