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 ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionstatic 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
Returns the singleton instance of the Eclipse plugin.org.eclipse.emf.common.util.ResourceLocator
static Class<?>
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
-
INSTANCE
The singleton instance of the plugin. -
ID
- See Also:
-
-
Method Details
-
getPluginResourceLocator
public org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()- Specified by:
getPluginResourceLocator
in classorg.eclipse.emf.common.EMFPlugin
-
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
Use the platform, if available, to load the named class using the right class loader.- Throws:
ClassNotFoundException
-