|
|||||||||||
| 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.emf.common.EMFPlugin.EclipsePlugin
The actual implementation of an Eclipse Plugin.
| 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 | |
EMFPlugin.EclipsePlugin()
Creates an instance. |
|
EMFPlugin.EclipsePlugin(IPluginDescriptor descriptor)
Deprecated. |
|
| Method Summary | |
protected Object |
doGetImage(String key)
Does the work of fetching the image associated with the key. |
URL |
getBaseURL()
Returns the URL from which all resources are based. |
Object |
getImage(String key)
Returns the description that can be used to create the image resource associated with the key. |
String |
getString(String key)
Returns the string resource associated with the key. |
String |
getString(String key,
boolean translate)
Returns the string resource associated with the key. |
String |
getString(String key,
Object[] substitutions)
Returns a string resource associated with the key, and peforms substitutions. |
String |
getString(String key,
Object[] substitutions,
boolean translate)
Returns a string resource associated with the key, and peforms substitutions. |
String |
getSymbolicName()
Return the plugin ID. |
void |
log(Object logEntry)
Logs an entry. |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, stop, 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 EMFPlugin.EclipsePlugin()
public EMFPlugin.EclipsePlugin(IPluginDescriptor descriptor)
descriptor - the description of the plugin.| Method Detail |
public String getSymbolicName()
getSymbolicName in interface EMFPlugin.InternalEclipsePluginpublic URL getBaseURL()
ResourceLocator
getBaseURL in interface ResourceLocatorpublic Object getImage(String key)
ResourceLocator
getImage in interface ResourceLocatorkey - the key of the image resource.
protected Object doGetImage(String key)
throws IOException
key - the key of the image to fetch.
IOException - if an image doesn't exist.public String getString(String key)
ResourceLocator
getString in interface ResourceLocatorkey - the key of the string resource.
public String getString(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 String getString(String key,
Object[] substitutions)
ResourceLocator
getString in interface ResourceLocatorkey - the key of the string.substitutions - the message substitutions.
ResourceLocator.getString(String),
MessageFormat.format(String, Object[])
public String getString(String key,
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(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 | ||||||||||