Skip to content

Commit 667475f

Browse files
chrisruegerlaeubi
authored andcommitted
improve readme
- e.g. mention some important classes
1 parent 1f85741 commit 667475f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

ui/org.eclipse.pde.bnd.ui/README.MD

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ transform an (Eclipse) `IProject` into a (bndlib) `Project` (from were the Works
2626
```
2727
@Component
2828
@AdapterTypes(adaptableClass = IProject.class, adapterNames = Project.class)
29-
public class BndPluginAdapter implements IAdapterFactory {
29+
public class MyBndPluginAdapter implements IAdapterFactory {
3030
3131
@Override
3232
public <T> T getAdapter(Object adaptableObject, Class<T> adapterType) {
@@ -46,6 +46,16 @@ public class BndPluginAdapter implements IAdapterFactory {
4646
}
4747
```
4848

49+
Some relevant 'glue' classes for Bnd <-> PDE interaction, to have a look at:
50+
51+
- `org.eclipse.pde.bnd.ui.Central`
52+
- `org.eclipse.pde.bnd.ui.Workspaces`
53+
- `org.eclipse.pde.internal.core.bnd.PdeBndAdapter`
54+
- `org.eclipse.pde.internal.core.bnd.BndProjectManager`
55+
- `org.eclipse.pde.bnd.ui.RepositoryUtils`
56+
- `org.eclipse.pde.internal.core.bnd.BndWorkspaceServiceFactory` (gets registered as an OSGi Service)
57+
58+
4959
## Available components
5060

5161
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)

0 commit comments

Comments
 (0)