/*
* JBoss, Home of Professional Open Source.
*
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
*
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
*/
package org.teiid.designer.compare.provider;
import org.eclipse.emf.common.EMFPlugin;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
import org.eclipse.emf.mapping.MappingPlugin;
import org.teiid.designer.compare.ModelerComparePlugin;
/**
* This is the central singleton for the Compare edit plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*
* @since 8.0
*/
public final class CompareEditPlugin extends EMFPlugin {
/**
* Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public static final CompareEditPlugin INSTANCE = new CompareEditPlugin();
/**
* Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
static Implementation plugin;
/**
* Create the instance. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public CompareEditPlugin() {
super(new ResourceLocator[] {EcoreEditPlugin.INSTANCE, MappingPlugin.INSTANCE,});
}
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the singleton instance.
* @generated NOT
*/
@Override
public ResourceLocator getPluginResourceLocator() {
// Start customized code
return ModelerComparePlugin.getPluginResourceLocator();
// End customized code
}
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the singleton instance.
* @generated
*/
public ResourceLocator getPluginResourceLocatorGen() {
return plugin;
}
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the singleton instance.
* @generated
*/
public static Implementation getPlugin() {
return plugin;
}
/**
* The actual implementation of the Eclipse <b>Plugin</b>. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public static class Implementation extends EclipsePlugin {
/**
* Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public Implementation() {
// Remember the static instance.
//
plugin = this;
}
}
}