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
}
	
	/**
	 * Returns true if the given fragment has the same name and
	 * resides inside the same project as the other fragments in
	 * the LogicalPackage.
	 * 
	 * @param fragment
	 * @return boolean
	 */
	public boolean belongs(IPackageFragment fragment) {
		
		if(fragment==null)
			return false;
		
		if(fJavaProject.equals(fragment.getJavaProject())){
			return fName.equals(fragment.getElementName());
		}
	
		return false;
	}
	
	public boolean equals(Object o){
		if (!(o instanceof LogicalPackage))
			return false;
			
		LogicalPackage lp= (LogicalPackage)o;
		if (!fJavaProject.equals(lp.getJavaProject()))
			return false;