Class CommonsUtilPlugin

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

    public class CommonsUtilPlugin
    extends Object
    implements org.osgi.framework.BundleActivator
    The activator class controls the plug-in life cycle
    • Constructor Detail

      • CommonsUtilPlugin

        public CommonsUtilPlugin()
        The constructor
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Throws:
        Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        Exception
      • getDefault

        public static CommonsUtilPlugin getDefault()
        Returns the shared instance
        Returns:
        the shared instance
      • openResource

        public static boolean openResource​(String openerId,
                                           Object root,
                                           Object resource)
      • log

        public static void log​(org.eclipse.core.runtime.IStatus status)
      • logErrorMessage

        public static void logErrorMessage​(String message)
      • logErrorStatus

        public static void logErrorStatus​(String message,
                                          org.eclipse.core.runtime.IStatus status)
      • log

        public static void log​(Throwable e)