KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > presentation > EcoreEditorPlugin


1 /**
2  * <copyright>
3  * </copyright>
4  *
5  * $Id: EcoreEditorPlugin.java,v 1.3 2004/06/08 18:29:04 emerks Exp $
6  */

7 package org.eclipse.emf.ecore.presentation;
8
9
10 import org.eclipse.emf.common.EMFPlugin;
11 import org.eclipse.emf.common.util.ResourceLocator;
12
13
14 /**
15  * This is the central singleton for the Ecore editor plugin.
16  * <!-- begin-user-doc -->
17  * <!-- end-user-doc -->
18  * @generated
19  */

20 public final class EcoreEditorPlugin extends EMFPlugin
21 {
22   /**
23    * Keep track of the singleton.
24    * <!-- begin-user-doc -->
25    * <!-- end-user-doc -->
26    * @generated
27    */

28   public static final EcoreEditorPlugin INSTANCE = new EcoreEditorPlugin();
29
30   /**
31    * Keep track of the singleton.
32    * <!-- begin-user-doc -->
33    * <!-- end-user-doc -->
34    * @generated
35    */

36   private static Implementation plugin;
37
38   /**
39    * Create the instance.
40    * <!-- begin-user-doc -->
41    * <!-- end-user-doc -->
42    * @generated
43    */

44   public EcoreEditorPlugin()
45   {
46     super
47       (new ResourceLocator []
48        {
49        });
50   }
51
52   /**
53    * Returns the singleton instance of the Eclipse plugin.
54    * <!-- begin-user-doc -->
55    * <!-- end-user-doc -->
56    * @return the singleton instance.
57    * @generated
58    */

59   public ResourceLocator getPluginResourceLocator()
60   {
61     return plugin;
62   }
63
64   /**
65    * Returns the singleton instance of the Eclipse plugin.
66    * <!-- begin-user-doc -->
67    * <!-- end-user-doc -->
68    * @return the singleton instance.
69    * @generated
70    */

71   public static Implementation getPlugin()
72   {
73     return plugin;
74   }
75
76   /**
77    * The actual implementation of the Eclipse <b>Plugin</b>.
78    * <!-- begin-user-doc -->
79    * <!-- end-user-doc -->
80    * @generated
81    */

82   public static class Implementation extends EclipsePlugin
83   {
84     /**
85      * Creates an instance.
86      * <!-- begin-user-doc -->
87      * <!-- end-user-doc -->
88      * @generated
89      */

90     public Implementation()
91     {
92       super();
93
94       // Remember the static instance.
95
//
96
plugin = this;
97     }
98   }
99 }
100
Popular Tags