Class SimulationHandler

java.lang.Object
fr.ifremer.isisfish.ui.SimulationHandler

public class SimulationHandler extends Object
Common action for all handler.
Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
  • Field Details

  • Constructor Details

    • SimulationHandler

      public SimulationHandler(SimulationUI simulationUI)
  • Method Details

    • getParameters

      protected SimulationParameter getParameters()
    • afterInit

      public void afterInit()
    • importSimulation

      public void importSimulation()
      Open user dialog to selected a parameter file. Reload it, and call SimulationUI.refresh().
    • saveSimulation

      public void saveSimulation()
      Save current parameter in user selected parameter output file.
    • importSimulation

      protected void importSimulation(File f)
      Load simulation parameter file.
      Parameters:
      f - TODO public just for sensitivity
    • saveSimulation

      protected void saveSimulation(File f)
      Save current simulation to given file.
      Parameters:
      f - file to save simulation to
    • prepareSimulation

      public void prepareSimulation()
      Open user dialog to selected a ZIP file.