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 Summary
FieldsFields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.core.runtime.IStatuscreateErrorStatus(String msg, Throwable e) Create new error status with messagestatic IBmModelManagerGetsIBmModelManagerservice referencestatic BslCheckSuppressorGetsBslCheckSuppressorservice referencestatic ICheckRepositoryReturns an instance ofICheckRepository.static V8UiValidationPluginReturns the shared instancestatic IDerivedDataManagerProviderGetsIDerivedDataManagerProviderservice referencestatic IDtProjectManagerReturns an instance ofIDtProjectManager.static org.eclipse.xtext.ui.editor.IURIEditorOpenerGetsIURIEditorOpenerservice referencestatic IFilterBySubsystemsManagerGetsIFilterBySubsystemsManagerservice referencestatic IFixManagerReturns an instance ofIFixManager.static IFixRepositoryReturns an instance ofIFixRepository.com.google.inject.InjectorReturns Guice injector for this plugin.static IMarkerManagerV2Returns an instance ofIMarkerManagerV2.static ProblemFiltersReturns an instance ofProblemFilters.static ProblemSettingsReturns an instance ofProblemSettings.static ScopeSelectionManagerReturns an instance ofScopeSelectionManager.static ISuppressSettingsManagerGetsISuppressSettingsManagerservice referencestatic IWorkspaceOrchestratorReturns an instance ofIWorkspaceOrchestrator.static voidlog(org.eclipse.core.runtime.IStatus status) Logs the status to eclipse logstatic voidLogs the error message to eclipse log.static voidLogs the error message to eclipse log.static voidLogs the given exception as error to eclipse log.static voidLogs the info message to eclipse log.static voidlogWarning(String message) Logs the warning message to eclipse log.voidstart(org.osgi.framework.BundleContext context) voidstop(org.osgi.framework.BundleContext context) Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startupMethods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
-
Field Details
-
PLUGIN_ID
- See Also:
-
-
Constructor Details
-
V8UiValidationPlugin
public V8UiValidationPlugin()
-
-
Method Details
-
getDefault
Returns the shared instance- Returns:
- the shared instance
-
start
- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
getMarkerManager
Returns an instance ofIMarkerManagerV2.- Returns:
- an instance of
IMarkerManagerV2. Nevernull.
-
getCheckRepo
Returns an instance ofICheckRepository.- Returns:
- an instance of
ICheckRepository. Nevernull.
-
getFixManager
Returns an instance ofIFixManager.- Returns:
- an instance of
IFixManager. Nevernull.
-
getFixRepo
Returns an instance ofIFixRepository.- Returns:
- an instance of
IFixRepository. Nevernull.
-
getScopeSelectionManager
Returns an instance ofScopeSelectionManager.- Returns:
- an instance of
ScopeSelectionManager. Nevernull.
-
getWorkSpaceOrchestrator
Returns an instance ofIWorkspaceOrchestrator.- Returns:
- an instance of
IWorkspaceOrchestrator. Nevernull.
-
getDtProjectManager
Returns an instance ofIDtProjectManager.- Returns:
- an instance of
IDtProjectManager. Nevernull.
-
getProblemSettings
Returns an instance ofProblemSettings.- Returns:
- an instance of
ProblemSettings. Nevernull. This instance is already loaded, no need to callAbstractSetting.load().
-
getProblemFilters
Returns an instance ofProblemFilters.- Returns:
- an instance of
ProblemFilters. Nevernull. This instance is already loaded, no need to callAbstractSetting.load().
-
getDerivedDataManagerProvider
GetsIDerivedDataManagerProviderservice reference- Returns:
IDerivedDataManagerProviderservice reference. Cannot benull
-
getBmModelManager
GetsIBmModelManagerservice reference- Returns:
IBmModelManagerservice reference. Cannot benull
-
getSuppressSettingsManager
GetsISuppressSettingsManagerservice reference- Returns:
ISuppressSettingsManagerservice reference. Cannot benull
-
getBslCheckSuppressor
GetsBslCheckSuppressorservice reference- Returns:
BslCheckSuppressorservice reference. Cannot benull
-
getEditorOpener
public static org.eclipse.xtext.ui.editor.IURIEditorOpener getEditorOpener()GetsIURIEditorOpenerservice reference- Returns:
IURIEditorOpenerservice reference. Cannot benull
-
getFilterBySubsystemsManager
GetsIFilterBySubsystemsManagerservice reference- Returns:
IFilterBySubsystemsManagerservice reference. Cannot benull
-
stop
- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.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
Logs the error message to eclipse log.- Parameters:
message- message, cannot benull
-
logWarning
Logs the warning message to eclipse log.- Parameters:
message- message, cannot benull
-
logInfo
Logs the info message to eclipse log.- Parameters:
message- message, cannot benull
-
logError
Logs the error message to eclipse log.- Parameters:
message- message, cannot benull.e- exception to log, may benull.
-
logError
Logs the given exception as error to eclipse log.- Parameters:
e- exception to log, cannot benull.
-
createErrorStatus
Create new error status with message- Parameters:
message-Stringthrowable-- Returns:
- new instance of
Status
-