I would like to discuss how the MVC pattern is currently implemented @riesentoaster. I'm more of a fan of the "fat controller" approach, where the view doesn't know the model directly. See below:
Right now, the TraceFileController is rather a static helper class. But I haven't changed anything yet, since I wanted to hear your opinion first. That's why I have just put everything into the CreateTraceFilePanel class for now.
The YamlToTraceFileConverter has two static public methods:
toInitTraceFile
Converts yaml code to an init trace file (converting hooks, entry state memory, entry state registers).
toTraceFile
Converts yaml code to a trace file including leave (converting hooks, entry state memory, entry state registers, leave state memory, leave state registers)
Closes #5
I would like to discuss how the MVC pattern is currently implemented @riesentoaster. I'm more of a fan of the "fat controller" approach, where the view doesn't know the model directly. See below:
Right now, the TraceFileController is rather a static helper class. But I haven't changed anything yet, since I wanted to hear your opinion first. That's why I have just put everything into the CreateTraceFilePanel class for now.