org.eclipse.xtext.ui.testing.util.ResourceLoadHelper Java Examples

The following examples show how to use org.eclipse.xtext.ui.testing.util.ResourceLoadHelper. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: N4ContentAssistProcessorTestBuilder.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public N4ContentAssistProcessorTestBuilder create(ResourceLoadHelper resourceLoadHelper) throws Exception {
	return new N4ContentAssistProcessorTestBuilder(this.injector, resourceLoadHelper);
}
 
Example #2
Source File: N4ContentAssistProcessorTestBuilder.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/***/
public N4ContentAssistProcessorTestBuilder(Injector injector, ResourceLoadHelper helper) throws Exception {
	super(injector, helper);
}
 
Example #3
Source File: ContentAssistProcessorTestBuilder.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public ContentAssistProcessorTestBuilder create(ResourceLoadHelper resourceLoadHelper) throws Exception {
	return new ContentAssistProcessorTestBuilder(this.injector, resourceLoadHelper);
}
 
Example #4
Source File: ContentAssistProcessorTestBuilder.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public ContentAssistProcessorTestBuilder(Injector injector, ResourceLoadHelper helper) throws Exception {
	this.injector = injector;
	this.injector.injectMembers(this);
	this.loadHelper = helper;
}
 
Example #5
Source File: AcfContentAssistProcessorTestBuilder.java    From dsl-devkit with Eclipse Public License 1.0 2 votes vote down vote up
/**
 * Creates a new instance of {@link AcfContentAssistProcessorTestBuilder}.
 *
 * @param injector
 *          the injector to use
 * @param helper
 *          the test utility helper to load resources
 * @throws Exception
 *           in case the injector was not setup beforehand
 */
public AcfContentAssistProcessorTestBuilder(final Injector injector, final ResourceLoadHelper helper) throws Exception {
  super(injector, helper);
  this.loadHelper = helper;
}