| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.pipesandfilters.provider; |
| 8 | |
| 9 | import de.uka.ipd.sdq.identifier.provider.IdentifierEditPlugin; |
| 10 | |
| 11 | import org.eclipse.emf.common.EMFPlugin; |
| 12 | |
| 13 | import org.eclipse.emf.common.util.ResourceLocator; |
| 14 | |
| 15 | /** |
| 16 | * This is the central singleton for the Pipesandfilters edit plugin. |
| 17 | * <!-- begin-user-doc --> |
| 18 | * <!-- end-user-doc --> |
| 19 | * @generated |
| 20 | */ |
| 21 | public final class PipesandfiltersEditPlugin extends EMFPlugin { |
| 22 | /** |
| 23 | * Keep track of the singleton. |
| 24 | * <!-- begin-user-doc --> |
| 25 | * <!-- end-user-doc --> |
| 26 | * @generated |
| 27 | */ |
| 28 | public static final PipesandfiltersEditPlugin INSTANCE = new PipesandfiltersEditPlugin(); |
| 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 PipesandfiltersEditPlugin() { |
| 45 | super |
| 46 | (new ResourceLocator [] { |
| 47 | IdentifierEditPlugin.INSTANCE, |
| 48 | }); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Returns the singleton instance of the Eclipse plugin. |
| 53 | * <!-- begin-user-doc --> |
| 54 | * <!-- end-user-doc --> |
| 55 | * @return the singleton instance. |
| 56 | * @generated |
| 57 | */ |
| 58 | @Override |
| 59 | public ResourceLocator getPluginResourceLocator() { |
| 60 | return plugin; |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Returns the singleton instance of the Eclipse plugin. |
| 65 | * <!-- begin-user-doc --> |
| 66 | * <!-- end-user-doc --> |
| 67 | * @return the singleton instance. |
| 68 | * @generated |
| 69 | */ |
| 70 | public static Implementation getPlugin() { |
| 71 | return plugin; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * The actual implementation of the Eclipse <b>Plugin</b>. |
| 76 | * <!-- begin-user-doc --> |
| 77 | * <!-- end-user-doc --> |
| 78 | * @generated |
| 79 | */ |
| 80 | public static class Implementation extends EclipsePlugin { |
| 81 | /** |
| 82 | * Creates an instance. |
| 83 | * <!-- begin-user-doc --> |
| 84 | * <!-- end-user-doc --> |
| 85 | * @generated |
| 86 | */ |
| 87 | public Implementation() { |
| 88 | super(); |
| 89 | |
| 90 | // Remember the static instance. |
| 91 | // |
| 92 | plugin = this; |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | } |