org.eclipse.xtext.ide.server.IWorkspaceConfigFactory Java Examples
The following examples show how to use
org.eclipse.xtext.ide.server.IWorkspaceConfigFactory.
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); }
Example #3
Source File: CustomServerModule.java From xtext-languageserver-example with Eclipse Public License 1.0 | 4 votes |
@Override protected void configure() { bind(IWorkspaceConfigFactory.class).to(MultiProjectWorkspaceConfigFactory.class); }