/* * (non-Javadoc) * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) */ public void start(BundleContext bundleContext) throws Exception { Activator.context = bundleContext; plugin = this; GLLogger.infoTech("initializing the igraph plugin for genlab...", getClass()); IgraphLibFactory.isIGraphAvailable(); // declare the LCF algos bundleContext.addBundleListener( new BundleListener() { @Override public void bundleChanged(BundleEvent event) { if (event.getType() != BundleEvent.STARTED) return; if (!event.getBundle().getSymbolicName().equals("genlab.core")) return; GLLogger.infoTech("declaring famous LCF graphs", getClass()); FamousLCFGraphs.declareFamousLCF(); } }); }
/* * (non-Javadoc) * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) */ public void start(BundleContext bundleContext) throws Exception { Activator.context = bundleContext; GLLogger.infoTech( "initializing the JUNG plugin, which imports version 2.0.1 of the library", getClass()); }