Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2014 itemis AG (http://www.itemis.eu) and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html /
  
  package org.eclipse.xtext.ui.editor.findrefs;
  
 import java.util.Set;
 
 import  org.eclipse.core.runtime.IProgressMonitor;
 
Implementation of the UI APIs for find references that delegates to the runtime implementation.

Author(s):
Sebastian Zarnekow - Initial contribution and API
 
 
 	
 	
 	
 	
 	public void findReferences(Set<URItargetURIsIResourceDescription resourceDescription,
 			IAcceptor<IReferenceDescriptionacceptor, IProgressMonitor monitor,
 			ILocalResourceAccess localResourceAccess) {
 		.findReferences(.fromIterable(targetURIs), resourceDescriptionlocalResourceAccesstoAcceptor(acceptor), monitor);
 	}
 
 	public void findReferences(Iterable<URItargetURIsIterable<URIsourceResourceURIs,
 			ILocalResourceAccess localResourceAccessIAcceptor<IReferenceDescriptionacceptor,
 			IProgressMonitor monitor) {
 		Set<URIasSet = Sets.newHashSet(sourceResourceURIs);
 		.findReferences(.fromIterable(targetURIs), asSetlocalResourceAccesstoAcceptor(acceptor), monitor);
 	}
 
 	public void findAllReferences(Iterable<URItargetURIsILocalResourceAccess localResourceAccess,
 			IAcceptor<IReferenceDescriptionacceptor, IProgressMonitor monitor) {
 		.findAllReferences(.fromIterable(targetURIs), localResourceAccesstoAcceptor(acceptor), monitor);
 	}
 	
 	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
 
 		return ;
 	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
 
 	public void setConverter(TargetURIConverter converter) {
 		this. = converter;
 	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
 
 		return ;
 	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
 
 		this. = delegate;
 	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
		return ;
	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
	public void setIndexData(IResourceDescriptions indexData) {
		this. = indexData;
	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
	}

Public for testing purpose.

Noreference:
This method is not intended to be referenced by clients.
	public void setResourceServiceProviderRegistry(IResourceServiceProvider.Registry resourceServiceProviderRegistry) {
		this. = resourceServiceProviderRegistry;
	}
New to GrepCode? Check out our FAQ X