Class AbstractRemoteUIConnectionService

    • Constructor Detail

      • AbstractRemoteUIConnectionService

        public AbstractRemoteUIConnectionService()
    • Method Detail

      • 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