sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.util/src/com/nokia/carbide/cpp/pi/util/PIUtilPlugin.java
equal
deleted
inserted
replaced
28 public static final String PLUGIN_ID = "com.nokia.carbide.cpp.pi.ui"; //$NON-NLS-1$ |
28 public static final String PLUGIN_ID = "com.nokia.carbide.cpp.pi.ui"; //$NON-NLS-1$ |
29 |
29 |
30 //The shared instance. |
30 //The shared instance. |
31 private static PIUtilPlugin plugin; |
31 private static PIUtilPlugin plugin; |
32 |
32 |
33 private static void setPlugin(PIUtilPlugin newPlugin) |
33 private static void setPlugin(final PIUtilPlugin newPlugin) |
34 { |
34 { |
35 plugin = newPlugin; |
35 plugin = newPlugin; |
36 } |
36 } |
37 |
37 |
38 /** |
38 /** |
43 } |
43 } |
44 |
44 |
45 /** |
45 /** |
46 * This method is called upon plug-in activation |
46 * This method is called upon plug-in activation |
47 */ |
47 */ |
48 public void start(BundleContext context) throws Exception { |
48 public void start(final BundleContext context) throws Exception { |
49 super.start(context); |
49 super.start(context); |
50 } |
50 } |
51 |
51 |
52 /** |
52 /** |
53 * This method is called when the plug-in is stopped |
53 * This method is called when the plug-in is stopped |
54 */ |
54 */ |
55 public void stop(BundleContext context) throws Exception { |
55 public void stop(final BundleContext context) throws Exception { |
56 super.stop(context); |
56 super.stop(context); |
57 setPlugin(null); |
57 setPlugin(null); |
58 } |
58 } |
59 |
59 |
60 /** |
60 /** |