Class MdUiPlugin

java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.v8.dt.internal.md.ui.MdActivator
com._1c.g5.v8.dt.internal.md.ui.MdUiPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class MdUiPlugin extends MdActivator
  • Field Details

  • Constructor Details

    • MdUiPlugin

      public MdUiPlugin()
  • Method Details

    • start

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

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Overrides:
      stop in class MdActivator
      Throws:
      Exception
    • log

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

      public static org.eclipse.core.runtime.IStatus createErrorStatus(String msg, Throwable e)
    • createWarningStatus

      public static org.eclipse.core.runtime.IStatus createWarningStatus(String msg)
    • logError

      public static void logError(String msg, Throwable e)
    • logError

      public static void logError(Throwable e)
    • logWarning

      public static void logWarning(String msg)
    • getStatusHandler

      public static StatusManagerHelper getStatusHandler()
    • getColorService

      public static IAutoValueService<Color> getColorService()
      Returns the instance of default color service.
      Returns:
      The instance of default color service.
    • getCheckImageBuilder

      public static CheckImageBuilder getCheckImageBuilder()
    • getImage

      public static org.eclipse.swt.graphics.Image getImage(Picture picture)
    • isLibraryFunctionalityEnabled

      public static boolean isLibraryFunctionalityEnabled()
      Tells whether the library functionality is enabled.
      Returns:
      true if the library functionality is enabled, false otherwise
    • initializeImageRegistry

      protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
      Overrides:
      initializeImageRegistry in class org.eclipse.ui.plugin.AbstractUIPlugin