public class FileLoadController extends Object
Constructor and Description |
---|
FileLoadController(MainControllerGUI controller,
FileControlInterface fileControl,
LanguageManagerInterface languageManager)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelAction()
Will close the current dialog box.
|
void |
executeFileAction()
Fetch the selected file and execute it thanks to the mowers controller.
|
void |
loadFileAction()
Open a dialog box to choose a file, and will check if the selected file is correctly formatted.
|
@Inject public FileLoadController(MainControllerGUI controller, FileControlInterface fileControl, LanguageManagerInterface languageManager)
controller
- the GUI controller which orchestrate the others componentfileControl
- the class to manage file loadedlanguageManager
- the language manager for internationalization.public void loadFileAction()
public void cancelAction()
public void executeFileAction()
Copyright © 2016. All Rights Reserved.