-GraphStore   = require('./graph-store').store
-Simulation   = require "../models/simulation"
-CodapConnect = require '../models/codap-connect'
-TimeUnits    = require '../utils/time-units'
-tr           = require '../utils/translate'
+GraphStore         = require('./graph-store').store
+AppSettingsActions = require('./app-settings-store').actions
+Simulation         = require "../models/simulation"
+CodapConnect       = require '../models/codap-connect'
+TimeUnits          = require '../utils/time-units'
+tr                 = require '../utils/translate'
 
 SimulationActions = Reflux.createActions(
   [

)

SimulationStore   = Reflux.createStore
  listenables: [SimulationActions]

  init: ->
    defaultUnit = TimeUnits.defaultUnit

      stepUnitsName: unitName
      timeUnitOptions: options
    @codapConnect = CodapConnect.instance 'building-models'

  # From AppSettingsStore actions
  onDiagramOnly: ->
    SimulationActions.collapseSimulationPanel()


  onExpandSimulationPanel: ->
