Class Activator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class Activator
    extends org.eclipse.ui.plugin.AbstractUIPlugin
    The activator class controls the plug-in life cycle
    • Field Detail

      • PLUGIN_ANALYZER_EXTENSION_ID

        public static final java.lang.String PLUGIN_ANALYZER_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_SUBSYSTEM_EXTENSION_ID

        public static final java.lang.String PLUGIN_SUBSYSTEM_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_FILTER_EXTENSION_ID

        public static final java.lang.String PLUGIN_FILTER_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_FILTERABLE_ROOT_SET_EXTENSION_ID

        public static final java.lang.String PLUGIN_FILTERABLE_ROOT_SET_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_CODEMAP_EXTENSION_ID

        public static final java.lang.String PLUGIN_CODEMAP_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_WORKITEM_EXTENSION_ID

        public static final java.lang.String PLUGIN_WORKITEM_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_LANGUAGE_SPECIFIC_ANALYSIS_EXTENSION_ID

        public static final java.lang.String PLUGIN_LANGUAGE_SPECIFIC_ANALYSIS_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_CODE_PAINTER_EXTENSION_ID

        public static final java.lang.String PLUGIN_CODE_PAINTER_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_COLOR_PALETTE_EXTENSION_ID

        public static final java.lang.String PLUGIN_COLOR_PALETTE_EXTENSION_ID
        See Also:
        Constant Field Values
      • PLUGIN_INITIALIZER_EXTENSION_ID

        public static final java.lang.String PLUGIN_INITIALIZER_EXTENSION_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • Activator

        public Activator()
        The constructor
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws java.lang.Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Overrides:
        start in class org.eclipse.ui.plugin.AbstractUIPlugin
        Throws:
        java.lang.Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws java.lang.Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Overrides:
        stop in class org.eclipse.ui.plugin.AbstractUIPlugin
        Throws:
        java.lang.Exception
      • getDefault

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