XJAlert.display(window.getJavaContainer(), "Error",
"The generated code does not exist. It is probably not supported by the grammar.");
return;
}
CodeDisplay cd = new CodeDisplay(window);
cd.setFile(grammarFile);
cd.setRule(rule);
cd.load();
window.addTab(cd);
}