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

Examples of org.springframework.ide.eclipse.beans.ui.search.internal.queries.BeanReferenceQuery


    if (getTextEditor() != null) {
      ISelection selection = getTextEditor().getSelectionProvider()
          .getSelection();
      String beanId = extractBeanId(selection);
      if (beanId != null) {
        ISearchQuery query = new BeanReferenceQuery(BeansSearchScope
            .newSearchScope(), beanId, true, true);
        NewSearchUI.activateSearchResultView();
        NewSearchUI.runQueryInBackground(query);
      }
    }
View Full Code Here


      query = new BeanNameQuery(scope, data.getPattern(), data
          .isCaseSensitive(), data.isRegExp());
      break;

    case SEARCH_FOR_BEAN_REFERENCE:
      query = new BeanReferenceQuery(scope, data.getPattern(), data
          .isCaseSensitive(), data.isRegExp());
      break;

    case SEARCH_FOR_BEAN_CLASS:
      query = new BeanClassQuery(scope, data.getPattern(),
View Full Code Here

    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));
      queries.add(new BeanReferenceQuery(scope, search, true, false));
    }

    for (ISearchQuery query : queries) {
      query.run(monitor);
View Full Code Here

TOP

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

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.