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