org.eclipse.xtext.xbase.typesystem.internal.OptimizingFeatureScopeTrackerProvider Java Examples

The following examples show how to use org.eclipse.xtext.xbase.typesystem.internal.OptimizingFeatureScopeTrackerProvider. 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: XbaseInjectorProviderWithScopeTracking.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public Injector createInjector() {
	return Guice.createInjector(new XbaseTestRuntimeModule() {
		@Override
		public void configure(com.google.inject.Binder binder) {
			super.configure(binder);
			binder.bind(IFeatureScopeTracker.Provider.class).to(OptimizingFeatureScopeTrackerProvider.class);
		}
		
	});
}
 
Example #2
Source File: XbaseInjectorProviderWithScopeTracking.java    From xtext-eclipse with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public Injector createInjector() {
	return Guice.createInjector(new XbaseTestRuntimeModule() {
		@Override
		public void configure(com.google.inject.Binder binder) {
			super.configure(binder);
			binder.bind(IFeatureScopeTracker.Provider.class).to(OptimizingFeatureScopeTrackerProvider.class);
		}
		
	});
}
 
Example #3
Source File: DefaultXbaseIdeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IFeatureScopeTracker.Provider> bindIFeatureScopeTrackerProvider() {
	return OptimizingFeatureScopeTrackerProvider.class;
}
 
Example #4
Source File: XbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends IFeatureScopeTracker.Provider> bindIFeatureScopeTracker$Provider() {
	return OptimizingFeatureScopeTrackerProvider.class;
}