* @param editor Instance of the editor window.
* @param about Instance of the about dialog.
*/
public void connectWithGUI(Mines mainWindow, SettingsDialog settingsDialog,
MinesEditor editor, AboutDialog about) {
Ui_Mines GUI = mainWindow.ui;
mMinefieldPaintSignal.connect(GUI.mMinefieldView, "createMinefield(MinefieldContainer)");
mMinefieldRepaintSignal.connect(GUI.mMinefieldView, "repaintMinefield(MinefieldContainer)");
GUI.mMinefieldView.connectToButtonsLeftClick(this, "onMinebuttonLeftClicked(MinefieldContainer$Coord)");