com.x2e
Class ComponentAPI

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

public class ComponentAPI
extends java.lang.Object

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


Constructor Summary
ComponentAPI()
           
 
Method Summary
static IRemotePropertyBroker getPropertyBroker(IRemoteEclipseConnection conn)
          Use this method to get an instance of the IRemotePropertyBroker interface for the specified connection
static IRemoteSWTHelper getSWTHelper(IRemoteEclipseConnection conn)
          Use this method to get an instance of the IRemoteSWTHelper interface for the specified connection
static IRemoteComponentTools getTools(IRemoteEclipseConnection conn)
          Use this method to get an instance of the IRemoteComponentTools 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

ComponentAPI

public ComponentAPI()
Method Detail

getTools

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

Parameters:
conn - connection
Returns:
component tools
Throws:
RemoteEclipseAPIException

getSWTHelper

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

Parameters:
conn - connection
Returns:
swthelper
Throws:
RemoteEclipseAPIException

getPropertyBroker

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

Parameters:
conn - connection
Returns:
property broker wrapper
Throws:
RemoteEclipseAPIException