org.rosuda.REngine
Interface REngineUIInterface


public interface REngineUIInterface

interface defining delegate methods used by REngine to forward user interface callbacks from R.


Method Summary
 void RBusyState(REngine eng, int state)
          called when the busy state of R changes - usual response is to change the shape of the cursor
 java.lang.String RChooseFile(REngine eng, boolean newFile)
          called when R wants the user to choose a file.
 

Method Detail

RBusyState

void RBusyState(REngine eng,
                int state)
called when the busy state of R changes - usual response is to change the shape of the cursor

Parameters:
eng - calling engine
state - busy state of R (0 = not busy)

RChooseFile

java.lang.String RChooseFile(REngine eng,
                             boolean newFile)
called when R wants the user to choose a file.

Parameters:
eng - calling engine
newFile - if true then the user can specify a non-existing file to be created, otherwise an existing file must be selected.
Returns:
full path and name of the selected file or null if the selection was cancelled.