org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedFeatures Java Examples
The following examples show how to use
org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedFeatures.
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: NoImplicitImportsRuntimeInjectorProvider.java From xtext-xtend with Eclipse Public License 2.0 | 6 votes |
@Override protected Injector internalCreateInjector() { return new RuntimeTestSetup() { @Override public Injector createInjector() { return Guice.createInjector(new XtendRuntimeTestModule() { @SuppressWarnings("unused") public Class<? extends ImplicitlyImportedFeatures> bindImplicitlyImportedFeatures() { return NoImplicitlyImportedFeatures.class; } }); } }.createInjectorAndDoEMFRegistration(); }
Example #2
Source File: XtxtUMLRuntimeModule.java From txtUML with Eclipse Public License 1.0 | 4 votes |
public Class<? extends ImplicitlyImportedFeatures> bindImplicitlyImportedFeatures() { return XtxtUMLImplicitlyImportedFeatures.class; }
Example #3
Source File: DocumentationSetup.java From sarl with Apache License 2.0 | 4 votes |
@Override public void configure(Binder binder) { binder.bind(ImplicitlyImportedFeatures.class).to(DocumentationImplicitlyImportedFeatures.class).in(Singleton.class); }
Example #4
Source File: AbstractSARLRuntimeModule.java From sarl with Apache License 2.0 | 4 votes |
public Class<? extends ImplicitlyImportedFeatures> bindImplicitlyImportedFeatures() { return SARLImplicitlyImportedFeatures.class; }