PTP
Release 7.0

org.eclipse.ptp.remote.ui
Class RemoteUIServices

java.lang.Object
  extended by org.eclipse.ptp.remote.ui.RemoteUIServices

public class RemoteUIServices
extends java.lang.Object

Main entry point for accessing remote UI services.

Since:
7.0

Constructor Summary
RemoteUIServices()
           
 
Method Summary
static IRemoteServices getRemoteServices(java.lang.String id, org.eclipse.jface.operation.IRunnableContext context)
          Look up a remote service provider and ensure it is initialized.
static IRemoteUIServices getRemoteUIServices(IRemoteServices services)
          Helper method to find UI services that correspond to a particular remote services implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteUIServices

public RemoteUIServices()
Method Detail

getRemoteServices

public static IRemoteServices getRemoteServices(java.lang.String id,
                                                org.eclipse.jface.operation.IRunnableContext context)
Look up a remote service provider and ensure it is initialized. The method will use the supplied container's progress service, or, if null, the platform progress service, in order to allow the initialization to be canceled.

Parameters:
id - id of service to locate
context - context with progress service, or null to use the platform progress service
Returns:
remote service or null if the service can't be located or the progress monitor was canceled
Since:
5.0

getRemoteUIServices

public static IRemoteUIServices getRemoteUIServices(IRemoteServices services)
Helper method to find UI services that correspond to a particular remote services implementation

Parameters:
services -
Returns:
remote UI services

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.