| /****************************************************************************** |
| * * |
| * 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 * |
| * * |
| *============================================================================* |
| * Initial contribution: * |
| * Loetz GmbH & Co. KG * |
| * * |
| * based on mwe2 * |
| ******************************************************************************/ |
| package org.eclipse.osbp.xtext.dialogdsl.ui; |
| |
| import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; |
| import org.osgi.framework.Bundle; |
| |
| import com.google.inject.Injector; |
| |
| import org.eclipse.osbp.xtext.dialogdsl.ui.internal.DialogDslActivator; |
| |
| /** |
| * This class was generated. Customizations should only happen in a newly |
| * introduced subclass. |
| */ |
| public class DialogDslExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { |
| |
| @Override |
| protected Bundle getBundle() { |
| return DialogDslActivator.getInstance().getBundle(); |
| } |
| |
| @Override |
| protected Injector getInjector() { |
| return DialogDslActivator.getInstance().getInjector(DialogDslActivator.ORG_ECLIPSE_OSBP_XTEXT_DIALOGDSL_DIALOGDSL); |
| } |
| |
| } |