blob: 6160419d6d3d8b6c0df8469be05c24c2074d8abd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 RCP Vision (http://www.rcp-vision.com) 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
*
* Contributors:
* Vincenzo Caselli - initial API and implementation
*******************************************************************************/
package org.eclipse.emf.parsley.examples.eclipse4.parsleypart;
import org.osgi.framework.Bundle;
import org.eclipse.emf.parsley.EmfParsleyExtensionFactory;
import org.eclipse.emf.parsley.EmfParsleyGuiceModule;
import com.google.inject.Injector;
public class ParsleypartExecutableExtensionFactory extends
EmfParsleyExtensionFactory {
@Override
protected Bundle getBundle() {
return ParsleypartActivator.getDefault().getBundle();
}
@Override
protected EmfParsleyGuiceModule getModule() {
return ParsleypartActivator.getDefault().createModule();
}
@Override
protected Injector getInjector() {
return ParsleypartActivator.getDefault().getInjector();
}
}