use of org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory in project xtext-eclipse by eclipse.
the class AbstractXbaseContentAssistTest method getResourceSet.
protected final XtextResourceSet getResourceSet() {
XtextResourceSet resourceSet = get(XtextResourceSet.class);
IJvmTypeProvider.Factory typeProviderFactory = new JdtTypeProviderFactory(this);
typeProviderFactory.findOrCreateTypeProvider(resourceSet);
resourceSet.setClasspathURIContext(getJavaProject(resourceSet));
return resourceSet;
}
use of org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory in project xtext-eclipse by eclipse.
the class AbstractXbaseContentAssistTest method getResourceSet.
protected final XtextResourceSet getResourceSet() {
XtextResourceSet resourceSet = get(XtextResourceSet.class);
IJvmTypeProvider.Factory typeProviderFactory = new JdtTypeProviderFactory(this);
typeProviderFactory.findOrCreateTypeProvider(resourceSet);
resourceSet.setClasspathURIContext(getJavaProject(resourceSet));
return resourceSet;
}
use of org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory in project xtext-eclipse by eclipse.
the class AbstractXbaseContentAssistBugTest method initializeTypeProvider.
protected void initializeTypeProvider(XtextResource result) {
XtextResourceSet resourceSet = (XtextResourceSet) result.getResourceSet();
JdtTypeProviderFactory typeProviderFactory = new JdtTypeProviderFactory(this);
typeProviderFactory.findOrCreateTypeProvider(resourceSet);
resourceSet.setClasspathURIContext(getJavaProject(resourceSet));
}
use of org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory in project xtext-xtend by eclipse.
the class AbstractXtendContentAssistBugTest method initializeTypeProvider.
protected void initializeTypeProvider(XtextResource result) {
XtextResourceSet resourceSet = (XtextResourceSet) result.getResourceSet();
IJvmTypeProvider.Factory typeProviderFactory = new JdtTypeProviderFactory(this);
typeProviderFactory.findOrCreateTypeProvider(resourceSet);
resourceSet.setClasspathURIContext(getJavaProject(resourceSet));
}
use of org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory in project xtext-xtend by eclipse.
the class AbstractXbaseContentAssistTest method getResourceSet.
protected final XtextResourceSet getResourceSet() {
XtextResourceSet resourceSet = get(XtextResourceSet.class);
IJvmTypeProvider.Factory typeProviderFactory = new JdtTypeProviderFactory(this);
typeProviderFactory.findOrCreateTypeProvider(resourceSet);
resourceSet.setClasspathURIContext(getJavaProject(resourceSet));
return resourceSet;
}
Aggregations