mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
33 lines
792 B
C++
33 lines
792 B
C++
#include "graph_controller.h"
|
|
|
|
namespace Regression {
|
|
|
|
GraphController::GraphController(Responder * parentResponder, HeaderViewController * headerViewController, Data * data) :
|
|
CurveViewWindowWithBannerAndCursorController(parentResponder, headerViewController, data, &m_view),
|
|
m_view(GraphView(data)),
|
|
m_data(data),
|
|
m_initialisationParameterController(InitialisationParameterController(this, m_data))
|
|
{
|
|
}
|
|
|
|
ViewController * GraphController::initialisationParameterController() {
|
|
return &m_initialisationParameterController;
|
|
}
|
|
|
|
bool GraphController::isEmpty() {
|
|
if (m_data->numberOfPairs() == 0) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
const char * GraphController::emptyMessage() {
|
|
return "Aucune donnee a tracer";
|
|
}
|
|
|
|
bool GraphController::handleEnter() {
|
|
return false;
|
|
}
|
|
|
|
}
|