blob: ead3366b97d5d888ed644752e1cb61c10eec5ef8 [file] [log] [blame]
Class moving
========
org.eclipse.core.boot.IPlatformConfiguration moved to org.eclipse.core.update.configurator.IPlatformConfiguration
org.eclipse.core.runtime.IConfigurationElement moved to org.eclipse.core.runtime.registry.IConfigurationElement
org.eclipse.core.runtime.IExecutableExtension moved to org.eclipse.core.runtime.registry.IExecutableExtension
org.eclipse.core.runtime.IExtension moved to org.eclipse.core.runtime.registry.IExtension (two methods renamed)
org.eclipse.core.runtime.IExtensionPoint moved to org.eclipse.core.runtime.registry.IExtensionPoint (two methods renamed)
Moved/renamed methods
===============
IExtension
getExtensionPointUniqueIdentifier() --> getExtensionPointIdentifier()
? getDeclaringPluginDescriptor() --> getParentIdentifier()
IExtensionPoint
getDeclaringPluginDescriptor() -->
getConfigurationElements() --> Get the extensions and iterate over them
Class responsibility reorganisation
====================
BootLoader mainly replaced by
EnvironmentInfoService
getCommandLineArgs()
getNL()
getOS()
getOSArch()
getWS()
Test a system property for
inDevelopmentMode() "osgi.dev"
inDebugMode() "osgi.debug"
getInstallURL() "eclipse.installURL"
Unsupported yet
knownOSArchValues()
knownOSValues()
knownWSValues()
No longer supported
getCurrentPlatformConfiguration()
getPlatformConfiguration(URL)
getPluginPath(URL)
Check the existence of the IPlatform service
isRunning()
IPluginDescriptor replaced by
IExtensionRegistry
getExtension(String extensionName) --> IExtensionRegistry#getExtension(String indentifier, String extensionName)
getExtension(String extensionName) --> IExtensionRegistry#getExtensionPoint(String elementId, String extensionPointName)
getExtensionPoint(String extensionPointId) --> IExtensionRegistry#getExtensionPoints()
getExtensionPoints() --> IExtensionRegistry#getExtensions(String)
getExtensions() --> IExtensionRegistry#getExtensions(String)
Bundle
getInstallURL() --> There is no direct mapping. However to access the content of your plugin's install directory, use the Bundle#getEntry(String)
getLabel() --> Bundle.getHeaders().get(org.osgi.framework.Constants#BUNDLE_NAME)
No longer supported
getPlugin() --> No replacement methods since the concept no longer exists
getPluginClassLoader() -->
Classes that do not have replacement as classes
=============================
org.eclipse.core.runtime.ILibrary
The information available here are now accessible using the Bundle.getHeaders().get(BUNDLE_CLASSPATH)