// when the source is "initially" invalid
if (sourceTextEditor != null) {
return;
}
try {
sourceTextEditor = new XMLEditor(cde);
sourceIndex = cde.addPage(sourceTextEditor, cde.getEditorInput());
cde.setPageTextSuper(sourceIndex, "Source");
} catch (PartInitException e) {
ErrorDialog.openError(cde.getSite().getShell(), "Error creating nested text editor", null, e
.getStatus());