| 1 | /** |
| 2 | * Copyright 2006, SDQ Group, University Karlsruhe (TH) |
| 3 | * |
| 4 | * $Id$ |
| 5 | */ |
| 6 | package de.uka.ipd.sdq.context.computed_usage.provider; |
| 7 | |
| 8 | import de.uka.ipd.sdq.identifier.provider.IdentifierEditPlugin; |
| 9 | |
| 10 | import de.uka.ipd.sdq.pcm.core.provider.PalladioComponentModelEditPlugin; |
| 11 | |
| 12 | import de.uka.ipd.sdq.probfunction.provider.ProbabilityFunctionEditPlugin; |
| 13 | |
| 14 | import de.uka.ipd.sdq.stoex.provider.StoexEditPlugin; |
| 15 | |
| 16 | import de.uka.ipd.sdq.units.provider.UnitsEditPlugin; |
| 17 | |
| 18 | import org.eclipse.emf.common.EMFPlugin; |
| 19 | |
| 20 | import org.eclipse.emf.common.util.ResourceLocator; |
| 21 | |
| 22 | /** |
| 23 | * This is the central singleton for the Context edit plugin. |
| 24 | * <!-- begin-user-doc --> |
| 25 | * <!-- end-user-doc --> |
| 26 | * @generated |
| 27 | */ |
| 28 | public final class ContextEditPlugin extends EMFPlugin { |
| 29 | /** |
| 30 | * <!-- begin-user-doc --> |
| 31 | * <!-- end-user-doc --> |
| 32 | * @generated |
| 33 | */ |
| 34 | public static final String copyright = "Copyright 2006, SDQ Group, University Karlsruhe (TH)"; |
| 35 | |
| 36 | /** |
| 37 | * Keep track of the singleton. |
| 38 | * <!-- begin-user-doc --> |
| 39 | * <!-- end-user-doc --> |
| 40 | * @generated |
| 41 | */ |
| 42 | public static final ContextEditPlugin INSTANCE = new ContextEditPlugin(); |
| 43 | |
| 44 | /** |
| 45 | * Keep track of the singleton. |
| 46 | * <!-- begin-user-doc --> |
| 47 | * <!-- end-user-doc --> |
| 48 | * @generated |
| 49 | */ |
| 50 | private static Implementation plugin; |
| 51 | |
| 52 | /** |
| 53 | * Create the instance. |
| 54 | * <!-- begin-user-doc --> |
| 55 | * <!-- end-user-doc --> |
| 56 | * @generated |
| 57 | */ |
| 58 | public ContextEditPlugin() { |
| 59 | super |
| 60 | (new ResourceLocator [] { |
| 61 | IdentifierEditPlugin.INSTANCE, |
| 62 | PalladioComponentModelEditPlugin.INSTANCE, |
| 63 | ProbabilityFunctionEditPlugin.INSTANCE, |
| 64 | StoexEditPlugin.INSTANCE, |
| 65 | UnitsEditPlugin.INSTANCE, |
| 66 | }); |
| 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 | @Override |
| 77 | public ResourceLocator getPluginResourceLocator() { |
| 78 | return plugin; |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Returns the singleton instance of the Eclipse plugin. |
| 83 | * <!-- begin-user-doc --> |
| 84 | * <!-- end-user-doc --> |
| 85 | * @return the singleton instance. |
| 86 | * @generated |
| 87 | */ |
| 88 | public static Implementation getPlugin() { |
| 89 | return plugin; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * The actual implementation of the Eclipse <b>Plugin</b>. |
| 94 | * <!-- begin-user-doc --> |
| 95 | * <!-- end-user-doc --> |
| 96 | * @generated |
| 97 | */ |
| 98 | public static class Implementation extends EclipsePlugin { |
| 99 | /** |
| 100 | * Creates an instance. |
| 101 | * <!-- begin-user-doc --> |
| 102 | * <!-- end-user-doc --> |
| 103 | * @generated |
| 104 | */ |
| 105 | public Implementation() { |
| 106 | super(); |
| 107 | |
| 108 | // Remember the static instance. |
| 109 | // |
| 110 | plugin = this; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | } |