posted 12 years ago
I had several number crunching classes that I"m trying to hook together in a multi-thread application. I'm implementing the model/view/controller framework, but have a question about a how to handle user input. Currently, the app window displays information from the different Views in tabbed panels. This is fine for showing output through the view classes. But, how to handle input to the model classes.
The view interface is
The Model interface is
It seems that the only way the View can communicate back to the Model is by passing a Model as an argument during construction.
Any other suggestions/recommendations?