Class AppearanceTemplateUiPlugin

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

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

  • Constructor Details

    • AppearanceTemplateUiPlugin

      public AppearanceTemplateUiPlugin()
  • Method Details

    • createErrorStatus

      public static org.eclipse.core.runtime.IStatus createErrorStatus(String msg, Throwable e)
      Create new error status with message
      Parameters:
      msg - String, cannot be null
      e - the Throwable, cannot be null
      Returns:
      new instance of Status, cannot be null
    • getDefault

      public static AppearanceTemplateUiPlugin getDefault()
      Returns default plugin instance.
      Returns:
      the default plugin instance, cannot be null
    • getImage

      public static org.eclipse.swt.graphics.Image getImage(String symbolicName)
      Returns image.
      Parameters:
      symbolicName - the name, cannot be null
      Returns:
      the image, or null if none
    • getImageDescriptor

      public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String symbolicName)
      Returns image descriptor.
      Parameters:
      symbolicName - the name, cannot be null
      Returns:
      the image descriptor, or null if none
    • log

      public static void log(org.eclipse.core.runtime.IStatus status)
      Writes the given status to the log.
      Parameters:
      status - is the IStatus, cannot be null
    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Overrides:
      start in class org.eclipse.ui.plugin.AbstractUIPlugin
      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 org.eclipse.ui.plugin.AbstractUIPlugin
      Throws:
      Exception
    • getInjector

      public com.google.inject.Injector getInjector()
      Returns the Guice injector for the binary module.
      Returns:
      Injector instance, cannot be null
    • initializeImageRegistry

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