|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 package cenrep.provider; |
|
18 |
|
19 import org.eclipse.emf.common.EMFPlugin; |
|
20 import org.eclipse.emf.common.util.ResourceLocator; |
|
21 |
|
22 /** |
|
23 * This is the central singleton for the CRPluginModel edit plugin. |
|
24 * <!-- begin-user-doc --> |
|
25 * <!-- end-user-doc --> |
|
26 * @generated |
|
27 */ |
|
28 public final class CRPluginModelEditPlugin extends EMFPlugin { |
|
29 /** |
|
30 * Keep track of the singleton. |
|
31 * <!-- begin-user-doc --> |
|
32 * <!-- end-user-doc --> |
|
33 * @generated |
|
34 */ |
|
35 public static final CRPluginModelEditPlugin INSTANCE = new CRPluginModelEditPlugin(); |
|
36 |
|
37 /** |
|
38 * Keep track of the singleton. |
|
39 * <!-- begin-user-doc --> |
|
40 * <!-- end-user-doc --> |
|
41 * @generated |
|
42 */ |
|
43 private static Implementation plugin; |
|
44 |
|
45 /** |
|
46 * Create the instance. |
|
47 * <!-- begin-user-doc --> |
|
48 * <!-- end-user-doc --> |
|
49 * @generated |
|
50 */ |
|
51 public CRPluginModelEditPlugin() { |
|
52 super |
|
53 (new ResourceLocator [] { |
|
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 } |