Examples of PatternQuerySpecification


Examples of org.eclipse.dltk.ui.search.PatternQuerySpecification

      scope= factory.createProjectSearchScope(scriptProject, isInsideInterpreterEnvironment);
      description=  factory.getProjectScopeDescription(scriptProject, isInsideInterpreterEnvironment);
    }
   
    DeeDefPatternLocator.GLOBAL_param_defunit = defunit;
    return new PatternQuerySpecification(defunit.getName(), 0, true, getLimitTo(), scope, description);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.search.PatternQuerySpecification

    DLTKSearchScopeFactory factory = DLTKSearchScopeFactory.getInstance();
    IDLTKSearchScope scope = SearchEngine.createHierarchyScope(type);
    String description = factory.getHierarchyScopeDescription(type);
   
    DeeDefPatternLocator.GLOBAL_param_defunit = defunit;
    return new PatternQuerySpecification(
        defunit.getName(), 0, true, getLimitTo(), scope, description);
    //return new ElementQuerySpecification(element, getLimitTo(), scope, description);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.search.PatternQuerySpecification

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

Examples of org.eclipse.dltk.ui.search.PatternQuerySpecification

    SearchUtil.updateLRUWorkingSets(workingSets);
    IDLTKSearchScope scope= factory.createSearchScope(workingSets, true, getLanguageToolkit());
    String description= factory.getWorkingSetScopeDescription(workingSets, true);

    DeeDefPatternLocator.GLOBAL_param_defunit = defunit;
    return new PatternQuerySpecification(
        defunit.getName(), 0, true, getLimitTo(), scope, description);
  }
View Full Code Here

Examples of org.eclipse.dltk.ui.search.PatternQuerySpecification

    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);
  }
View Full Code Here

Examples of org.eclipse.jdt.ui.search.PatternQuerySpecification

       
      }
      else if(querySpecification instanceof PatternQuerySpecification) {
       
        // pattern search (eg. from Java search page)
        PatternQuerySpecification patternQuery = (PatternQuerySpecification)querySpecification;
        String pattern = patternQuery.getPattern();
       
        if(DEBUG)
          System.out.println("JSP Query Participant searching on PATTERN: " + pattern); //$NON-NLS-1$
       
        SearchRequestor jspRequestor = new JSPSearchRequestor(requestor);
       
        JSPSearchSupport.getInstance().search(pattern,
                            new JSPSearchScope(),
                            patternQuery.getSearchFor(),
                            patternQuery.getLimitTo(),
                            SearchPattern.R_PATTERN_MATCH,
                            false,
                            jspRequestor,
                            monitor);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.