org.eclipse.emf.mwe.internal.core
Class MWEPlugin

java.lang.Object
  extended by org.eclipse.emf.common.util.DelegatingResourceLocator
      extended by org.eclipse.emf.common.EMFPlugin
          extended by 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
static class MWEPlugin.Implementation
          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
 
Field Summary
static java.lang.String ID
           
static MWEPlugin INSTANCE
          The singleton instance of the plugin.
 
Fields inherited from class org.eclipse.emf.common.EMFPlugin
delegateResourceLocators, IS_ECLIPSE_RUNNING, IS_RESOURCES_BUNDLE_AVAILABLE
 
Fields inherited from class org.eclipse.emf.common.util.DelegatingResourceLocator
baseURL, images, resourceBundle, shouldTranslate, strings, untranslatedResourceBundle, untranslatedStrings
 
Method Summary
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.
static MWEPlugin.Implementation getPlugin()
          Returns the singleton instance of the Eclipse plugin.
 org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()
           
static java.lang.Class<?> loadClass(java.lang.String pluginID, java.lang.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, 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 Detail

INSTANCE

public static final MWEPlugin INSTANCE
The singleton instance of the plugin.


ID

public static final java.lang.String ID
See Also:
Constant Field Values
Method Detail

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 java.lang.Class<?> loadClass(java.lang.String pluginID,
                                           java.lang.String className)
                                    throws java.lang.ClassNotFoundException
Use the platform, if available, to load the named class using the right class loader.

Throws:
java.lang.ClassNotFoundException