Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
E4/EAS/Extension Registry
< E4 | EAS
Revision as of 15:39, 23 October 2009 by Unnamed Poltroon (Talk) (New page: The extension registry is a means for bundles to register and access extension points. ==Eclipse 3.x API== The existing IExtensionRegistry can currently either be retrieved directly via a...)
The extension registry is a means for bundles to register and access extension points.
Eclipse 3.x API
The existing IExtensionRegistry can currently either be retrieved directly via a static method (Platform.getExtensionRegistry()) or queried through via OSGi as a service.
e4 (Java)
The extension registry can be easily queried for by asking the Eclipse context.
private IExtensionRegistry getRegistry(IEclipseContext context) { return (IExtensionRegistry) context.get(IExtensionRegistry.class.getName()); }