KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > dods > editor > Doml > provider > DomlEditPlugin


1 /**
2  * <copyright>
3  * </copyright>
4  *
5  * $Id$
6  */

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

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

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

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

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

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

66     public static Implementation getPlugin() {
67         return plugin;
68     }
69
70     /**
71      * The actual implementation of the Eclipse <b>Plugin</b>.
72      * <!-- begin-user-doc -->
73      * <!-- end-user-doc -->
74      * @generated
75      */

76     public static class Implementation extends EclipsePlugin {
77         /**
78          * Creates an instance.
79          * <!-- begin-user-doc -->
80          * <!-- end-user-doc -->
81          * @generated
82          */

83         public Implementation() {
84             super();
85
86             // Remember the static instance.
87
//
88
plugin = this;
89         }
90     }
91
92 }
93
Popular Tags