Search in sources :

Example 1 with ScriptIdeSetup

use of org.eclipse.smarthome.model.script.ide.ScriptIdeSetup 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;
}
Also used : RulesIdeSetup(org.eclipse.smarthome.model.rule.ide.RulesIdeSetup) IResourceServiceProvider(org.eclipse.xtext.resource.IResourceServiceProvider) ItemsIdeSetup(org.eclipse.smarthome.model.ide.ItemsIdeSetup) PersistenceIdeSetup(org.eclipse.smarthome.model.persistence.ide.PersistenceIdeSetup) Registry(org.eclipse.xtext.resource.IResourceServiceProvider.Registry) ResourceServiceProviderRegistryImpl(org.eclipse.xtext.resource.impl.ResourceServiceProviderRegistryImpl) SitemapIdeSetup(org.eclipse.smarthome.model.ide.SitemapIdeSetup) ThingIdeSetup(org.eclipse.smarthome.model.thing.ide.ThingIdeSetup) ScriptIdeSetup(org.eclipse.smarthome.model.script.ide.ScriptIdeSetup)

Aggregations

ItemsIdeSetup (org.eclipse.smarthome.model.ide.ItemsIdeSetup)1 SitemapIdeSetup (org.eclipse.smarthome.model.ide.SitemapIdeSetup)1 PersistenceIdeSetup (org.eclipse.smarthome.model.persistence.ide.PersistenceIdeSetup)1 RulesIdeSetup (org.eclipse.smarthome.model.rule.ide.RulesIdeSetup)1 ScriptIdeSetup (org.eclipse.smarthome.model.script.ide.ScriptIdeSetup)1 ThingIdeSetup (org.eclipse.smarthome.model.thing.ide.ThingIdeSetup)1 IResourceServiceProvider (org.eclipse.xtext.resource.IResourceServiceProvider)1 Registry (org.eclipse.xtext.resource.IResourceServiceProvider.Registry)1 ResourceServiceProviderRegistryImpl (org.eclipse.xtext.resource.impl.ResourceServiceProviderRegistryImpl)1