KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ant > EMFAntPlugin


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2004-2005 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
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.0
24  */

25 public class EMFAntPlugin extends Plugin
26 {
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 }
Popular Tags