Class MWEPlugin

java.lang.Object
org.eclipse.emf.common.util.DelegatingResourceLocator
org.eclipse.emf.common.EMFPlugin
org.eclipse.emf.mwe.internal.core.MWEPlugin
All Implemented Interfaces:
org.eclipse.emf.common.util.Logger, org.eclipse.emf.common.util.ResourceLocator

public class MWEPlugin extends org.eclipse.emf.common.EMFPlugin
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    The actual implementation of the Eclipse Plugin.

    Nested classes/interfaces inherited from class org.eclipse.emf.common.EMFPlugin

    org.eclipse.emf.common.EMFPlugin.EclipsePlugin, org.eclipse.emf.common.EMFPlugin.InternalEclipsePlugin, org.eclipse.emf.common.EMFPlugin.InternalHelper, org.eclipse.emf.common.EMFPlugin.OSGiDelegatingBundleActivator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final MWEPlugin
    The singleton instance of the plugin.

    Fields inherited from class org.eclipse.emf.common.EMFPlugin

    delegateResourceLocators, IS_ECLIPSE_RUNNING, IS_OSGI_RUNNING, IS_RESOURCES_BUNDLE_AVAILABLE

    Fields inherited from class org.eclipse.emf.common.util.DelegatingResourceLocator

    baseURL, bundleLocalization, images, resourceBundle, shouldTranslate, strings, untranslatedResourceBundle, untranslatedStrings
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.eclipse.emf.common.util.URI
    asLocalURI(org.eclipse.emf.common.util.URI uri)
    Use the platform, if available, to convert to a local URI.
    Returns the singleton instance of the Eclipse plugin.
    org.eclipse.emf.common.util.ResourceLocator
     
    static Class<?>
    loadClass(String pluginID, String className)
    Use the platform, if available, to load the named class using the right class loader.
    static org.eclipse.emf.common.util.URI
    resolve(org.eclipse.emf.common.util.URI uri)
    Use the platform, if available, to resolve the URI.

    Methods inherited from class org.eclipse.emf.common.EMFPlugin

    getDelegateResourceLocators, getPluginLogger, getPrimaryResourceLocator, getSymbolicName, log, main

    Methods inherited from class org.eclipse.emf.common.util.DelegatingResourceLocator

    delegatedGetImage, delegatedGetString, doGetImage, doGetString, extensionFor, getBaseURL, getBundleLocalization, getImage, getString, getString, getString, getString, setShouldTranslate, shouldTranslate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.emf.common.util.ResourceLocator

    getBaseURL, getImage, getString, getString, getString, getString
  • Field Details

  • Method Details

    • getPluginResourceLocator

      public org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()
      Specified by:
      getPluginResourceLocator in class org.eclipse.emf.common.EMFPlugin
    • getPlugin

      public static MWEPlugin.Implementation getPlugin()
      Returns the singleton instance of the Eclipse plugin.
      Returns:
      the singleton instance.
    • asLocalURI

      public static org.eclipse.emf.common.util.URI asLocalURI(org.eclipse.emf.common.util.URI uri)
      Use the platform, if available, to convert to a local URI.
    • resolve

      public static org.eclipse.emf.common.util.URI resolve(org.eclipse.emf.common.util.URI uri)
      Use the platform, if available, to resolve the URI.
    • loadClass

      public static Class<?> loadClass(String pluginID, String className) throws ClassNotFoundException
      Use the platform, if available, to load the named class using the right class loader.
      Throws:
      ClassNotFoundException