cEditor = openFileInEditor("src/batch-config.xml");
assertNotNull("Could not open a configuration editor.", cEditor);
UIThreadRunnable.syncExec(new VoidResult() {
public void run() {
AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
assertNotNull("Could not load batch-graph page.", page);
cEditor.setActiveEditor(page);
}
});
waitForRunningJobsToFinish(runningJobsListener, 5000);