return new SearchPatternData(PACKAGE, REFERENCES, fIsCaseSensitive, lp.getElementName(), null);
return new SearchPatternData(PACKAGE, REFERENCES, fIsCaseSensitive, lp.getElementName(), null, false);
	private SearchPatternData tryStructuredSelection(IStructuredSelection selection) {		if (selection == null || selection.size() > 1)			return null;		Object o= selection.getFirstElement();		SearchPatternData res= null;		if (o instanceof IJavaElement) {			res= determineInitValuesFrom((IJavaElement) o);		} else if (o instanceof LogicalPackage) {			LogicalPackage lp= (LogicalPackage)o;			return new SearchPatternData(PACKAGE, REFERENCES, fIsCaseSensitive, lp.getElementName(), null);		} else if (o instanceof IAdaptable) {			IJavaElement element= (IJavaElement) ((IAdaptable) o).getAdapter(IJavaElement.class);			if (element != null) {				res= determineInitValuesFrom(element);			}		}		if (res == null && o instanceof IAdaptable) {			IWorkbenchAdapter adapter= (IWorkbenchAdapter)((IAdaptable)o).getAdapter(IWorkbenchAdapter.class);			if (adapter != null) {				return new SearchPatternData(TYPE, REFERENCES, fIsCaseSensitive, adapter.getLabel(o), null);			}		}		return res;	}