Package com._1c.g5.v8.dt.internal.md.ui
Class MdUiPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.v8.dt.internal.md.ui.MdActivator
com._1c.g5.v8.dt.internal.md.ui.MdUiPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com._1c.g5.v8.dt.internal.md.ui.MdActivator
COM__1C_G5_V8_DT_MD_MD
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.core.runtime.IStatus
createErrorStatus
(String msg, Throwable e) static org.eclipse.core.runtime.IStatus
static CheckImageBuilder
static IAutoValueService<Color>
Returns the instance of default color service.static org.eclipse.swt.graphics.Image
static StatusManagerHelper
protected void
initializeImageRegistry
(org.eclipse.jface.resource.ImageRegistry reg) static boolean
Tells whether the library functionality is enabled.static void
log
(org.eclipse.core.runtime.IStatus status) static void
static void
static void
logWarning
(String msg) void
start
(org.osgi.framework.BundleContext context) void
stop
(org.osgi.framework.BundleContext context) Methods inherited from class com._1c.g5.v8.dt.internal.md.ui.MdActivator
createInjector, getDefault, getInjector, getRuntimeModule, getSharedStateModule, getUiModule
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
-
Field Details
-
PLUGIN_ID
- See Also:
-
-
Constructor Details
-
MdUiPlugin
public MdUiPlugin()
-
-
Method Details
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classMdActivator
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classMdActivator
- Throws:
Exception
-
log
public static void log(org.eclipse.core.runtime.IStatus status) -
createErrorStatus
-
createWarningStatus
-
logError
-
logError
-
logWarning
-
getStatusHandler
-
getColorService
Returns the instance of default color service.- Returns:
- The instance of default color service.
-
getCheckImageBuilder
-
getImage
-
isLibraryFunctionalityEnabled
public static boolean isLibraryFunctionalityEnabled()Tells whether the library functionality is enabled.- Returns:
true
if the library functionality is enabled,false
otherwise
-
initializeImageRegistry
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) - Overrides:
initializeImageRegistry
in classorg.eclipse.ui.plugin.AbstractUIPlugin
-