DLTKSearchScopeFactory factory= DLTKSearchScopeFactory.getInstance();
IDLTKSearchScope scope= factory.createWorkspaceScope(true, getLanguageToolkit());
String description= factory.getWorkspaceScopeDescription(true);
DeeDefPatternLocator.GLOBAL_param_defunit = defunit;
return new PatternQuerySpecification(
defunit.getName(), 0, true, getLimitTo(), scope, description);
//return new ElementQuerySpecification(element, getLimitTo(), scope, description);
}