Class AbstractRemoteUIConnectionService

java.lang.Object
org.eclipse.remote.ui.AbstractRemoteUIConnectionService
All Implemented Interfaces:
IRemoteConnectionType.Service, IRemoteUIConnectionService

public abstract class AbstractRemoteUIConnectionService extends Object implements IRemoteUIConnectionService
Abstract base class for providing UI connection manager services.
Since:
2.0
  • Constructor Details

    • AbstractRemoteUIConnectionService

      public AbstractRemoteUIConnectionService()
  • Method Details

    • openConnectionWithProgress

      public void openConnectionWithProgress(org.eclipse.swt.widgets.Shell shell, org.eclipse.jface.operation.IRunnableContext context, IRemoteConnection connection)
      Description copied from interface: IRemoteUIConnectionService
      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 IRemoteUIConnectionService
      Parameters:
      shell - shell used to display dialogs
      context - runnable context for displaying progress indicator. Can be null.
      connection - connection to open
    • getLabelProvider

      public org.eclipse.jface.viewers.ILabelProvider getLabelProvider()
      Description copied from interface: IRemoteUIConnectionService
      Return the label provider that provides the text and base image for the connection type and connections of that type.
      Specified by:
      getLabelProvider in interface IRemoteUIConnectionService
      Returns:
      label provider