Class HpwaUiPlugin

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

public class HpwaUiPlugin extends HpwaActivator
The activator class controls the plug-in life cycle.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com._1c.g5.v8.dt.internal.hpwa.ui.HpwaActivator

    COM__1C_G5_V8_DT_HPWA_HPWA

    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
    static org.eclipse.core.runtime.IStatus
    Creates error status.
    static org.eclipse.core.runtime.IStatus
    Creates warning status
    static org.eclipse.swt.graphics.Image
    getImage(String symbolicName)
    Gets image.
    static org.eclipse.jface.resource.ImageDescriptor
    getImageDescriptor(String symbolicName)
    Gets image descriptor.
    static void
    log(org.eclipse.core.runtime.IStatus status)
    Logs the given status.

    Methods inherited from class com._1c.g5.v8.dt.internal.hpwa.ui.HpwaActivator

    getDefault, getEditingLanguageProvider, getInjector, getInjector, getRuntimeVersionSupport, start, stop

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

    createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, 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

    • HpwaUiPlugin

      public HpwaUiPlugin()
  • Method Details

    • log

      public static void log(org.eclipse.core.runtime.IStatus status)
      Logs the given status.
      Parameters:
      status - the given status
    • createErrorStatus

      public static org.eclipse.core.runtime.IStatus createErrorStatus(String msg, Throwable e)
      Creates error status.
      Parameters:
      msg - the message
      e - the throwable
      Returns:
      the error status
    • createWarningStatus

      public static org.eclipse.core.runtime.IStatus createWarningStatus(String msg)
      Creates warning status
      Parameters:
      msg - the message
      Returns:
      the warning status
    • getImage

      public static org.eclipse.swt.graphics.Image getImage(String symbolicName)
      Gets image.
      Parameters:
      symbolicName - the symbolic name
      Returns:
      the image
    • getImageDescriptor

      public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String symbolicName)
      Gets image descriptor.
      Parameters:
      symbolicName - the symbolic name
      Returns:
      the image descriptor