Bug 3212 - DCR - Search - Would like to specify java element search scope (1G5XZPO)
Summary: DCR - Search - Would like to specify java element search scope (1G5XZPO)
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 minor (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:51 EDT by Philipe Mulet CLA
Modified: 2002-11-25 07:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-10-10 22:51:23 EDT
TM (14.12.2000 11:33:17)
	IBM Java Search Infrastructure [0.1 - 120800H14]

	JavaSearchScope only had an add method for IResources. It would be nice if we could reduce the scope to a package,
	for example. The problem is, that when I search in the default package, I will find everything in the whole project
	(assuming that the project is the package fragement root). Also, if you search in junit.samples, you also find stuff
	in junit.samples.money. If course, the UI could filter later, but I feel this should be in the model.
Comment 1 Philipe Mulet CLA 2001-10-11 08:27:36 EDT
Not critical, will consider after the move to working sets
Comment 2 Jerome Lanneluc CLA 2002-11-21 11:22:37 EST
Reopening
Comment 3 Jerome Lanneluc CLA 2002-11-21 11:24:57 EST
SearchEngine.createJavaSearchScope() can now limit search to any kind of Java 
element.
Closing