PTP
Release 7.0

org.eclipse.ptp.remote.ui
Class AbstractRemoteUIConnectionManager

java.lang.Object
  extended by org.eclipse.ptp.remote.ui.AbstractRemoteUIConnectionManager
All Implemented Interfaces:
IRemoteUIConnectionManager

public abstract class AbstractRemoteUIConnectionManager
extends java.lang.Object
implements IRemoteUIConnectionManager

Abstract base class for providing UI connection manager services.

Since:
7.0

Field Summary
 
Fields inherited from interface org.eclipse.ptp.remote.ui.IRemoteUIConnectionManager
CONNECTION_ADDRESS_HINT, CONNECTION_PORT_HINT, CONNECTION_TIMEOUT_HINT, LOGIN_USERNAME_HINT
 
Constructor Summary
AbstractRemoteUIConnectionManager()
           
 
Method Summary
 void openConnectionWithProgress(Shell shell, IRunnableContext context, IRemoteConnection connection)
          Attempt to open a connection using a progress monitor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ptp.remote.ui.IRemoteUIConnectionManager
newConnection, newConnection, updateConnection
 

Constructor Detail

AbstractRemoteUIConnectionManager

public AbstractRemoteUIConnectionManager()
Method Detail

openConnectionWithProgress

public void openConnectionWithProgress(Shell shell,
                                       IRunnableContext context,
                                       IRemoteConnection connection)
Description copied from interface: IRemoteUIConnectionManager
Attempt to open a connection using a progress monitor. Can be called on either open or closed connections, and will initialize the remote services if necessary. Users should check connection.isOpen() on return to determine if the connection was actually opened.

Specified by:
openConnectionWithProgress in interface IRemoteUIConnectionManager
Parameters:
shell - shell used to display dialogs
context - runnable context for displaying progress indicator. Can be null.
connection - connection to open

PTP
Release 7.0

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