| /******************************************************************************* |
| * Copyright (c) 2016 Fundación Tecnalia Research & Innovation. |
| * |
| * 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: |
| * Huascar Espinoza - initial API and implementation |
| * Alejandra Ruíz - initial API and implementation |
| * Idoya Del Río - initial API and implementation |
| * Mari Carmen Palacios - initial API and implementation |
| * Angel López - initial API and implementation |
| *******************************************************************************/ |
| /* |
| * generated by Xtext |
| */ |
| package org.eclipse.opencert.sam.agree.ui; |
| |
| import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; |
| import org.osgi.framework.Bundle; |
| |
| import com.google.inject.Injector; |
| |
| import org.eclipse.opencert.sam.agree.ui.internal.AgreementActivator; |
| |
| /** |
| * This class was generated. Customizations should only happen in a newly |
| * introduced subclass. |
| */ |
| public class AgreementExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { |
| |
| @Override |
| protected Bundle getBundle() { |
| return AgreementActivator.getInstance().getBundle(); |
| } |
| |
| @Override |
| protected Injector getInjector() { |
| return AgreementActivator.getInstance().getInjector(AgreementActivator.ORG_OPENCERT_SAM_AGREE_AGREEMENT); |
| } |
| |
| } |