blob: 67922f1be4fe6c4069b8f37d407456c98eb11d36 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* 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
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.reportdsl.ui;
import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
import org.osgi.framework.Bundle;
import com.google.inject.Injector;
import org.eclipse.osbp.xtext.reportdsl.ui.internal.ReportDSLActivator;
/**
* This class was generated. Customizations should only happen in a newly
* introduced subclass.
*/
public class ReportDSLExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
@Override
protected Bundle getBundle() {
return ReportDSLActivator.getInstance().getBundle();
}
@Override
protected Injector getInjector() {
return ReportDSLActivator.getInstance().getInjector(ReportDSLActivator.ORG_ECLIPSE_OSBP_XTEXT_REPORTDSL_REPORTDSL);
}
}