Search in sources :

Example 1 with AdapterManagerTracker

use of org.eclipse.ecf.core.util.AdapterManagerTracker in project ecf by eclipse.

the class Activator method getAdapterManager.

private static IAdapterManager getAdapterManager(BundleContext ctx) {
    AdapterManagerTracker t = new AdapterManagerTracker(ctx);
    t.open();
    IAdapterManager am = t.getAdapterManager();
    t.close();
    return am;
}
Also used : AdapterManagerTracker(org.eclipse.ecf.core.util.AdapterManagerTracker) IAdapterManager(org.eclipse.core.runtime.IAdapterManager)

Aggregations

IAdapterManager (org.eclipse.core.runtime.IAdapterManager)1 AdapterManagerTracker (org.eclipse.ecf.core.util.AdapterManagerTracker)1