|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.EMFPlugin
org.eclipse.emf.common.CommonPlugin
The Plugin for the model EMF.Common library. EMF must run within an Eclipse workbench, within a headless Eclipse workspace, or just stand-alone as part of some other application. To support this, all resource access should be directed to the resource locator, which can redirect the service as appopriate to the runtime. During stand-alone invocation no plugin initialization takes place. In this case, common.resources.jar must be on the CLASSPATH.
INSTANCE
Nested Class Summary | |
static class |
CommonPlugin.Implementation
The actual implementation of the Eclipse Plugin. |
Nested classes inherited from class org.eclipse.emf.common.EMFPlugin |
EMFPlugin.EclipsePlugin, EMFPlugin.InternalEclipsePlugin, EMFPlugin.InternalHelper |
Field Summary | |
static CommonPlugin |
INSTANCE
The singleton instance of the plugin. |
Fields inherited from class org.eclipse.emf.common.EMFPlugin |
baseURL, delegateResourceLocators, images, IS_ECLIPSE_RUNNING, resourceBundle, shouldTranslate, strings, untranslatedResourceBundle, untranslatedStrings |
Method Summary | |
static URI |
asLocalURI(URI uri)
Use the platform, if available, to convert to a local URI. |
static CommonPlugin.Implementation |
getPlugin()
Returns the singleton instance of the Eclipse plugin. |
ResourceLocator |
getPluginResourceLocator()
Returns an Eclipse plugin implementation of a resource locator. |
static Class |
loadClass(String pluginID,
String className)
Use the platform, if available, to load the named class using the right class loader. |
static URI |
resolve(URI uri)
Use the platform, if available, to resolve the URI. |
Methods inherited from class org.eclipse.emf.common.EMFPlugin |
delegatedGetImage, delegatedGetString, doGetImage, getBaseURL, getImage, getPluginLogger, getString, getString, getString, getString, getSymbolicName, log, main, setShouldTranslate, shouldTranslate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final CommonPlugin INSTANCE
Method Detail |
public ResourceLocator getPluginResourceLocator()
EMFPlugin
getPluginResourceLocator
in class EMFPlugin
public static CommonPlugin.Implementation getPlugin()
public static URI asLocalURI(URI uri)
public static URI resolve(URI uri)
public static Class loadClass(String pluginID, String className) throws ClassNotFoundException
ClassNotFoundException
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |