use of org.erlide.ui.console.ErlangConsole in project erlide_eclipse by erlang.
the class ConsoleRemoveLaunchAction method getLaunch.
protected ILaunch getLaunch() {
if (fConsoleView == null) {
return fLaunch;
}
// else get dynamically, as this action was created via plug-in XML view
// contribution
final IConsole console = fConsoleView.getConsole();
if (console instanceof ErlangConsole) {
final ErlangConsole pconsole = (ErlangConsole) console;
final IBackend backend = pconsole.getBackend();
return backend.getData().getLaunch();
}
return null;
}
Aggregations