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_MDFields 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) static org.eclipse.core.runtime.IStatusstatic CheckImageBuilderstatic IAutoValueService<Color>Returns the instance of default color service.static org.eclipse.swt.graphics.Imagestatic StatusManagerHelperprotected voidinitializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) static booleanTells whether the library functionality is enabled.static voidlog(org.eclipse.core.runtime.IStatus status) static voidstatic voidstatic voidlogWarning(String msg) voidstart(org.osgi.framework.BundleContext context) voidstop(org.osgi.framework.BundleContext context) Methods inherited from class com._1c.g5.v8.dt.internal.md.ui.MdActivator
createInjector, getDefault, getInjector, getRuntimeModule, getSharedStateModule, getUiModuleMethods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, 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
-
MdUiPlugin
public MdUiPlugin()
-
-
Method Details
-
start
- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classMdActivator- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin 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:
trueif the library functionality is enabled,falseotherwise
-
initializeImageRegistry
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) - Overrides:
initializeImageRegistryin classorg.eclipse.ui.plugin.AbstractUIPlugin
-