Package org.eclipse.remote.ui
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested classes/interfaces inherited from interface org.eclipse.remote.core.IRemoteConnectionType.Service
IRemoteConnectionType.Service.Factory -
Field Summary
Fields inherited from interface org.eclipse.remote.ui.IRemoteUIConnectionService
NEW_CONNECTION_COMMAND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.viewers.ILabelProviderReturn the label provider that provides the text and base image for the connection type and connections of that type.voidopenConnectionWithProgress(org.eclipse.swt.widgets.Shell shell, org.eclipse.jface.operation.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, waitMethods inherited from interface org.eclipse.remote.core.IRemoteConnectionType.Service
getConnectionTypeMethods inherited from interface org.eclipse.remote.ui.IRemoteUIConnectionService
getConnectionWizard
-
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:IRemoteUIConnectionServiceAttempt 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:
openConnectionWithProgressin interfaceIRemoteUIConnectionService- Parameters:
shell- shell used to display dialogscontext- 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:IRemoteUIConnectionServiceReturn the label provider that provides the text and base image for the connection type and connections of that type.- Specified by:
getLabelProviderin interfaceIRemoteUIConnectionService- Returns:
- label provider
-