Examples of searchRunnable()


Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

    // should be handled by JSPIndexManager
    // https://w3.opensource.ibm.com/bugzilla/show_bug.cgi?id=3036
    // support.indexWorkspaceAndWait();
   
    JSPTypeMoveRequestor requestor = new JSPTypeMoveRequestor(type, newName);
    support.searchRunnable(type, new JSPSearchScope(), requestor);

    return requestor.getChanges();
  }

  public String getName() {
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

  protected Change[] createChangesFor(IJavaElement element, String newName) {
    Change[] changes;
    BasicRefactorSearchRequestor requestor = getSearchRequestor(element, newName);
    if(requestor != null) {
      JSPSearchSupport support = JSPSearchSupport.getInstance();
      support.searchRunnable(element, new JSPSearchScope(), requestor);
      changes = requestor.getChanges(this);
    } else {
      changes = new Change[0];
    }
   
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

  protected Change[] createChangesFor(IJavaElement element, String newName) {
    Change[] changes;
    BasicRefactorSearchRequestor requestor = getSearchRequestor(element, newName);
    if(requestor != null) {
      JSPSearchSupport support = JSPSearchSupport.getInstance();
      support.searchRunnable(element, new JSPSearchScope(), requestor);
      changes = requestor.getChanges(this);
    } else {
      changes = new Change[0];
    }
   
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

      String scopePath = delegate.getPath();
      JSPSearchScope singleFileScope = new JSPSearchScope(new String[]{getFile().getFullPath().toString(), scopePath});
     
      // perform a searchs
      // by passing in this jsp search query, requstor can add matches
      support.searchRunnable(getJavaElement(), singleFileScope, new JSPSingleFileSearchRequestor(getInstance()), monitor);
    }
    catch (Exception e){
      status = new Status(IStatus.ERROR, "org.eclipse.wst.sse.ui", IStatus.OK, "", null); //$NON-NLS-1$  //$NON-NLS-2$
    }
    return status;
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

    // should be handled by JSPIndexManager
    // https://w3.opensource.ibm.com/bugzilla/show_bug.cgi?id=3036
    // support.indexWorkspaceAndWait();
   
    BasicRefactorSearchRequestor requestor = new JSPMethodRenameRequestor(method, newName);
    support.searchRunnable(method, new JSPSearchScope(), requestor);

    return requestor.getChanges();
  }

  public String getName() {
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

    // should be handled by JSPIndexManager
    // https://w3.opensource.ibm.com/bugzilla/show_bug.cgi?id=3036
    //support.indexWorkspaceAndWait();
   
    BasicRefactorSearchRequestor requestor = new JSPPackageRenameRequestor(pkg, newName);
    support.searchRunnable(pkg, new JSPSearchScope(), requestor);

    return requestor.getChanges();
  }

  public String getName() {
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

    // https://w3.opensource.ibm.com/bugzilla/show_bug.cgi?id=3036
    // support.indexWorkspaceAndWait();
 
   
    JSPTypeRenameRequestor requestor = new JSPTypeRenameRequestor(type, newName);
    support.searchRunnable(type, new JSPSearchScope(), requestor);

    return requestor.getChanges();
  }

  public String getName() {
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

      String scopePath = delegate.getPath();
      JSPSearchScope singleFileScope = new JSPSearchScope(new String[]{getFile().getFullPath().toString(), scopePath});
     
      // perform a searchs
      // by passing in this jsp search query, requstor can add matches
      support.searchRunnable(getJavaElement(), singleFileScope, new JSPSingleFileSearchRequestor(getInstance()));
    }
    catch (Exception e){
      status = new Status(IStatus.ERROR, "org.eclipse.wst.sse.ui", IStatus.OK, "", null); //$NON-NLS-1$  //$NON-NLS-2$
    }
    return status;
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

  protected Change[] createChangesFor(IJavaElement element, String newName, IProgressMonitor monitor) {
    Change[] changes;
    BasicRefactorSearchRequestor requestor = getSearchRequestor(element, newName);
    if(requestor != null) {
      JSPSearchSupport support = JSPSearchSupport.getInstance();
      support.searchRunnable(element, new JSPSearchScope(), requestor, monitor);
      changes = requestor.getChanges(this);
    } else {
      changes = new Change[0];
    }
   
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.searchRunnable()

  protected Change[] createChangesFor(IJavaElement element, String newName, IProgressMonitor monitor) {
    Change[] changes;
    BasicRefactorSearchRequestor requestor = getSearchRequestor(element, newName);
    if(requestor != null) {
      JSPSearchSupport support = JSPSearchSupport.getInstance();
      support.searchRunnable(element, new JSPSearchScope(), requestor, monitor);
      changes = requestor.getChanges(this);
    } else {
      changes = new Change[0];
    }
   
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.