Bug 3212

Summary: DCR - Search - Would like to specify java element search scope (1G5XZPO)
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M4   
Hardware: All   
OS: Windows NT   
Whiteboard:

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