00001
00002
00003
00004 package org.best.of.robotics.ui;
00005
00006 import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
00007 import org.osgi.framework.Bundle;
00008
00009 import com.google.inject.Injector;
00010
00011 import org.best.of.robotics.ui.internal.SmachDSLActivator;
00012
00017 public class SmachDSLExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
00018
00019 @Override
00020 protected Bundle getBundle() {
00021 return SmachDSLActivator.getInstance().getBundle();
00022 }
00023
00024 @Override
00025 protected Injector getInjector() {
00026 return SmachDSLActivator.getInstance().getInjector(SmachDSLActivator.ORG_BEST_OF_ROBOTICS_SMACHDSL);
00027 }
00028
00029 }