use of org.erlide.debug.ui.model.ErlangDebuggerBackendListener in project erlide_eclipse by erlang.
the class ErlideUIPlugin method start.
@Override
public void start(final BundleContext context) throws Exception {
ErlLogger.info("Starting UI " + Thread.currentThread());
super.start(context);
final String workspace = ResourcesPlugin.getWorkspace().getRoot().getLocation().toPortableString();
if (!ErlangEngine.getInstance().isAvailable()) {
notifyNoRuntimeAndRestart(workspace);
} else if (HostnameChecker.getInstance().getErlangHostName(true) == null && HostnameChecker.getInstance().getErlangHostName(false) == null) {
notifyBadHostname(workspace);
}
ErlideEventBus.register(new NoRuntimeHandler());
ErlideEventBus.register(new UIMessageReporter());
if (SystemConfiguration.getInstance().isDeveloper()) {
BackendManagerPopup.init();
}
ErlLogger.info("Started UI");
erlConsoleManager = new ErlConsoleManager();
ConsolePlugin.getDefault().getConsoleManager().addConsoleListener(erlConsoleManager);
erlangDebuggerBackendListener = new ErlangDebuggerBackendListener();
BackendCore.getBackendManager().addBackendListener(erlangDebuggerBackendListener);
startPeriodicCacheCleaner();
checkNavigatorView();
}
Aggregations