Class Aef2StandardLwtPlugin

java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.aef2.standard.internal.lwt.Aef2StandardLwtPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Aef2StandardLwtPlugin extends org.eclipse.ui.plugin.AbstractUIPlugin
AEF Standard LWT plug-in activator.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    AEF Standard LWT plug-in id.

    Fields inherited from class org.eclipse.core.runtime.Plugin

    PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.swt.graphics.Color
    getColor(org.eclipse.swt.graphics.RGB rgb)
    Returns color for given rgb.
    Returns the shared instance
    protected void
    initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
     
    void
    start(org.osgi.framework.BundleContext bundleContext)
     
    void
    stop(org.osgi.framework.BundleContext bundleContext)
     

    Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin

    createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup

    Methods inherited from class org.eclipse.core.runtime.Plugin

    find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • Aef2StandardLwtPlugin

      public Aef2StandardLwtPlugin()
  • Method Details

    • getDefault

      public static Aef2StandardLwtPlugin getDefault()
      Returns the shared instance
      Returns:
      the shared instance, never null
    • start

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

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

      public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
      Returns color for given rgb. User should not dispose returned color.
      Parameters:
      rgb - - rgb to get color, cannot be null.
      Returns:
      color for given rgb, never null.