示例#1
0
  /*
   * (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;

    proverProcessSupport = new ZEvesProcessSupport();
    editTracker = new ZEditorEditTracker();
    editTracker.init();
  }
示例#2
0
  /*
   * (non-Javadoc)
   * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
   */
  public void stop(BundleContext context) throws Exception {

    if (editTracker != null) {
      editTracker.dispose();
      editTracker = null;
    }

    if (proverProcessSupport != null) {
      proverProcessSupport.dispose();
      proverProcessSupport = null;
    }

    plugin = null;
    super.stop(context);
  }