]> gerrit.simantics Code Review - simantics/r.git/blob - org.simantics.r.scl/src/org/rosuda/REngine/REngineOutputInterface.java
(refs #6833) Test RExp inheritance in SCL
[simantics/r.git] / org.simantics.r.scl / src / org / rosuda / REngine / REngineOutputInterface.java
1 package org.rosuda.REngine;
2
3 /** interface defining delegate methods used by {@link REngine} to forward output callbacks from R. */
4 public interface REngineOutputInterface {
5         /** called when R prints output to the console.
6          *  @param eng calling engine
7          *  @param text text to display in the console
8          *  @param oType output type (0=regular, 1=error/warning)
9          */
10         public void RWriteConsole(REngine eng, String text, int oType);
11         
12         /** called when R wants to show a warning/error message box (not console-related).
13          *  @param eng calling engine
14          *  @param text text to display in the message
15          */
16         public void RShowMessage(REngine eng, String text);
17         
18         /** called by R to flush (display) any pending console output.
19          *  @param eng calling engine */
20         public void RFlushConsole(REngine eng);
21 }