1 /**2 * <copyright>3 *4 * Copyright (c) 2004-2005 IBM Corporation and others.5 * All rights reserved. This program and the accompanying materials6 * are made available under the terms of the Eclipse Public License v1.07 * which accompanies this distribution, and is available at8 * http://www.eclipse.org/legal/epl-v10.html9 * 10 * Contributors: 11 * IBM - Initial API and implementation12 *13 * </copyright>14 *15 * $Id: EMFAntPlugin.java,v 1.3 2005/06/08 06:17:17 nickb Exp $16 */17 package org.eclipse.emf.ant;18 19 import org.eclipse.core.runtime.Plugin;20 21 22 /**23 * @since 2.1.024 */25 public class EMFAntPlugin extends Plugin26 {27 //The shared instance.28 private static EMFAntPlugin plugin;29 30 public EMFAntPlugin()31 {32 super();33 plugin = this;34 }35 36 /**37 * Returns the shared instance.38 */39 public static EMFAntPlugin getDefault()40 {41 return plugin;42 }43 }