Class Activator

java.lang.Object
org.eclipse.core.runtime.Plugin
de.uka.ipd.sdq.pcm.gmf.resource.custom.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator extends Plugin
The activator class controls the plug-in life cycle.
  • Field Details

  • Constructor Details

    • Activator

      public Activator()
      The constructor.
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Start.
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Overrides:
      start in class Plugin
      Parameters:
      context - a BundleContext
      Throws:
      Exception - an exception
      See Also:
      • org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Stop.
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Overrides:
      stop in class Plugin
      Parameters:
      context - a BundleContext
      Throws:
      Exception - an exception
      See Also:
    • getDefault

      public static Activator getDefault()
      Returns the shared instance.
      Returns:
      the shared instance