blob: 2fa3f2ae5ea45a717cf2a26093a9eca36ff179fc [file] [log] [blame]
package org.eclipse.emf.henshin.adapters.xtext.ui
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory
import org.osgi.framework.Bundle
import com.google.inject.Injector
/**
* Instantiates classes declared in the plugin.xml using the DI container.
*/
class HenshinExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
override protected Bundle getBundle() {
return Activator.getDefault().getBundle()
}
override protected Injector getInjector() {
return Activator.getDefault().getInjector()
}
}