1 package org.simantics.db.impl;
\r
3 import org.eclipse.core.runtime.Plugin;
\r
4 import org.osgi.framework.BundleContext;
\r
5 import org.simantics.db.DevelopmentKeys;
\r
8 public class Activator extends Plugin {
\r
11 public static final String BUNDLE_ID = "org.simantics.db.impl"; //$NON-NLS-1$
\r
13 // The shared instance
\r
14 private static Activator plugin;
\r
19 public Activator() {
\r
24 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
\r
27 public void start(BundleContext context) throws Exception {
\r
28 super.start(context);
\r
31 // Make sure development debug key values are initialized if in development mode.
\r
32 DevelopmentKeys.initialize();
\r
37 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
\r
40 public void stop(BundleContext context) throws Exception {
\r
42 super.stop(context);
\r
46 * Returns the shared instance
\r
48 * @return the shared instance
\r
50 public static Activator getDefault() {
\r