java.lang.Object
com.wyu4.snowberryjam.gui.framework.Interactor

public class Interactor extends Object
The interactor of the MVCI framework.
  • Field Details

    • logger

      private static final org.slf4j.Logger logger
    • fileFilter

      private static final javafx.stage.FileChooser.ExtensionFilter fileFilter
    • model

      private final Model model
    • stage

      private final javafx.stage.Stage stage
  • Constructor Details

    • Interactor

      public Interactor(Model model, javafx.stage.Stage stage)
      Create a new Interactor
      Parameters:
      model - The Model of the MVCI framework
      stage - The primary Stage of the window
  • Method Details

    • createOpenFileTask

      public Runnable createOpenFileTask()
    • createSetFileTask

      public Runnable createSetFileTask(File file)
    • createSaveFileTask

      public Runnable createSaveFileTask()
    • createSaveFileTask

      public Runnable createSaveFileTask(File file)
    • createSaveAsFileTask

      public Runnable createSaveAsFileTask()
    • createNewProjectTask

      public Runnable createNewProjectTask()
    • createCompileTask

      public Runnable createCompileTask()
    • createCompileTask

      public Runnable createCompileTask(Runnable callback)
    • createRunTask

      public Runnable createRunTask()
    • createStopTask

      public Runnable createStopTask()
    • createFormatCodeTask

      public Runnable createFormatCodeTask()