/*
* 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.metamodels.diagram.provider;
import org.eclipse.emf.common.EMFPlugin;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
import org.teiid.designer.metamodels.diagram.DiagramPlugin;
/**
* This is the central singleton for the Diagram edit plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*
* @since 8.0
*/
public final class DiagramEditPlugin extends EMFPlugin {
/**
* Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public static final DiagramEditPlugin INSTANCE = new DiagramEditPlugin();
/**
* 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 DiagramEditPlugin() {
super(new ResourceLocator[] {EcoreEditPlugin.INSTANCE,});
}
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the singleton instance.
*/
@Override
public ResourceLocator getPluginResourceLocator() {
return DiagramPlugin.getPluginResourceLocator();
}
/**
* Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the singleton instance.
* @generated
*/
public static Implementation getPlugin() { // NO_UCD
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;
}
}
}