| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg) |
| * 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: |
| * Florian Pirchner - Initial implementation |
| * |
| * generated by Xtext 2.11.0 |
| * |
| */ |
| |
| package org.eclipse.osbp.ecview.uisemantics.ui; |
| |
| import com.google.inject.Injector; |
| import org.eclipse.osbp.ecview.uisemantics.ui.internal.UisemanticsActivator; |
| import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; |
| import org.osgi.framework.Bundle; |
| |
| /** |
| * This class was generated. Customizations should only happen in a newly |
| * introduced subclass. |
| */ |
| public class UISemanticsGrammarExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { |
| |
| @Override |
| protected Bundle getBundle() { |
| return UisemanticsActivator.getInstance().getBundle(); |
| } |
| |
| @Override |
| protected Injector getInjector() { |
| return UisemanticsActivator.getInstance().getInjector(UisemanticsActivator.ORG_ECLIPSE_OSBP_ECVIEW_UISEMANTICS_UISEMANTICSGRAMMAR); |
| } |
| |
| } |