| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.identifier.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 Identifier edit plugin. |
| 15 | * <!-- begin-user-doc --> |
| 16 | * <!-- end-user-doc --> |
| 17 | * @generated |
| 18 | */ |
| 19 | public final class IdentifierEditPlugin extends EMFPlugin { |
| 20 | /** |
| 21 | * <!-- begin-user-doc --> |
| 22 | * <!-- end-user-doc --> |
| 23 | * @generated |
| 24 | */ |
| 25 | public static final String copyright = "Copyright 2007-2009, SDQ, IPD, U Karlsruhe"; |
| 26 | |
| 27 | /** |
| 28 | * Keep track of the singleton. |
| 29 | * <!-- begin-user-doc --> |
| 30 | * <!-- end-user-doc --> |
| 31 | * @generated |
| 32 | */ |
| 33 | public static final IdentifierEditPlugin INSTANCE = new IdentifierEditPlugin(); |
| 34 | |
| 35 | /** |
| 36 | * Keep track of the singleton. |
| 37 | * <!-- begin-user-doc --> |
| 38 | * <!-- end-user-doc --> |
| 39 | * @generated |
| 40 | */ |
| 41 | private static Implementation plugin; |
| 42 | |
| 43 | /** |
| 44 | * Create the instance. |
| 45 | * <!-- begin-user-doc --> |
| 46 | * <!-- end-user-doc --> |
| 47 | * @generated |
| 48 | */ |
| 49 | public IdentifierEditPlugin() { |
| 50 | super |
| 51 | (new ResourceLocator [] { |
| 52 | }); |
| 53 | } |
| 54 | |
| 55 | /** |
| 56 | * Returns the singleton instance of the Eclipse plugin. |
| 57 | * <!-- begin-user-doc --> |
| 58 | * <!-- end-user-doc --> |
| 59 | * @return the singleton instance. |
| 60 | * @generated |
| 61 | */ |
| 62 | @Override |
| 63 | public ResourceLocator getPluginResourceLocator() { |
| 64 | return plugin; |
| 65 | } |
| 66 | |
| 67 | /** |
| 68 | * Returns the singleton instance of the Eclipse plugin. |
| 69 | * <!-- begin-user-doc --> |
| 70 | * <!-- end-user-doc --> |
| 71 | * @return the singleton instance. |
| 72 | * @generated |
| 73 | */ |
| 74 | public static Implementation getPlugin() { |
| 75 | return plugin; |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * The actual implementation of the Eclipse <b>Plugin</b>. |
| 80 | * <!-- begin-user-doc --> |
| 81 | * <!-- end-user-doc --> |
| 82 | * @generated |
| 83 | */ |
| 84 | public static class Implementation extends EclipsePlugin { |
| 85 | /** |
| 86 | * Creates an instance. |
| 87 | * <!-- begin-user-doc --> |
| 88 | * <!-- end-user-doc --> |
| 89 | * @generated |
| 90 | */ |
| 91 | public Implementation() { |
| 92 | super(); |
| 93 | |
| 94 | // Remember the static instance. |
| 95 | // |
| 96 | plugin = this; |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | } |