InitGUI

trait InitGUI

Interface that describes the init user interface for the simulation (JVM).

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def config(): Task[FilePath]

This task allows the caller to obtain the path of the configuration file for the simulation. Useful for it.unibo.pps.boundary.BoundaryModule.ConfigBoundary.config.

This task allows the caller to obtain the path of the configuration file for the simulation. Useful for it.unibo.pps.boundary.BoundaryModule.ConfigBoundary.config.

Returns:

the task

def error(errors: Seq[ConfigurationError]): Task[Unit]

This task allows the caller to show an error in the configuration. Useful for it.unibo.pps.boundary.BoundaryModule.ConfigBoundary.error.

This task allows the caller to show an error in the configuration. Useful for it.unibo.pps.boundary.BoundaryModule.ConfigBoundary.error.

Value parameters:
errors

the errors in the configuration

Returns:

the task

def init(): Task[Unit]

Initialize the gui.

Initialize the gui.

Returns:

the task

def start(simulation: SimulationGUI): Task[Unit]

Handle the start of the simulation.

Handle the start of the simulation.

Value parameters:
simulation

the simulation user interface to launch

Returns:

the task