use of org.eclipse.xtext.ui.containers.StrictJavaProjectsState in project xtext-eclipse by eclipse.
the class StrictJavaProjectsStateTest method createProjectsState.
@Override
protected StrictJavaProjectsState createProjectsState(IStorage2UriMapper mapper) {
StrictJavaProjectsState result = new StrictJavaProjectsState();
result.setMapper(mapper);
result.setJdtHelper(new JdtHelper());
JavaProjectsStateHelper javaProjectsStateHelper = new JavaProjectsStateHelper();
javaProjectsStateHelper.setMapper(mapper);
javaProjectsStateHelper.setUriMapperExtensions((IStorage2UriMapperJdtExtensions) ((Storage2UriMapperImpl) mapper).getContribution());
javaProjectsStateHelper.setWorkspace(ResourcesPlugin.getWorkspace());
result.setHelper(javaProjectsStateHelper);
return result;
}
Aggregations