| 1 | package de.uka.ipd.sdq.pcmbench.ui; |
| 2 | |
| 3 | import org.eclipse.emf.common.EMFPlugin; |
| 4 | import org.eclipse.emf.common.util.ResourceLocator; |
| 5 | |
| 6 | /** |
| 7 | * The activator class controls the plug-in life cycle |
| 8 | */ |
| 9 | public class PCMBenchUIPlugin extends EMFPlugin { |
| 10 | |
| 11 | // The plug-in ID |
| 12 | public static final String PLUGIN_ID = "de.uka.ipd.sdq.pcmbench.ui"; |
| 13 | |
| 14 | // The shared instance |
| 15 | private static Implementation plugin; |
| 16 | |
| 17 | public static final PCMBenchUIPlugin INSTANCE = new PCMBenchUIPlugin(); |
| 18 | |
| 19 | /** |
| 20 | * The constructor |
| 21 | */ |
| 22 | public PCMBenchUIPlugin() { |
| 23 | super(new ResourceLocator[]{}); |
| 24 | } |
| 25 | |
| 26 | public ResourceLocator getPluginResourceLocator() { |
| 27 | return plugin; |
| 28 | } |
| 29 | |
| 30 | public static class Implementation extends EclipsePlugin { |
| 31 | /** |
| 32 | * Creates an instance. |
| 33 | * <!-- begin-user-doc --> |
| 34 | * <!-- end-user-doc --> |
| 35 | * @generated |
| 36 | */ |
| 37 | public Implementation() { |
| 38 | super(); |
| 39 | |
| 40 | // Remember the static instance. |
| 41 | // |
| 42 | plugin = this; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | } |