Bug 28479 logical packages not recognized as Java by Search [browsing]
1) Select a logical package 2) open the search dialog ->it defaults to the File search, I would have expected that it defaults to the Java search
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/LogicalPackage.java
fName= fragment.getElementName();
	}
	
	public IJavaProject getJavaProject(){
		return fJavaProject;	
	}
	
	public IPackageFragment[] getFragments(){
		return (IPackageFragment[]) fPackages.toArray(new IPackageFragment[fPackages.size()]);
	}
	
	public void add(IPackageFragment fragment){
		Assert.isTrue(fragment != null && fJavaProject.equals(fragment.getJavaProject()));
		fPackages.add(fragment);
	}
	
	public void remove(IPackageFragment fragment){
		fPackages.remove(fragment);	
	}
	
	public boolean contains(IPackageFragment fragment){
		return fPackages.contains(fragment);	
	}
	
	public String getElementName(){
		return fName;
	}
	
	public int size(){
		return fPackages.size();