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.
  • Field Details

    • plugin

      protected org.eclipse.core.runtime.Plugin plugin
    • resourceBundle

      protected ResourceBundle resourceBundle
    • untranslatedResourceBundle

      protected ResourceBundle untranslatedResourceBundle
  • Constructor Details

    • InternalHelper

      public InternalHelper(org.eclipse.core.runtime.Plugin plugin)
  • Method Details

    • getBundle

      protected org.osgi.framework.Bundle getBundle()
    • getLog

      protected org.eclipse.core.runtime.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)