diff --git a/ui/org.eclipse.pde.bnd.ui/README.MD b/ui/org.eclipse.pde.bnd.ui/README.MD index 0d7f6bdd6c..7b59c95fea 100644 --- a/ui/org.eclipse.pde.bnd.ui/README.MD +++ b/ui/org.eclipse.pde.bnd.ui/README.MD @@ -26,7 +26,7 @@ transform an (Eclipse) `IProject` into a (bndlib) `Project` (from were the Works ``` @Component @AdapterTypes(adaptableClass = IProject.class, adapterNames = Project.class) -public class BndPluginAdapter implements IAdapterFactory { +public class MyBndPluginAdapter implements IAdapterFactory { @Override public T getAdapter(Object adaptableObject, Class adapterType) { @@ -46,6 +46,16 @@ public class BndPluginAdapter implements IAdapterFactory { } ``` +Some relevant 'glue' classes for Bnd <-> PDE interaction, to have a look at: + +- `org.eclipse.pde.bnd.ui.Central` +- `org.eclipse.pde.bnd.ui.Workspaces` +- `org.eclipse.pde.internal.core.bnd.PdeBndAdapter` +- `org.eclipse.pde.internal.core.bnd.BndProjectManager` +- `org.eclipse.pde.bnd.ui.RepositoryUtils` +- `org.eclipse.pde.internal.core.bnd.BndWorkspaceServiceFactory` (gets registered as an OSGi Service) + + ## Available components Beside some integration stuff (e.g. enable to [discover bndlib plugins](https://github.com/eclipse-pde/eclipse.pde/blob/master/ui/org.eclipse.pde.bnd.ui/src/org/eclipse/pde/bnd/ui/internal/Auxiliary.java) inside an OSGi runtime)