|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.openoffice.ide.eclipse.core.OOEclipsePlugin
public class OOEclipsePlugin
Plugin entry point, it is used by Eclipse as a bundle.
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.
Field Summary | |
---|---|
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
|
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
OOEclipsePlugin()
The constructor. |
Method Summary | |
---|---|
static org.eclipse.ui.IWorkbenchPage |
getActivePage()
Convenience method returning the active workbench page. |
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)
|
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup |
Methods inherited from class org.eclipse.core.runtime.Plugin |
---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public OOEclipsePlugin()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext pContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void stop(org.osgi.framework.BundleContext pContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public static OOEclipsePlugin getDefault()
public ImageManager getImageManager()
public static org.eclipse.swt.graphics.Image getImage(java.lang.String pKey)
null
.
pKey
- Key designing the image
ImageManager.getImage(String)
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String pKey)
null
.
pKey
- Key designing the image
ImageManager.getImageDescriptor(String)
public static void setDefaultPreferences()
public static org.eclipse.ui.IWorkbenchPage getActivePage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |