/* * 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.core.extension.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.core.CoreMetamodelPlugin; /** * This is the central singleton for the Extension edit plugin. <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated * * @since 8.0 */ public final class ExtensionEditPlugin extends EMFPlugin { /** * Keep track of the singleton. <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public static final ExtensionEditPlugin INSTANCE = new ExtensionEditPlugin(); /** * 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 ExtensionEditPlugin() { super(new ResourceLocator[] {EcoreEditPlugin.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() { return CoreMetamodelPlugin.getPluginResourceLocator(); } /** * 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() { // 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; } } }