Class V8UiValidationPlugin

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

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

  • Constructor Details

    • V8UiValidationPlugin

      public V8UiValidationPlugin()
  • Method Details

    • getDefault

      public static V8UiValidationPlugin getDefault()
      Returns the shared instance
      Returns:
      the shared instance
    • 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
    • getMarkerManager

      public static IMarkerManagerV2 getMarkerManager()
      Returns an instance of IMarkerManagerV2.
      Returns:
      an instance of IMarkerManagerV2. Never null.
    • getCheckRepo

      public static ICheckRepository getCheckRepo()
      Returns an instance of ICheckRepository.
      Returns:
      an instance of ICheckRepository. Never null.
    • getFixManager

      public static IFixManager getFixManager()
      Returns an instance of IFixManager.
      Returns:
      an instance of IFixManager. Never null.
    • getFixRepo

      public static IFixRepository getFixRepo()
      Returns an instance of IFixRepository.
      Returns:
      an instance of IFixRepository. Never null.
    • getScopeSelectionManager

      public static ScopeSelectionManager getScopeSelectionManager()
      Returns an instance of ScopeSelectionManager.
      Returns:
      an instance of ScopeSelectionManager. Never null.
    • getWorkSpaceOrchestrator

      public static IWorkspaceOrchestrator getWorkSpaceOrchestrator()
      Returns an instance of IWorkspaceOrchestrator.
      Returns:
      an instance of IWorkspaceOrchestrator. Never null.
    • getDtProjectManager

      public static IDtProjectManager getDtProjectManager()
      Returns an instance of IDtProjectManager.
      Returns:
      an instance of IDtProjectManager. Never null.
    • getProblemSettings

      public static ProblemSettings getProblemSettings()
      Returns an instance of ProblemSettings.
      Returns:
      an instance of ProblemSettings. Never null. This instance is already loaded, no need to call AbstractSetting.load().
    • getProblemFilters

      public static ProblemFilters getProblemFilters()
      Returns an instance of ProblemFilters.
      Returns:
      an instance of ProblemFilters. Never null. This instance is already loaded, no need to call AbstractSetting.load().
    • getDerivedDataManagerProvider

      public static IDerivedDataManagerProvider getDerivedDataManagerProvider()
      Gets IDerivedDataManagerProvider service reference
      Returns:
      IDerivedDataManagerProvider service reference. Cannot be null
    • getBmModelManager

      public static IBmModelManager getBmModelManager()
      Gets IBmModelManager service reference
      Returns:
      IBmModelManager service reference. Cannot be null
    • getSuppressSettingsManager

      public static ISuppressSettingsManager getSuppressSettingsManager()
      Gets ISuppressSettingsManager service reference
      Returns:
      ISuppressSettingsManager service reference. Cannot be null
    • getBslCheckSuppressor

      public static BslCheckSuppressor getBslCheckSuppressor()
      Gets BslCheckSuppressor service reference
      Returns:
      BslCheckSuppressor service reference. Cannot be null
    • getEditorOpener

      public static org.eclipse.xtext.ui.editor.IURIEditorOpener getEditorOpener()
      Gets IURIEditorOpener service reference
      Returns:
      IURIEditorOpener service reference. Cannot be null
    • getFilterBySubsystemsManager

      public static IFilterBySubsystemsManager getFilterBySubsystemsManager()
      Gets IFilterBySubsystemsManager service reference
      Returns:
      IFilterBySubsystemsManager service reference. Cannot be null
    • 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 Guice injector for this plugin.
      Returns:
      Guice injector for this plugin, never null
    • log

      public static void log(org.eclipse.core.runtime.IStatus status)
      Logs the status to eclipse log
      Parameters:
      status - status with message
    • logError

      public static void logError(String message)
      Logs the error message to eclipse log.
      Parameters:
      message - message, cannot be null
    • logWarning

      public static void logWarning(String message)
      Logs the warning message to eclipse log.
      Parameters:
      message - message, cannot be null
    • logInfo

      public static void logInfo(String message)
      Logs the info message to eclipse log.
      Parameters:
      message - message, cannot be null
    • logError

      public static void logError(String message, Throwable e)
      Logs the error message to eclipse log.
      Parameters:
      message - message, cannot be null.
      e - exception to log, may be null.
    • logError

      public static void logError(Throwable e)
      Logs the given exception as error to eclipse log.
      Parameters:
      e - exception to log, cannot be null.
    • createErrorStatus

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