Class InitDTFJ

java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.mat.dtfj.InitDTFJ
All Implemented Interfaces:
EventListener, IRegistryChangeListener, org.osgi.framework.BundleActivator

public class InitDTFJ extends Plugin implements IRegistryChangeListener
Controls the loading of this plugin and finds the available DTFJ implementations.
  • Constructor Details

    • InitDTFJ

      public InitDTFJ()
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Start the bundle - find DTFJ implementations and convert to parsers. Register listener for new DTFJ implementations.
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Overrides:
      start in class Plugin
      Throws:
      Exception
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Stop the bundle, deregister parsers associated with DTFJ. Deregister listener for new DTFJ implementations.
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Overrides:
      stop in class Plugin
      Throws:
      Exception
    • registryChanged

      public void registryChanged(IRegistryChangeEvent event)
      DTFJ implementation added/removed.
      Specified by:
      registryChanged in interface IRegistryChangeListener
    • getPreferenceStore

      public Object getPreferenceStore()