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