Class Aef2StandardLwtPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.aef2.standard.internal.lwt.Aef2StandardLwtPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Aef2StandardLwtPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
AEF Standard LWT plug-in activator.
-
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 TypeMethodDescriptionorg.eclipse.swt.graphics.Color
getColor
(org.eclipse.swt.graphics.RGB rgb) Returns color for given rgb.static Aef2StandardLwtPlugin
Returns the shared instanceprotected void
initializeImageRegistry
(org.eclipse.jface.resource.ImageRegistry reg) void
start
(org.osgi.framework.BundleContext bundleContext) void
stop
(org.osgi.framework.BundleContext bundleContext) 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
AEF Standard LWT plug-in id.- See Also:
-
-
Constructor Details
-
Aef2StandardLwtPlugin
public Aef2StandardLwtPlugin()
-
-
Method Details
-
getDefault
Returns the shared instance- Returns:
- the shared instance, never
null
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
initializeImageRegistry
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) - Overrides:
initializeImageRegistry
in classorg.eclipse.ui.plugin.AbstractUIPlugin
-
getColor
public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb) Returns color for given rgb. User should not dispose returned color.- Parameters:
rgb
- - rgb to get color, cannot benull
.- Returns:
- color for given rgb, never
null
.
-