Package org.eclipse.wst.common.core.search.scope

Examples of org.eclipse.wst.common.core.search.scope.ContentTypeSearchScope


     * gate #1: reduce the scope to the files with the content type that
     * could be searched using this participant
     */
    String[] contentTypes = getSupportedContentTypes()
    if(contentTypes != null && contentTypes.length > 0){
      scope = new ContentTypeSearchScope(scope, contentTypes);
    }
    return super.selectDocumentLocations(pattern, scope, searchOptions, monitor);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.common.core.search.scope.ContentTypeSearchScope

Copyright © 2018 www.massapicom. 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.