com.x2e
Class ProgramAPI

java.lang.Object
  extended by com.x2e.ProgramAPI

public class ProgramAPI
extends java.lang.Object

Helper class to get an instance of IRemoteProgramController. It is used to have a shorter JavaScript syntax than to use ProgramControllerFactory


Constructor Summary
ProgramAPI()
           
 
Method Summary
static IRemoteProgramController getController(IRemoteEclipseConnection conn)
          Use this method to get an instance of the IRemoteProgramController interface for the specified connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramAPI

public ProgramAPI()
Method Detail

getController

public static IRemoteProgramController getController(IRemoteEclipseConnection conn)
                                              throws RemoteEclipseAPIException
Use this method to get an instance of the IRemoteProgramController interface for the specified connection

Parameters:
conn - connection
Returns:
program controller
Throws:
RemoteEclipseAPIException