org.eclipse.emf.common
Class EMFPlugin.InternalHelper
java.lang.Object
org.eclipse.emf.common.EMFPlugin.InternalHelper
- Enclosing class:
- EMFPlugin
- public static class EMFPlugin.InternalHelper
- extends Object
This just provides a common delegate for non-UI and UI plug-in classes.
It is not considered API and should not be used by clients.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plugin
protected Plugin plugin
resourceBundle
protected ResourceBundle resourceBundle
untranslatedResourceBundle
protected ResourceBundle untranslatedResourceBundle
EMFPlugin.InternalHelper
public EMFPlugin.InternalHelper(Plugin plugin)
getBundle
protected org.osgi.framework.Bundle getBundle()
getLog
protected ILog getLog()
getSymbolicName
public String getSymbolicName()
- Return the plugin ID.
getBaseURL
public URL getBaseURL()
getImage
public Object getImage(String key)
throws IOException
- Fetches the image associated with the given key. It ensures that the image exists.
- Parameters:
key
- the key of the image to fetch.
- Returns:
- the description of the image associated with the key.
- Throws:
IOException
- if an image doesn't exist.
getString
public String getString(String key,
boolean translate)
getString
public String getString(String key,
Object[] substitutions,
boolean translate)
log
public void log(Object logEntry)