org.eclipse.emf.common
Class CommonPlugin.Implementation
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.emf.common.EMFPlugin.EclipsePlugin
org.eclipse.emf.common.CommonPlugin.Implementation
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator, EMFPlugin.InternalEclipsePlugin, Logger, ResourceLocator
- Enclosing class:
- CommonPlugin
- public static class CommonPlugin.Implementation
- extends EMFPlugin.EclipsePlugin
The actual implementation of the Eclipse Plugin.
Method Summary |
protected static URI |
asLocalURI(URI uri)
Use the platform to convert to a local URI. |
protected static URI |
fix(URL url,
String fragment)
|
static Class |
loadClass(String pluginID,
String className)
Use the platform to load the named class using the right class loader. |
protected static URI |
resolve(URI uri)
Use the platform to convert to a local URI. |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, stop, toString |
CommonPlugin.Implementation
public CommonPlugin.Implementation()
- Creates an instance.
asLocalURI
protected static URI asLocalURI(URI uri)
- Use the platform to convert to a local URI.
resolve
protected static URI resolve(URI uri)
- Use the platform to convert to a local URI.
fix
protected static URI fix(URL url,
String fragment)
throws IOException
- Throws:
IOException
loadClass
public static Class loadClass(String pluginID,
String className)
throws ClassNotFoundException
- Use the platform to load the named class using the right class loader.
- Throws:
ClassNotFoundException