Go to the documentation of this file.
74 wxString message = _T(
"Simulation is still running.\n");
75 message.Append(_T(
"Are you sure you want to stop the simulation "));
76 message.Append(_T(
"and quit?"));
79 if (dialog.ShowModal() != wxID_YES) {
83 wxGetApp().simulation()->finishSimulation();
88 wxString message = _T(
"Options are modified.\n");
89 message.Append(_T(
"Do you want to save changes?"));
92 int returnValue = dialog.ShowModal();
93 if (returnValue == wxID_YES) {
102 wxString message = _T(
"Error saving options:\n\n");
105 errorDialog.ShowModal();
108 }
else if (returnValue == wxID_CANCEL) {
virtual std::string icon() const
static wxString toWxString(const std::string &source)
static const std::string CONFIGURATION_NAME
Configuration file top-level element name.
bool isSimulationStopped() const
SimulatorFrontend * simulator_
void input(std::string command)
static TCEString userConfPath(const std::string &fileName)
#define assert(condition)
virtual ProximQuitCmd * create() const
void setDestinationFile(const std::string &fileName)
std::string errorMessage() const
bool isSimulationRunning() const
static MachInfoCmdLineOptions options
static const std::string SCL_QUIT
Command for quiting the simulation.
void writeOptions(const GUIOptions &options)
wxWindow * parentWindow() const