use of org.eclipse.smarthome.model.ide.ItemsIdeSetup in project smarthome by eclipse.
the class RegistryProvider method createRegistry.
private Registry createRegistry() {
registerDefaultFactories();
IResourceServiceProvider.Registry registry = new ResourceServiceProviderRegistryImpl();
register(registry, new ItemsIdeSetup().createInjector());
register(registry, new PersistenceIdeSetup().createInjector());
register(registry, new RulesIdeSetup().setScriptServiceUtil(scriptServiceUtil).setScriptEngine(scriptEngine).createInjector());
register(registry, new ScriptIdeSetup().setScriptServiceUtil(scriptServiceUtil).setScriptEngine(scriptEngine).createInjector());
register(registry, new SitemapIdeSetup().createInjector());
register(registry, new ThingIdeSetup().createInjector());
return registry;
}
Aggregations