コード例 #1
0
  /* (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();
  }
コード例 #2
0
 /* (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);
 }
コード例 #3
0
 /* (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);
 }