|
||||||||||||
| 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.eclipse.emf.common.ui.EclipseUIPlugin
An Eclipse AbstractUIPlugin implementation base to be used within UI plug-ins.
| Field Summary | |
|---|---|
protected EMFPlugin.InternalHelper |
helper
The EMF plug-in APIs are all delegated to this helper, so that code can be shared by plug-in implementations with a different platform base class (e.g. |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
EclipseUIPlugin()
Creates an instance. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
doGetImage(java.lang.String key)
Does the work of fetching the image associated with the key. |
java.net.URL |
getBaseURL()
Returns the URL from which all resources are based. |
java.lang.Object |
getImage(java.lang.String key)
Returns the description that can be used to create the image resource associated with the key. |
java.lang.String |
getString(java.lang.String key)
Returns the string resource associated with the key. |
java.lang.String |
getString(java.lang.String key,
boolean translate)
Returns the string resource associated with the key. |
java.lang.String |
getString(java.lang.String key,
java.lang.Object[] substitutions)
Returns a string resource associated with the key, and peforms substitutions. |
java.lang.String |
getString(java.lang.String key,
java.lang.Object[] substitutions,
boolean translate)
Returns a string resource associated with the key, and peforms substitutions. |
java.lang.String |
getSymbolicName()
Return the plugin ID. |
void |
log(java.lang.Object logEntry)
Logs an entry. |
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup, stop |
| 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 |
protected EMFPlugin.InternalHelper helper
| Constructor Detail |
public EclipseUIPlugin()
| Method Detail |
public java.lang.String getSymbolicName()
getSymbolicName in interface EMFPlugin.InternalEclipsePluginpublic java.net.URL getBaseURL()
ResourceLocator
getBaseURL in interface ResourceLocatorpublic java.lang.Object getImage(java.lang.String key)
ResourceLocator
getImage in interface ResourceLocatorkey - the key of the image resource.
protected java.lang.Object doGetImage(java.lang.String key)
throws java.io.IOException
key - the key of the image to fetch.
java.io.IOException - if an image doesn't exist.public java.lang.String getString(java.lang.String key)
ResourceLocator
getString in interface ResourceLocatorkey - the key of the string resource.
public java.lang.String getString(java.lang.String key,
boolean translate)
ResourceLocator
getString in interface ResourceLocatorkey - the key of the string resource.translate - whether the result is to be translated to the current locale.
public java.lang.String getString(java.lang.String key,
java.lang.Object[] substitutions)
ResourceLocator
getString in interface ResourceLocatorkey - the key of the string.substitutions - the message substitutions.
ResourceLocator.getString(String),
MessageFormat.format(String, Object[])
public java.lang.String getString(java.lang.String key,
java.lang.Object[] substitutions,
boolean translate)
ResourceLocator
getString in interface ResourceLocatorkey - the key of the string.substitutions - the message substitutions.translate - whether the result is to be translated to the current locale.
ResourceLocator.getString(String),
MessageFormat.format(String, Object[])public void log(java.lang.Object logEntry)
Logger
log in interface LoggerlogEntry - a plastic entry to log.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||