showResultTab(executionResult);
}
public void show(List<CompilerResult> compilerResults) {
prepareMessagesTab();
CompilerResult firstCompilerResult = null;
for (CompilerResult compilerResult : compilerResults) {
if (compilerResult.getCompilerMessages().size() > 0) {
if (firstCompilerResult == null) {
firstCompilerResult = compilerResult;
}
for (CompilerMessage compilerMessage : compilerResult.getCompilerMessages()) {
getMessagesPanel().addCompilerMessage(compilerMessage, false);
}
}
}
if (firstCompilerResult != null) {
getMessagesPanel().select(firstCompilerResult.getCompilerMessages().get(0));
}
}