use of org.eclipse.xtext.ui.shared.internal.SharedModule in project xtext-eclipse by eclipse.
the class Bug349445Test method setUp.
@Before
public void setUp() throws Exception {
injector = Guice.createInjector(Modules2.mixin(new SharedModule(null), new AbstractModule() {
@Override
protected void configure() {
bind(PersistedStateProvider.class).toInstance(Bug349445Test.this);
bind(IMarkerUpdater.class).toInstance(Bug349445Test.this);
bind(IResourceServiceProvider.Registry.class).toInstance(Bug349445Test.this);
}
}));
loadCalled = 0;
testMe = injector.getInstance(ClusteringBuilderState.class);
}
use of org.eclipse.xtext.ui.shared.internal.SharedModule in project xtext-eclipse by eclipse.
the class PersistableResourceDescriptionsTest method createBuilderInjector.
@BeforeClass
public static void createBuilderInjector() {
SharedModule module = new SharedModule(null);
builderInjector = Guice.createInjector(module);
}
Aggregations