/* * generated by Xtext 2.13.0 */ package rba.tool.editor.ui; import com.google.inject.Injector; import org.eclipse.core.runtime.Platform; import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; import org.osgi.framework.Bundle; import rba.tool.editor.ui.internal.EditorActivator; /** * This class was generated. Customizations should only happen in a newly * introduced subclass. */ public class RBAModelExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { @Override protected Bundle getBundle() { return Platform.getBundle(EditorActivator.PLUGIN_ID); } @Override protected Injector getInjector() { EditorActivator activator = EditorActivator.getInstance(); return activator != null ? activator.getInjector(EditorActivator.RBA_TOOL_EDITOR_RBAMODEL) : null; } }