/* (non-Javadoc) * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) */ @Override public void start(BundleContext context) throws Exception { super.start(context); fLogFileProvider = new PDELogFileProvider(); LogFilesManager.addLogFileProvider(fLogFileProvider); TargetStatus.initializeTargetStatus(); }
/* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) */ public void stop(BundleContext context) throws Exception { if (fFormColors != null) { fFormColors.dispose(); fFormColors = null; } if (fLabelProvider != null) { fLabelProvider.dispose(); fLabelProvider = null; } if (fLogFileProvider != null) { LogFilesManager.removeLogFileProvider(fLogFileProvider); fLogFileProvider = null; } Utilities.shutdown(); super.stop(context); }
/* (non-Javadoc) * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) */ public void start(BundleContext context) throws Exception { super.start(context); fLogFileProvider = new PDELogFileProvider(); LogFilesManager.addLogFileProvider(fLogFileProvider); }