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