org.eclipse.xtext.ide.server.LanguageServerImpl Java Examples
The following examples show how to use
org.eclipse.xtext.ide.server.LanguageServerImpl.
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: RuntimeServerModule.java From openhab-core with Eclipse Public License 2.0 | 5 votes |
@Override protected void configure() { binder().bind(ExecutorService.class).toProvider(ExecutorServiceProvider.class); bind(UriExtensions.class).toInstance(new MappingUriExtensions(ConfigConstants.getConfigFolder())); bind(LanguageServer.class).to(LanguageServerImpl.class); bind(IResourceServiceProvider.Registry.class).toProvider(new RegistryProvider(scriptServiceUtil, scriptEngine)); bind(IWorkspaceConfigFactory.class).to(ProjectWorkspaceConfigFactory.class); bind(IProjectDescriptionFactory.class).to(DefaultProjectDescriptionFactory.class); bind(IContainer.Manager.class).to(ProjectDescriptionBasedContainerManager.class); bind(ILanguageServerShutdownAndExitHandler.class).to(ILanguageServerShutdownAndExitHandler.NullImpl.class); }
Example #2
Source File: RuntimeServerModule.java From smarthome with Eclipse Public License 2.0 | 5 votes |
@Override protected void configure() { binder().bind(ExecutorService.class).toProvider(ExecutorServiceProvider.class); bind(UriExtensions.class).toInstance(new MappingUriExtensions(ConfigConstants.getConfigFolder())); bind(LanguageServer.class).to(LanguageServerImpl.class); bind(IResourceServiceProvider.Registry.class).toProvider(new RegistryProvider(scriptServiceUtil, scriptEngine)); bind(IWorkspaceConfigFactory.class).to(ProjectWorkspaceConfigFactory.class); bind(IProjectDescriptionFactory.class).to(DefaultProjectDescriptionFactory.class); bind(IContainer.Manager.class).to(ProjectDescriptionBasedContainerManager.class); }