| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package EMOF.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 Qvtmodels edit plugin. |
| 15 | * <!-- begin-user-doc --> |
| 16 | * <!-- end-user-doc --> |
| 17 | * @generated |
| 18 | */ |
| 19 | public final class QvtmodelsEditPlugin extends EMFPlugin { |
| 20 | /** |
| 21 | * Keep track of the singleton. |
| 22 | * <!-- begin-user-doc --> |
| 23 | * <!-- end-user-doc --> |
| 24 | * @generated |
| 25 | */ |
| 26 | public static final QvtmodelsEditPlugin INSTANCE = new QvtmodelsEditPlugin(); |
| 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 QvtmodelsEditPlugin() { |
| 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 | @Override |
| 56 | public ResourceLocator getPluginResourceLocator() { |
| 57 | return plugin; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Returns the singleton instance of the Eclipse plugin. |
| 62 | * <!-- begin-user-doc --> |
| 63 | * <!-- end-user-doc --> |
| 64 | * @return the singleton instance. |
| 65 | * @generated |
| 66 | */ |
| 67 | public static Implementation getPlugin() { |
| 68 | return plugin; |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * The actual implementation of the Eclipse <b>Plugin</b>. |
| 73 | * <!-- begin-user-doc --> |
| 74 | * <!-- end-user-doc --> |
| 75 | * @generated |
| 76 | */ |
| 77 | public static class Implementation extends EclipsePlugin { |
| 78 | /** |
| 79 | * Creates an instance. |
| 80 | * <!-- begin-user-doc --> |
| 81 | * <!-- end-user-doc --> |
| 82 | * @generated |
| 83 | */ |
| 84 | public Implementation() { |
| 85 | super(); |
| 86 | |
| 87 | // Remember the static instance. |
| 88 | // |
| 89 | plugin = this; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | } |