/*
   * (non-Javadoc)
   *
   * @see
   * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
   * )
   */
  public void stop(BundleContext context) throws Exception {
    try {
      for (File file : getHistoryDirectory().listFiles()) {
        if (file.isFile()) file.delete();
      }
    } catch (Exception e) {
    }

    fIsStopped = true;
    try {
      fPHPUnitModel.stop();
    } finally {
      plugin = null;
      super.stop(context);
    }
  }
 /*
  * (non-Javadoc)
  *
  * @see
  * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
  * )
  */
 public void start(BundleContext context) throws Exception {
   super.start(context);
   plugin = this;
   fIsStopped = false;
   fPHPUnitModel.start();
 }