1 33 34 package edu.rice.cs.drjava.model.repl; 35 36 import java.io.File ; 37 import java.io.IOException ; 38 39 42 public interface InteractionsModelCallback { 43 44 47 public int getDebugPort() throws IOException ; 48 49 52 public void replSystemOutPrint(String s); 53 54 57 public String getConsoleInput(); 58 59 64 public void setInputListener(InputListener listener); 65 66 72 public void changeInputListener(InputListener oldListener, InputListener newListener); 73 74 77 public void replSystemErrPrint(String s); 78 79 83 public void replReturnedVoid(); 84 85 94 public void replReturnedResult(String result, String style); 95 96 101 public void replThrewException(String exceptionClass, String message, String stackTrace, String specialMessage); 102 103 110 public void replReturnedSyntaxError(String errorMessage, String interaction, int startRow, int startCol, 111 int endRow, int endCol); 112 113 116 public void replCalledSystemExit(int status); 117 118 122 public void interpreterResetFailed(Throwable th); 123 124 125 public void interpreterResetting(); 126 127 128 public void interpreterReady(File wd); 129 130 131 public void slaveJVMUsed(); 132 } | Popular Tags |