mirror of
https://github.com/eMoflon/emoflon-ibex-ui.git
synced 2024-06-02 18:32:05 +00:00
30 lines
860 B
Java
30 lines
860 B
Java
/*
|
|
* generated by Xtext 2.25.0
|
|
*/
|
|
package org.emoflon.ibex.gt.editor.ui;
|
|
|
|
import com.google.inject.Injector;
|
|
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
|
|
import org.emoflon.ibex.gt.editor.ui.internal.EditorActivator;
|
|
import org.osgi.framework.Bundle;
|
|
import org.osgi.framework.FrameworkUtil;
|
|
|
|
/**
|
|
* This class was generated. Customizations should only happen in a newly
|
|
* introduced subclass.
|
|
*/
|
|
public class GTExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
|
|
|
|
@Override
|
|
protected Bundle getBundle() {
|
|
return FrameworkUtil.getBundle(EditorActivator.class);
|
|
}
|
|
|
|
@Override
|
|
protected Injector getInjector() {
|
|
EditorActivator activator = EditorActivator.getInstance();
|
|
return activator != null ? activator.getInjector(EditorActivator.ORG_EMOFLON_IBEX_GT_EDITOR_GT) : null;
|
|
}
|
|
|
|
}
|