public class OOEclipsePlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
This class contains the main constants of the plugin, like its ID, the UNO project nature. The internationalization method is provided in this class too.
| Modifier and Type | Field and Description |
|---|---|
static org.eclipse.swt.graphics.RGB |
BACKGROUND |
static org.eclipse.swt.graphics.RGB |
COMMENT |
static org.eclipse.swt.graphics.RGB |
DEFAULT |
static org.eclipse.swt.graphics.RGB |
DOC_COMMENT |
static org.eclipse.swt.graphics.RGB |
KEYWORD |
static java.lang.String |
LOGLEVEL_PREFERENCE_KEY
Log level preference key, used to store the preferences.
|
static org.eclipse.swt.graphics.RGB |
MODIFIER |
static java.lang.String |
OOECLIPSE_PLUGIN_ID
ooeclipseintegration plugin id.
|
static java.lang.String |
OOO_CONFIG
Plugin home relative path for the ooo configuration file.
|
static org.eclipse.swt.graphics.RGB |
PREPROCESSOR_COMMAND |
static org.eclipse.swt.graphics.RGB |
STRING |
static org.eclipse.swt.graphics.RGB |
TYPE |
static java.lang.String |
UNO_EDITOR_ID
Uno idl editor ID.
|
static java.lang.String |
UNO_NATURE_ID
uno nature id.
|
static org.eclipse.swt.graphics.RGB |
XML_TAG |
| Constructor and Description |
|---|
OOEclipsePlugin()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static OOEclipsePlugin |
getDefault() |
static org.eclipse.swt.graphics.Image |
getImage(java.lang.String pKey)
Returns the image corresponding to the provided key.
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String pKey)
Returns the image descriptor corresponding to the provided key.
|
ImageManager |
getImageManager()
Returns the image manager.
|
static void |
setDefaultPreferences()
Method that initialize the default preferences of the plugin.
|
void |
start(org.osgi.framework.BundleContext pContext) |
void |
stop(org.osgi.framework.BundleContext pContext) |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startuppublic static final java.lang.String OOO_CONFIG
public static final java.lang.String OOECLIPSE_PLUGIN_ID
public static final java.lang.String UNO_NATURE_ID
public static final java.lang.String UNO_EDITOR_ID
public static final java.lang.String LOGLEVEL_PREFERENCE_KEY
public static final org.eclipse.swt.graphics.RGB STRING
public static final org.eclipse.swt.graphics.RGB BACKGROUND
public static final org.eclipse.swt.graphics.RGB DEFAULT
public static final org.eclipse.swt.graphics.RGB KEYWORD
public static final org.eclipse.swt.graphics.RGB TYPE
public static final org.eclipse.swt.graphics.RGB COMMENT
public static final org.eclipse.swt.graphics.RGB DOC_COMMENT
public static final org.eclipse.swt.graphics.RGB XML_TAG
public static final org.eclipse.swt.graphics.RGB MODIFIER
public static final org.eclipse.swt.graphics.RGB PREPROCESSOR_COMMAND
public void start(org.osgi.framework.BundleContext pContext)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exceptionpublic void stop(org.osgi.framework.BundleContext pContext)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exceptionpublic static OOEclipsePlugin getDefault()
public ImageManager getImageManager()
public static org.eclipse.swt.graphics.Image getImage(java.lang.String pKey)
null.pKey - Key designing the imageImageManager.getImage(String)public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String pKey)
null.pKey - Key designing the imageImageManager.getImageDescriptor(String)public static void setDefaultPreferences()