org.eclipse.xtext.xbase.ui.XbaseExecutableExtensionFactory Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2010-2015 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.eclipse.xtext.xbase.ui;
import com.google.inject.Injector;
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
import org.eclipse.xtext.xbase.ui.internal.XbaseActivator;
import org.osgi.framework.Bundle;
/**
* This class was generated. Customizations should only happen in a newly
* introduced subclass.
*/
public class XbaseExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
@Override
protected Bundle getBundle() {
return XbaseActivator.getInstance().getBundle();
}
@Override
protected Injector getInjector() {
return XbaseActivator.getInstance().getInjector(XbaseActivator.ORG_ECLIPSE_XTEXT_XBASE_XBASE);
}
}