Source

lqpl / GUI / src / dialogs / simulate_results / simulate_results_controller.rb

class SimulateResultsController < ApplicationController
  set_model 'SimulateResultsModel'
  set_view 'SimulateResultsView'
  set_close_action :dispose

  def set_simulate_data(xml_data,stack_translation)
    model.stack_translation = stack_translation
    model.simulate_results= xml_data
    update_view
  end

  def get_simulate_data
    model.simulate_results_text
  end

  def set_simulate_results(recursion_depth, stack_translation)
    set_simulate_data(lqpl_emulator_server_connection.get_simulate_results(recursion_depth), stack_translation)
  end
end