// end
public Mediator(final JmtJGraph graph, MainWindow mainWindow) {
this.mainWindow = mainWindow;
dialogFactory = new DialogFactory(mainWindow);
cellFactory = new CellFactory(this);
this.graph = graph;
closeModel = new CloseModel(this);
newModel = new NewModel(this);
openHelp = new OpenHelp(this);
openModel = new OpenModel(this);