use of org.erlide.backend.api.IBackendManager in project erlide_eclipse by erlang.
the class OtpRpcProvider method get.
@Override
public IOtpRpc get() {
try {
final IBackendManager backendManager = BackendCore.getBackendManager();
final IBackend ideBackend = backendManager.getIdeBackend();
return ideBackend.getOtpRpc();
} catch (final Exception e) {
ErlLogger.error("No Erlang runtime is installed! (" + e.getMessage() + ")");
return null;
}
}
use of org.erlide.backend.api.IBackendManager in project erlide_eclipse by erlang.
the class BackendActivator method start.
@Override
public void start(final BundleContext context) throws Exception {
DebugStream.activate();
ErlLogger.debug("Backend plugin starting");
final IRuntimeInfoCatalog catalog = BackendCore.getRuntimeInfoCatalog();
final IBackendFactory backendFactory = new BackendFactory(catalog);
final IBackendManager backendManager = new BackendManager(backendFactory);
BackendCore.init(backendManager);
ErlLogger.debug("Backend plugin started");
}
Aggregations