* @param engine
*/
public XBayaGUI(XBayaEngine engine) {
this.engine = engine;
this.engine.getMonitor().addEventListener(this);
graphFiler = new WorkflowFiler(engine);
engine.getConfiguration().registerExecutionModeChangeListener(this);
try {
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {