LoadCommand

controller.base.command.LoadCommand
class LoadCommand(controller: BaseController, fileIo: FileIo) extends MementoCommand

Attributes

Graph
Supertypes
trait Command
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def execute(): Unit

Executes the command, containing business logic.

Executes the command, containing business logic.

Attributes

Definition Classes

Inherited methods

override def doStep(): Unit

Executes the command.

Executes the command.

Attributes

Definition Classes
Inherited from:
MementoCommand
override def redoStep(): Unit

Redoes the command.

Redoes the command.

Attributes

Definition Classes
Inherited from:
MementoCommand
override def undoStep(): Unit

Undoes the command.

Undoes the command.

Attributes

Definition Classes
Inherited from:
MementoCommand

Inherited fields

The current status used for undo and redo. Not private to allow for easier testing.

The current status used for undo and redo. Not private to allow for easier testing.

Attributes

Inherited from:
MementoCommand