Package org.springframework.ide.eclipse.beans.ui.search.internal

Examples of org.springframework.ide.eclipse.beans.ui.search.internal.BeansSearchScope


  public boolean performAction() {
    SearchData data = getPatternData();

    // Setup search scope
    BeansSearchScope scope;
    switch (searchContainer.getSelectedScope()) {
    case ISearchPageContainer.SELECTION_SCOPE:
      scope = BeansSearchScope.newSearchScope(searchContainer
          .getSelection(), false);
      break;
View Full Code Here


      searchFor = ((PatternQuerySpecification) querySpecification).getSearchFor();
      search = ((PatternQuerySpecification) querySpecification).getPattern();
    }

    List<ISearchQuery> queries = new ArrayList<ISearchQuery>();
    BeansSearchScope scope = BeansSearchScope.newSearchScope();
    if (searchFor == SEARCH_FOR_TYPES) {
      queries.add(new BeanClassQuery(scope, search, true, false));
    }
    else if (searchFor == SEARCH_FOR_FIELDS) {
      queries.add(new BeanPropertyQuery(scope, search, true, false));
View Full Code Here

  @Override
  public void run() {
    String className = getSelectedClassName();
    if (className != null) {
      BeansSearchScope scope = BeansSearchScope.newSearchScope();
      ISearchQuery query = new BeanClassQuery(scope, className, true,
                          false);
      NewSearchUI.activateSearchResultView();
      NewSearchUI.runQueryInBackground(query);
    }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.ui.search.internal.BeansSearchScope

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.